Re: Tomcat Native: APR Http Endpoint handler behavior under Windows

2009-04-28 Thread Mladen Turk
Remy Maucherat wrote: Why is poller performance bad in Windows? Is that a consequence of the I've been told it uses select, which works only on 64 sockets at a time. So if you have a large poller, then the poll call performance degrades. Mladen is really the only one who can answer Windows qu

Re: Tomcat Native: APR Http Endpoint handler behavior under Windows

2009-04-28 Thread mctozzy
Why is poller performance bad in Windows? Is that a consequence of the I've been told it uses select, which works only on 64 sockets at a time. So if you have a large poller, then the poll call performance degrades. Mladen is really the only one who can answer Windows questions. (personal

Re: Tomcat Native: APR Http Endpoint handler behavior under Windows

2009-04-28 Thread Remy Maucherat
On Wed, 2009-04-29 at 08:50 +1000, mcto...@gmail.com wrote: > A few followups on this. It's only now that I have realised that the > the tomcat apr handler in JBoss is subtly different from the one in > Tomcatie that whole piece of tomcat has been forked into JBossWeb, > and they're startin

Re: Tomcat Native: APR Http Endpoint handler behavior under Windows

2009-04-28 Thread mctozzy
A few followups on this. It's only now that I have realised that the the tomcat apr handler in JBoss is subtly different from the one in Tomcatie that whole piece of tomcat has been forked into JBossWeb, and they're starting to diverge. Be that as it may, my comments cover the current des

DO NOT REPLY [Bug 47109] Upgrade to mod_jk 1.2.28 with Apache 2.0.46 works until load balanced

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47109 --- Comment #2 from Chris 2009-04-28 12:02:58 PST --- Sorry this turned out to be a configuration issue. I am running Virtual servers and JkMounts as of some version of mod_jk since 1.2.14 are no longer inherited in vertual servers unl

DO NOT REPLY [Bug 47111] do caching the resources like the docu say it (StringManager)

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47111 Rainer Jung changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

DO NOT REPLY [Bug 46933] Using Java 1.5 in StringManager

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46933 Jens Kapitza changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

DO NOT REPLY [Bug 47111] do caching the resources like the docu say it (StringManager)

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47111 Jens Kapitza changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 47111] New: do caching the resources like the docu say it (StringManager)

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47111 Summary: do caching the resources like the docu say it (StringManager) Product: Tomcat 6 Version: unspecified Platform: PC OS/Version: Linux Status: NEW

Re: Tomcat Native: APR Http Endpoint handler behavior under Windows

