DO NOT REPLY [Bug 40812] - change antiJARLocking to work on webapp-dir, but don't delete it when redeploying

2006-10-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40812. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Author: fhanik Date: Wed Oct 25 15:11:10 2006 New Revision: 467787 URL: http://svn.apache.org/viewvc?view=revrev=467787 Log: Documented socket properties Added in the ability to cache bytebuffers based on number of channels or number of bytes Added in nonGC poller

Re: Source for Packages org.apache.tomcat.dbcp and below?

2006-10-26 Thread Remy Maucherat
Fernando Nasser wrote: And we have the same problem on JPackage, and as consequence on Red Hat, Fedora, Suse, Mandriva I wonder if the magic could not be done by having the original commons-dhcp JAR as input and doing some manipulation on it to move the classes to the desired package at

Re: [TC6] Double AJP connector implementation

2006-10-26 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: I don't have any preference either way, since we are pretty few active folks at the moment, the less code is usually better My plan was not to do that (org.apache.jk is not that huge) and keep people happy. Rémy

Re: Source for Packages org.apache.tomcat.dbcp and below?

2006-10-26 Thread Marcus Better
Remy Maucherat wrote: Normally, it's difficult to do. You can easily patch Tomcat to have it use the regular commons-dbcp by default (it's a constant), but it will have the usual drawbacks (you will expose a bunch of JARs to webapps). Excuse my ignorance, but why is this a problem? Marcus

Re: [build]fail message

2006-10-26 Thread Yoav Shapira
Hi, On 10/24/06, Sean Qiu [EMAIL PROTECTED] wrote: I have also tried the ant test. It seems that it is based unit test. I don't use ant test and have no time to delve into what it is. Use the tester version. I find there are only three testing classes and a few testcases. The tester

Re: svn commit: r465417 - in /tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11: Http11NioProcessor.java InternalNioInputBuffer.java

2006-10-26 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: I get occasional phantom slow downs with APR as well, not sure where they come from, I might dig into this after Let me know if you find something. Rémy - To unsubscribe, e-mail: [EMAIL

Testing Tomcat 6.0.0 alpha

2006-10-26 Thread Remy Maucherat
Hi, It would be good to test the build, and I'll post a stability vote for it next week (capped at beta, since some - very minor - test failures would need to be addressed first). I've updated the website at people.apache.org, but it's not updated correctly and the download page does not

svn commit: r467989 - in /tomcat/tc6.0.x/trunk/java: javax/servlet/ServletException.java org/apache/catalina/core/StandardWrapper.java org/apache/catalina/valves/ErrorReportValve.java

2006-10-26 Thread remm
Author: remm Date: Thu Oct 26 06:08:58 2006 New Revision: 467989 URL: http://svn.apache.org/viewvc?view=revrev=467989 Log: - Refactor exception reporting using Throwable.getCause, since TC 6 does not have the restrictions for modifications to the API implementation classes. -

Re: Testing Tomcat 6.0.0 alpha

2006-10-26 Thread Yoav Shapira
Hi, On 10/26/06, Remy Maucherat [EMAIL PROTECTED] wrote: The d/l location will be: http://tomcat.apache.org/download-60.cgi The build itself has been mirrored correctly. Cool. Question: I don't remember where the Maven repository I should upload the build to is. Does someone know ? It's

Re: svn commit: r467989 - in /tomcat/tc6.0.x/trunk/java: javax/servlet/ServletException.java org/apache/catalina/core/StandardWrapper.java org/apache/catalina/valves/ErrorReportValve.java

2006-10-26 Thread Tim Funk
Adding this to both loops may be helpful too: if (rootCause == rootCause.getCause()) { break; } -Tim [EMAIL PROTECTED] wrote: Author: remm Date: Thu Oct 26 06:08:58 2006 New Revision: 467989 URL: http://svn.apache.org/viewvc?view=revrev=467989 Log: - Refactor exception reporting using

svn commit: r467995 - /tomcat/tc6.0.x/trunk/java/javax/servlet/ServletException.java

2006-10-26 Thread remm
Author: remm Date: Thu Oct 26 06:24:22 2006 New Revision: 467995 URL: http://svn.apache.org/viewvc?view=revrev=467995 Log: - Also use the parent constructor here. Modified: tomcat/tc6.0.x/trunk/java/javax/servlet/ServletException.java Modified:

Re: svn commit: r467989 - in /tomcat/tc6.0.x/trunk/java: javax/servlet/ServletException.java org/apache/catalina/core/StandardWrapper.java org/apache/catalina/valves/ErrorReportValve.java

2006-10-26 Thread Remy Maucherat
Tim Funk wrote: Adding this to both loops may be helpful too: if (rootCause == rootCause.getCause()) { break; } Throwable.getCause does return null in that case, so the loop should get out: public Throwable getCause() { return (cause==this ? null : cause); } Rémy

Re: Testing Tomcat 6.0.0 alpha

2006-10-26 Thread Remy Maucherat
Yoav Shapira wrote: It's on people.apache.org, but I think it might still be hosed. The upload directions are at: http://www.apache.org/dev/release-publishing.html#maven-repo Once we have a formal release (i.e. voted / approved by the PMC), we can also upload to ibiblio, aka the Maven Central

Re: svn commit: r467989 - in /tomcat/tc6.0.x/trunk/java: javax/servlet/ServletException.java org/apache/catalina/core/StandardWrapper.java org/apache/catalina/valves/ErrorReportValve.java

2006-10-26 Thread Tim Funk
Its specifically to address bad user code. For example: http://issues.apache.org/bugzilla/show_bug.cgi?id=39088 Its the case where ServletException.getCause() returns something an instance of user's custom Throwable .. then the user's custom Throwable returns itself as the root cause. -Tim

Re: svn commit: r467989 - in /tomcat/tc6.0.x/trunk/java: javax/servlet/ServletException.java org/apache/catalina/core/StandardWrapper.java org/apache/catalina/valves/ErrorReportValve.java

2006-10-26 Thread Remy Maucherat
Tim Funk wrote: Its specifically to address bad user code. For example: http://issues.apache.org/bugzilla/show_bug.cgi?id=39088 Its the case where ServletException.getCause() returns something an instance of user's custom Throwable .. then the user's custom Throwable returns itself as the

Re: [TC6] Double AJP connector implementation

2006-10-26 Thread Mladen Turk
Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: I don't have any preference either way, since we are pretty few active folks at the moment, the less code is usually better My plan was not to do that (org.apache.jk is not that huge) and keep people happy. Nevertheless, the Apache/IIS

DO NOT REPLY [Bug 40820] New: - Default JSP factory not initialized early enough

2006-10-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40820. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 40820] - Default JSP factory not initialized early enough

