DO NOT REPLY [Bug 51051] New: add a option let Connector open port after all contexts initialized

2011-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51051

   Summary: add a option let Connector open port after all
contexts initialized
   Product: Tomcat 7
   Version: unspecified
  Platform: PC
Status: NEW
  Severity: major
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: zhouyanm...@gmail.com


currently,tomcat will open port first,it will block browser and waiting until
context initialized,it's reasonable.

but if I'm using many tomcats behind web server like nginx,I want to upgrade my
webapp so I need restart half of tomcats then restart the other half for high
availability, the problem is nginx will forward request to those tomcats that
haven't full started,request blocked and user need wait,it break high
availability.

maybe we need add a attribute like listeningAfterAllContextInitialized for
Connector,default value is false for compatibility,name is to be discussed.



-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 51051] add a option let Connector open port after all contexts initialized

2011-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51051

Tim Whittington  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID
 OS/Version||All

--- Comment #1 from Tim Whittington  2011-04-12 06:06:04 EDT 
---
Have a look at the bindOnInit attribute on the connectors.
If you have any questions about server startup, the users list is the best
place to ask.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: 7.0.13 release for HTTP pipelining fix

2011-04-12 Thread Jess Holle
Fortunately I'm only using Tomcat 7 in development, not production, at 
this point.


That said, this issue would be a showstopper for me moving to Tomcat 7 
for production usage.  BIO still seems like a fine option for many cases 
when using Tomcat behind mod_jk.  APR connectors are still not as proven 
as BIO ones overall -- bugs are still being shaken out.  APR is also 
just too painful when dealing with multiple platforms (building 
additional native code for 7 platforms some of which have loathsome 
linkers -- yuck!), introduces too great a likelihood of platform 
specific bugs/behaviors and will likely never be attractive to me.  NIO 
might be (once all the kinks were worked out), but there is no NIO 
implementation of the AJP connector.


--
Jess Holle

On 4/6/2011 5:02 PM, Tim Whittington wrote:

Given the severity of
https://issues.apache.org/bugzilla/show_bug.cgi?id=50957, would it be
a good idea to get a 7.0.13 release out soon?
7.0.12 mitigated the issue to a degree, but I'd feel better with a complete fix.

cheers
tim

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Tomcat Wiki] Trivial Update of "Tomcat_and_IIS_Howto" by JohnJames

2011-04-12 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "Tomcat_and_IIS_Howto" page has been changed by JohnJames.
http://wiki.apache.org/tomcat/Tomcat_and_IIS_Howto?action=diff&rev1=14&rev2=15

--

  
  IIS and Tomcat: you found also in Other links see here UsefulLinks. Little 
notice: Using the present help, I made working IIS 6.0 , Jk, Tomcat 5.0 on 
Windows2003 server... (but in link before you found works also with jk2!)
  
+ 
+ --
+ Added by JohnJames on 12 April 2011:
+ 
+ I have used the .net based [[http://tomcatiis.riaforge.org|BonCode]] JK 
connector rather than the ISAPI redirector to connect IIS6 and IIS7 to Apache 
Tomcat 6. This worked very easily. There is GUI installer in the distribution 
package that worked for me. There are also videos on how to do the setup.
+ 

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 39862] provide support for protocol-independent GenericServlet

2011-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=39862

Mark Thomas  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||WONTFIX

--- Comment #2 from Mark Thomas  2011-04-12 17:24:17 EDT ---
Users are free to implement their own connectors.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 44309] Possible overriding the security state of the connection

2011-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44309

Mark Thomas  changed:

   What|Removed |Added

   Priority|P2  |P4
 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #2 from Mark Thomas  2011-04-12 17:35:47 EDT ---
There are sufficient hooks available to provide a custom SSL implementation
without the change requested here.

I would also add that I recall no similar requests for such a feature from any
other user.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 44299] Provider manager app with a log out button

2011-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44299

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #3 from Mark Thomas  2011-04-12 17:41:17 EDT ---
If memory serves me correctly, CSRF was the driver behind this and Tomcat 7 now
has CSRF protection built in to the manager app. Given that: I was the one
requesting this; no one else has requested it; and the CSRF protection makes it
unnecessary, I am closing this as won't fix.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 44897] HttpServletRequest's .getParameter(String) method returns null for parameters with invalid URL encodings