2009-04-28 Thread Remy Maucherat
On Wed, 2009-04-29 at 00:42 +1000, mcto...@gmail.com wrote: > In a nutshell, we discovered that under Windows, the maximum size of the I think with Windows, APR will have scalability problems sooner or later, as poller performance is bad on that platform (the code has a hack to use many pollers a

svn commit: r769429 - /tomcat/current/tc5.5.x/STATUS.txt

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 15:05:08 2009 New Revision: 769429 URL: http://svn.apache.org/viewvc?rev=769429&view=rev Log: Patch applied Modified: tomcat/current/tc5.5.x/STATUS.txt Modified: tomcat/current/tc5.5.x/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.

svn commit: r769428 - in /tomcat/container/tc5.5.x: modules/cluster/src/share/org/apache/catalina/cluster/session/JvmRouteBinderValve.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 15:04:48 2009 New Revision: 769428 URL: http://svn.apache.org/viewvc?rev=769428&view=rev Log: Backport: Handle session suffix rewrite at JvmRouteBinderValve with parallel requests from same client (pero) Modified: tomcat/container/tc5.5.x/modules/cluster/src/s

Tomcat Native: APR Http Endpoint handler behavior under Windows

2009-04-28 Thread mctozzy
Hi all. We've been doing some rather extreme JBoss/Tomcat stress-testing on both Windows and Linux, APR and non-APR. We played with maxThreads and acceptCount and tried to make sense of the various behaviors that we saw. In a nutshell, we discovered that under Windows, the maximum size of the

DO NOT REPLY [Bug 37929] invalidated session causes pageContext methods to fail

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=37929 Mark Thomas changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

DO NOT REPLY [Bug 37929] invalidated session causes pageContext methods to fail

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=37929 --- Comment #9 from Mark Thomas 2009-04-28 06:45:54 PST --- This has been fixed in 6.0.x and will be included in 6.0.20 onwards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receivi

svn commit: r769403 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt bin/Tomcat6.launch java/org/apache/jasper/runtime/PageContextImpl.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 13:45:50 2009 New Revision: 769403 URL: http://svn.apache.org/viewvc?rev=769403&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=37929 Invalidated session causes pageContext methods to fail Removed: tomcat/tc6.0.x/trunk/bin/Tomcat6.launch Mod

DO NOT REPLY [Bug 42579] [Patch] JNDIRealm fails to parse absolute names

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42579 --- Comment #3 from Mark Thomas 2009-04-28 06:42:12 PST --- This has been fixed in 6.0.x and will be included in 6.0.20 onwards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receivi

svn commit: r769402 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/catalina/realm/JNDIRealm.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 13:42:08 2009 New Revision: 769402 URL: http://svn.apache.org/viewvc?rev=769402&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42579 Handle both relative and absolute search results Patch provided by Brandon DuRette Modified: tomcat/tc6.0.x

DO NOT REPLY [Bug 46354] LIMIT_BUFFER setting causes arraycopy errors

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46354 --- Comment #8 from Mark Thomas 2009-04-28 06:32:43 PST --- This has been fixed in 6.0.x and will be included in 6.0.20 onwards. Thanks again for the patch. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=e

svn commit: r769392 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/jasper/runtime/BodyContentImpl.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 13:32:02 2009 New Revision: 769392 URL: http://svn.apache.org/viewvc?rev=769392&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46354 ArrayIndexOutOfBoundsException when using org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true Pathc pro

DO NOT REPLY [Bug 46562] Reader not closed

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46562 --- Comment #9 from Mark Thomas 2009-04-28 06:27:03 PST --- This has been fixed in 6.0.x and will be in 6.0.20 onwards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this m

svn commit: r769388 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/catalina/ssi/SSIServlet.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 13:26:54 2009 New Revision: 769388 URL: http://svn.apache.org/viewvc?rev=769388&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46562 Close the reader in the SSI servlet when we are done Modified: tomcat/tc6.0.x/trunk/ (props changed)

DO NOT REPLY [Bug 46991] "Bytes received " problem

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46991 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

svn commit: r769387 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/jk/server/JkCoyoteHandler.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 13:23:32 2009 New Revision: 769387 URL: http://svn.apache.org/viewvc?rev=769387&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46991 Update counters before request is re-cycled Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc

DO NOT REPLY [Bug 46958] manager XML interface hard-coded path in XSL transformation

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46958 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

svn commit: r769385 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/catalina/manager/Constants.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 13:18:51 2009 New Revision: 769385 URL: http://svn.apache.org/viewvc?rev=769385&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46958 Allow xml manager status to work irrespective of context path Modified: tomcat/tc6.0.x/trunk/ (props chan

DO NOT REPLY [Bug 46933] Using Java 1.5 in StringManager

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46933 --- Comment #6 from Mark Thomas 2009-04-28 06:14:54 PST --- This has been fixed in 6.0.x and will be in 6.0.20 onwards. This issue can be marked as fixed once the second patch is moved to a new bugzilla entry. -- Configure bugmail: h

svn commit: r769384 - in /tomcat/tc6.0.x/trunk: ./ java/org/apache/tomcat/util/res/ test/org/apache/tomcat/ test/org/apache/tomcat/util/ test/org/apache/tomcat/util/res/ webapps/docs/

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 13:14:14 2009 New Revision: 769384 URL: http://svn.apache.org/viewvc?rev=769384&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46933 Simplify StringManager using Java 5. Includes test case Based on a patch by Jens Kapitza Added: tomcat/tc6.

DO NOT REPLY [Bug 46933] Using Java 1.5 in StringManager

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46933 --- Comment #5 from Mark Thomas 2009-04-28 05:00:41 PST --- Can you create a new bugzilla issue for your second patch please. We try and keep each bugzilla entry to s single problem. Cheers. -- Configure bugmail: https://issues.apach

DO NOT REPLY [Bug 46982] AccessLogValve reports correct time but incorrect offset following Spring DST transition.

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46982 Mark Thomas changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

DO NOT REPLY [Bug 46982] AccessLogValve reports correct time but incorrect offset following Spring DST transition.

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46982 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

svn commit: r769349 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/catalina/valves/AccessLogValve.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 11:54:10 2009 New Revision: 769349 URL: http://svn.apache.org/viewvc?rev=769349&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46982 Correct report DST offset in access logs Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6.0

svn commit: r769347 - /tomcat/trunk/java/org/apache/catalina/valves/FastCommonAccessLogValve.java

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 11:51:47 2009 New Revision: 769347 URL: http://svn.apache.org/viewvc?rev=769347&view=rev Log: Delete deprecated class. Removed: tomcat/trunk/java/org/apache/catalina/valves/FastCommonAccessLogValve.java -

svn commit: r769345 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt build.xml webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 11:45:12 2009 New Revision: 769345 URL: http://svn.apache.org/viewvc?rev=769345&view=rev Log: Enable running Tomcat from the build directory on linux Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6.0.x/trunk/STATUS.txt tomcat/tc6.0.x/trunk/b

svn commit: r769343 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt dist.xml webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 11:41:32 2009 New Revision: 769343 URL: http://svn.apache.org/viewvc?rev=769343&view=rev Log: Fix corruption of .pdf and .exe in .tar.gz src distro Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6.0.x/trunk/STATUS.txt tomcat/tc6.0.x/trunk/dis

svn commit: r769341 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt build.properties.default webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 11:36:40 2009 New Revision: 769341 URL: http://svn.apache.org/viewvc?rev=769341&view=rev Log: Update tc-native to 1.1.16 Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6.0.x/trunk/STATUS.txt tomcat/tc6.0.x/trunk/build.properties.default t

svn commit: r769338 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/catalina/servlets/WebdavServlet.java java/org/apache/naming/resources/FileDirContext.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 11:25:01 2009 New Revision: 769338 URL: http://svn.apache.org/viewvc?rev=769338&view=rev Log: Fix some failures when testing WebDAV with litmus test suite Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6.0.x/trunk/STATUS.txt tomcat/tc6.0.x/tr

DO NOT REPLY [Bug 41606] The jspInit method is called twice.

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=41606 --- Comment #5 from Mark Thomas 2009-04-28 04:22:43 PST --- This has been fixed in 6.0.x and will be included in 6.0.20 onwards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receivi

svn commit: r769337 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/jasper/compiler/Compiler.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 11:21:44 2009 New Revision: 769337 URL: http://svn.apache.org/viewvc?rev=769337&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41606 Prevent double init() of JSP Patch provided by Chris Halstead Modified: tomcat/tc6.0.x/trunk/ (props chan

DO NOT REPLY [Bug 46915] Unable to get ResourceBundle keys in Tomcat 6

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46915 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

svn commit: r769336 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/javax/el/ResourceBundleELResolver.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 11:16:00 2009 New Revision: 769336 URL: http://svn.apache.org/viewvc?rev=769336&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46915 When resolving ResourceBundle properties, don't claim to have resolved the property unless we really have resol

svn commit: r769331 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/catalina/core/StandardContext.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 11:03:22 2009 New Revision: 769331 URL: http://svn.apache.org/viewvc?rev=769331&view=rev Log: Fix 46822. Remove unnecessary object creation from StandardContext. Patch provided by Anthony Whitford. Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6

DO NOT REPLY [Bug 46822] Avoid redundant instantiations in StandardContext

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46822 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 46875] CometConnectionManagerValve: concurrent access on session object when calling HttpSession.invalidate()

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46875 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

svn commit: r769328 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/valves/CometConnectionManagerValve.java webapps/docs/changelog.xml

2009-04-28 Thread markt
Author: markt Date: Tue Apr 28 10:39:24 2009 New Revision: 769328 URL: http://svn.apache.org/viewvc?rev=769328&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46875 Catch possible ISE as a result of session expiration in comet valve Modified: tomcat/tc6.0.x/trunk/STATUS.t

DO NOT REPLY [Bug 47109] Upgrade to mod_jk 1.2.28 with Apache 2.0.46 works until load balanced

2009-04-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47109 Rainer Jung changed: What|Removed |Added Status|NEW |RESOLVED Resolution|