2006-10-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40820. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

Re: Testing Tomcat 6.0.0 alpha

2006-10-26 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: Yoav Shapira wrote: It's on people.apache.org, but I think it might still be hosed. The upload directions are at: http://www.apache.org/dev/release-publishing.html#maven-repo Once we have a formal release (i.e. voted / approved by the PMC), we can also upload to ibiblio,

svn commit: r468035 - in /tomcat/tc6.0.x/trunk/java/org/apache: coyote/http11/InternalNioOutputBuffer.java tomcat/util/net/NioEndpoint.java

2006-10-26 Thread fhanik
Author: fhanik Date: Thu Oct 26 08:24:24 2006 New Revision: 468035 URL: http://svn.apache.org/viewvc?view=revrev=468035 Log: Reverted the removal of the socket buffer, writing to a ByteBuffer is extremely slow, so it should only be done in chunks Modified:

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: [EMAIL PROTECTED] wrote: Author: fhanik Date: Wed Oct 25 15:11:10 2006 New Revision: 467787 URL: http://svn.apache.org/viewvc?view=revrev=467787 Log: Documented socket properties Added in the ability to cache bytebuffers based on number of channels or number of bytes

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: thanks for the feedback, I'm testing with larger files now, 100k+ and also see APR-JIO-NIO NIO has a very funny CPU telemetry graph, it fluctuates way to much, so I have to find where in the code it would do this, so there is still some work to do. I'd like to

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Rainer Jung
Hi Filip, the fluctuation reminds me of something: depending on the client behaviour connections will end up in TIME_WAIT state. Usually you run into trouble (throughput stalls) once you have around 30K of them. They will be cleaned up every now and then by the kernel (talking about the

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Filip Hanik - Dev Lists
That's some very good info, it looks like my system never does go over 30k and cleaning it up seems to be working really well. btw. do you know where I change the cleanup intervals for linux 2.6 kernel? I figured out what the problem was: Somewhere I have a lock/wait problem for example, this

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Peter Rossbach
Hi Filip and Rainer, I found the following info to reduce the TIME_WAIT at windows: === The TIME_WAIT problem is a very common one for Windows NT systems. Unlike most Unix systems, Windows NT does not have a generic setting for the TIME_WAIT interval modification. To modify

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Peter Rossbach
Hi, for other server os's I found: = For AIX: To see the current TCP_TIMEWAIT value, run the following command: /usr/sbin/no a | grep tcp_timewait To set the TCP_TIMEWAIT values to 15 seconds, run the following command: /usr/sbin/no o tcp_timewait =1 The tcp_timewait option is

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Rainer Jung
Hi Filip, that's one of the not so nice things with linux. As far as I know it's not configurable with standard linux. There exist kernel patches for this and there is an ip filter module that lets you do that, but some say that module is very bad for IP performance (and high performance would be

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Rainer Jung
Sorry: Solaris VALUE_IN_SECONDS - VALUE_IN_MILLISECONDS Rainer Jung schrieb: Hi Filip, that's one of the not so nice things with linux. As far as I know it's not configurable with standard linux. There exist kernel patches for this and there is an ip filter module that lets you do that, but

DO NOT REPLY [Bug 40822] New: - Session conflict

2006-10-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40822. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Filip Hanik - Dev Lists
Rainer Jung wrote: Concerning the one request 1 connection case: I often realized strange behaviour (unclean shutdown) of ab concerning the last request in a connection. I never analysed it though. If you can easily reproduce the one request over one connection is slow problem without high load,

Re: [TC6] Double AJP connector implementation

2006-10-26 Thread Jean-frederic Clere
Mladen Turk wrote: Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: I don't have any preference either way, since we are pretty few active folks at the moment, the less code is usually better My plan was not to do that (org.apache.jk is not that huge) and keep people happy.

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Jean-frederic Clere
Peter Rossbach wrote: Hi, for other server os's I found: = For AIX: To see the current TCP_TIMEWAIT value, run the following command: /usr/sbin/no a | grep tcp_timewait To set the TCP_TIMEWAIT values to 15 seconds, run the following command: /usr/sbin/no o tcp_timewait =1 The

DO NOT REPLY [Bug 40817] - servlet-cgi throws index out of bounds exception on certain cgi

2006-10-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40817. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 40824] New: - Tomcat doesn't honor use of an empty string () to define the default web application for a Host outside server.xml

2006-10-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40824. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Rainer Jung
Jean-frederic Clere schrieb: Peter Rossbach wrote: For Linux: Set the timeout_timewait paramater using the following command: /sbin/sysctl -w net.ipv4.vs.timeout_timewait=30 This will set TME_WAIT for 30 seconds. No... My machine (debian 2.6.13) says: +++ [EMAIL PROTECTED]:~$ sudo

svn commit: r468124 - in /tomcat/tc6.0.x/trunk/java/org/apache: coyote/http11/ tomcat/util/net/

2006-10-26 Thread fhanik
Author: fhanik Date: Thu Oct 26 13:37:40 2006 New Revision: 468124 URL: http://svn.apache.org/viewvc?view=revrev=468124 Log: Make sure the socket buffer is not bigger than anticipated header size Reuse the key attachment objects properly Modified:

svn commit: r468132 - in /tomcat/tc6.0.x/trunk/java/org/apache: coyote/http11/InternalNioInputBuffer.java coyote/http11/InternalNioOutputBuffer.java tomcat/util/net/NioSelectorPool.java tomcat/util/ne

2006-10-26 Thread fhanik
Author: fhanik Date: Thu Oct 26 13:57:28 2006 New Revision: 468132 URL: http://svn.apache.org/viewvc?view=revrev=468132 Log: Ooops, forgot to pass in the double buffered channel to the selector pool for write and read operations Modified:

DO NOT REPLY [Bug 40817] - servlet-cgi throws index out of bounds exception on certain cgi

2006-10-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=40817. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

svn commit: r468166 - /tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java

2006-10-26 Thread fhanik
Author: fhanik Date: Thu Oct 26 15:04:24 2006 New Revision: 468166 URL: http://svn.apache.org/viewvc?view=revrev=468166 Log: Cleaned up imports Modified: tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java Modified:

Re: svn commit: r467787 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net: NioChannel.java NioEndpoint.java SecureNioChannel.java SocketProperties.java

2006-10-26 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: [EMAIL PROTECTED] wrote: Author: fhanik Date: Wed Oct 25 15:11:10 2006 New Revision: 467787 URL: http://svn.apache.org/viewvc?view=revrev=467787 Log: Documented socket properties Added in the ability to cache bytebuffers based on number of channels or number of bytes

[PROPOSAL] More Non-Non blocking NIO crap

2006-10-26 Thread Filip Hanik - Dev Lists
gents, so I finally think I have a stable NIO implementation that is doing fairly well. I have an idea for a next generation of the NIO connector that I wanted to present so that you can comment and if you'd like help out with. NIO GEN 2 Current Implementation -- * Non

svn commit: r468186 - in /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler: Generator.java JspConfig.java Validator.java

2006-10-26 Thread remm
Author: remm Date: Thu Oct 26 16:19:13 2006 New Revision: 468186 URL: http://svn.apache.org/viewvc?view=revrev=468186 Log: - Some deferred expressions handling fixes. Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

Re: [PROPOSAL] More Non-Non blocking NIO crap

2006-10-26 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: gents, so I finally think I have a stable NIO implementation that is doing fairly well. I have an idea for a next generation of the NIO connector that I wanted to present so that you can comment and if you'd like help out with. NIO GEN 2 Current

svn commit: r468205 - in /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler: Generator.java Node.java

2006-10-26 Thread remm
Author: remm Date: Thu Oct 26 17:24:37 2006 New Revision: 468205 URL: http://svn.apache.org/viewvc?view=revrev=468205 Log: - Implement the JspIdConsumer feature. Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java