2011-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44897

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #4 from Mark Thomas  2011-04-12 18:04:17 EDT ---
The input data is invalid therefore ignoring it and logging it seems
reasonable. I see no reason to change this, patches have been proposed and I do
not recall any other users requesting that this is changed. Therefore resolving
as won't fix.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 44047] Provide a way for Tomcat to serve up error pages when too busy

2011-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44047

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #1 from Mark Thomas  2011-04-12 18:07:57 EDT ---
The simplest way to do this would be too configure a much larger number of
processors and then limit the number of concurrent requests using a Filter or a
Valve. See the SemaphoreValve for an example.

Given that the Valve approach provides all the features requested, I do not
believe the requested enhancements should be added to Tomcat.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 46461] fail graceful on dns changes for connectors/hosts in server.xml

2011-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46461

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #2 from Mark Thomas  2011-04-12 18:12:06 EDT ---


*** This bug has been marked as a duplicate of bug 49030 ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49030] Processing of Tomcat Connector configuration can leave some connectors uninitialized

2011-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49030

Mark Thomas  changed:

   What|Removed |Added

 CC||hau...@acm.org

--- Comment #8 from Mark Thomas  2011-04-12 18:12:06 EDT ---
*** Bug 46461 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 47396] Ability to load & bind an external naming context

2011-04-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47396

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #1 from Mark Thomas  2011-04-12 18:23:43 EDT ---
I think it would be better to address the root cause of this issue, that Tomcat
was returning the same object from a JNDI lookup rather than a new one. That
issue was reported (and fixed) as bug 49994. However, that in turn caused big
problems (bug 50159) for JNDI DataSources where apps expect the same connection
pool to be used for each lookup.

Tomcat 7 has addressed this by introducing the singleton attribute for
resources. There are no plans to back-port the singleton feature to Tomcat 6
but if it is required please re-open bug 50159 and request a back-port to
Tomcat 6.

I am closing this as won't fix since it addresses the symptom rather than the
root casue.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GUMP@vmgump]: Project tomcat-trunk-validate (in module tomcat-trunk) failed

2011-04-12 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-trunk-validate has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 21 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-trunk-validate :  Tomcat 7.x, a web server implementing Java 
Servlet 3.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on checkstyle exists, no need to add for property 
checkstyle.jar.
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/gump_work/build_tomcat-trunk_tomcat-trunk-validate.html
Work Name: build_tomcat-trunk_tomcat-trunk-validate (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 sec
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-5.3-SNAPSHOT.jar
 -Dexecute.validate=true validate 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-13042011.jar:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-13042011.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-13042011.jar:/srv/gump/public/workspace/junit/dist/junit-13042011.jar:/srv/gump/public/workspace/junit/dist/junit-dep-13042011.ja
 
r:/srv/gump/public/workspace/google-guava/build/dist/guava-13042011/guava-13042011.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar
-
Buildfile: /srv/gump/public/workspace/tomcat-trunk/build.xml

download-validate:

proxyflags:

setproxy:

testexist:
 [echo] Testing  for 
/srv/gump/public/workspace/checkstyle/target/checkstyle-5.3-SNAPSHOT.jar

downloadzip:

validate:
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/res/checkstyle

BUILD FAILED
/srv/gump/public/workspace/tomcat-trunk/build.xml:429: 
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at 
org.apache.commons.beanutils.ConvertUtilsBean.(ConvertUtilsBean.java:157)
at 
com.puppycrawl.tools.checkstyle.api.AutomaticBean.createBeanUtilsBean(AutomaticBean.java:73)
at 
com.puppycrawl.tools.checkstyle.api.AutomaticBean.contextualize(AutomaticBean.java:220)
at 
com.puppycrawl.tools.checkstyle.CheckStyleTask.createChecker(CheckStyleTask.java:373)
at 
com.puppycrawl.tools.checkstyle.CheckStyleTask.realExecute(CheckStyleTask.java:300)
at 
com.puppycrawl.tools.checkstyle.CheckStyleTask.execute(CheckStyleTask.java:262)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.