svn commit: r348673 - in /tomcat/sandbox/bin: ./ jam_http11.sh jam_tomcat.sh tomcatInetd.sh

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 22:22:58 2005 New Revision: 348673 URL: http://svn.apache.org/viewcvs?rev=348673&view=rev Log: Few script files for simple tests. Using jamvm - just for fun :-) ( it actually works pretty well ) Added: tomcat/sandbox/bin/ tomcat/sandbox/bin/jam_http11.sh

svn commit: r348672 - in /tomcat/sandbox: .classpath build.xml java/org/apache/tomcat/util/net/AcceptorEndpoint.java

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 22:21:32 2005 New Revision: 348672 URL: http://svn.apache.org/viewcvs?rev=348672&view=rev Log: Few fixes and adjustments Modified: tomcat/sandbox/.classpath tomcat/sandbox/build.xml tomcat/sandbox/java/org/apache/tomcat/util/net/AcceptorEndpoint.java M

svn commit: r348670 - /tomcat/sandbox/.classpath

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:42:50 2005 New Revision: 348670 URL: http://svn.apache.org/viewcvs?rev=348670&view=rev Log: Add modeler Modified: tomcat/sandbox/.classpath Modified: tomcat/sandbox/.classpath URL: http://svn.apache.org/viewcvs/tomcat/sandbox/.classpath?rev=348670&r1=34866

svn commit: r348669 - /tomcat/sandbox/Tomcat5.5.launch

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:41:45 2005 New Revision: 348669 URL: http://svn.apache.org/viewcvs?rev=348669&view=rev Log: Eclipse launcher, for use to debug inside eclipse. Added: tomcat/sandbox/Tomcat5.5.launch Added: tomcat/sandbox/Tomcat5.5.launch URL: http://svn.apache.org/viewcvs

svn commit: r348668 - in /tomcat/sandbox/java/org/apache/coyote/http11: ./ apr/

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:39:36 2005 New Revision: 348668 URL: http://svn.apache.org/viewcvs?rev=348668&view=rev Log: Move the apr stuff to a separate package, to avoid confusion. I plan to try few changes ( i.e. replace direct C-style calls with a higher-level APR, implementing subset

svn commit: r348667 - in /tomcat/sandbox/java/org/apache/coyote/http11: Http11BaseProtocol.java Http11Processor.java Http11Protocol.java

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:36:28 2005 New Revision: 348667 URL: http://svn.apache.org/viewcvs?rev=348667&view=rev Log: Updates to match the changes in endpoint ( and deprecation /removal of ThreadPool ) Modified: tomcat/sandbox/java/org/apache/coyote/http11/Http11BaseProtocol.java

svn commit: r348666 - /tomcat/sandbox/java/org/apache/coyote/standalone/Main.java

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:35:15 2005 New Revision: 348666 URL: http://svn.apache.org/viewcvs?rev=348666&view=rev Log: Few fixes to match the new changes Modified: tomcat/sandbox/java/org/apache/coyote/standalone/Main.java Modified: tomcat/sandbox/java/org/apache/coyote/standalone/Ma

svn commit: r348665 - /tomcat/sandbox/java/org/apache/coyote/standalone/MainInetd.java

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:34:19 2005 New Revision: 348665 URL: http://svn.apache.org/viewcvs?rev=348665&view=rev Log: Another experiment - this class uses NIO to get the socket from Xinetd ( I'll also try with launchd ). This allows starting tomcat on-demand, from xinetd/lauchd. Work in

svn commit: r348663 - in /tomcat/sandbox/java/org/apache/tomcat/util/buf: B2CConverter.java ByteChunk.java C2BConverter.java MessageBytes.java TimeStamp.java UDecoder.java UTF8Decoder.java

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:31:25 2005 New Revision: 348663 URL: http://svn.apache.org/viewcvs?rev=348663&view=rev Log: Various fixes and deprecations Modified: tomcat/sandbox/java/org/apache/tomcat/util/buf/B2CConverter.java tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk

svn commit: r348662 - in /tomcat/sandbox/java/org/apache/tomcat/util/net: AprEndpoint.java LeaderFollowerWorkerThread.java MasterSlaveWorkerThread.java

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:30:33 2005 New Revision: 348662 URL: http://svn.apache.org/viewcvs?rev=348662&view=rev Log: Various fixes to put things in sync Modified: tomcat/sandbox/java/org/apache/tomcat/util/net/AprEndpoint.java tomcat/sandbox/java/org/apache/tomcat/util/net/Lead

svn commit: r348659 - /tomcat/sandbox/java/org/apache/tomcat/util/net/AcceptorEndpoint.java

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:27:02 2005 New Revision: 348659 URL: http://svn.apache.org/viewcvs?rev=348659&view=rev Log: New endpoint - it's a long time since I had this planned, now I got the chance. I think this is the _RIGHT_ way to do the pool and threading - not run any benchmark, but

svn commit: r348657 - /tomcat/sandbox/java/org/apache/tomcat/util/net/SimpleEndpoint.java

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:24:26 2005 New Revision: 348657 URL: http://svn.apache.org/viewcvs?rev=348657&view=rev Log: New Endpoint - as simple as possible, no 'spare threads' or recycling. This is a good fit for embedded - where footprint is more important and you don't expect huge load

svn commit: r348656 - in /tomcat/sandbox/java/org/apache/tomcat/util/net: LeaderFollowerEndpoint.java MasterSlaveEndpoint.java

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:22:10 2005 New Revision: 348656 URL: http://svn.apache.org/viewcvs?rev=348656&view=rev Log: Moved all the functionality from PoolTcpEndpoint in 2 separate classes. It was a mess, impossible to understand what thread is created and how. As a result, MasterSlave s

svn commit: r348655 - /tomcat/sandbox/java/org/apache/tomcat/util/net/PoolTcpEndpoint.java

2005-11-23 Thread costin
Author: costin Date: Wed Nov 23 21:20:50 2005 New Revision: 348655 URL: http://svn.apache.org/viewcvs?rev=348655&view=rev Log: Refactoring - leave only the core methods, no ThreadPool or specific code. Modified: tomcat/sandbox/java/org/apache/tomcat/util/net/PoolTcpEndpoint.java Modified: t

Re: Feature Request: set maxSpareThreads and minSpareThreads and see a next strange APR Connector behaviour

2005-11-23 Thread Remy Maucherat
Peter Rossbach wrote: Why we can set maxSpareThreads and minSpareThreads at APR Http and APR AJP threadpools? Because of interdependencies with the regular connector. It won't do anything. I have seen another strange behaviour: After a small load 10 requests and two hour no request the

DO NOT REPLY [Bug 36569] - Redirects produce illegal URL's

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 36569] - Redirects produce illegal URL's

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 37070] - Servlets not recognized as MBeans

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 37018] - Document how to use tomcat-SSL with a pkcs11 token

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Feature Request: set maxSpareThreads and minSpareThreads and see a next strange APR Connector behaviour

2005-11-23 Thread Peter Rossbach
Why we can set maxSpareThreads and minSpareThreads at APR Http and APR AJP threadpools? I have seen another strange behaviour: After a small load 10 requests and two hour no request the AJP and HTTP Server sockets are closed and threadspools are not running anymore (running jmx attribute s

svn commit: r348506 - /tomcat/container/tc5.5.x/webapps/docs/changelog.xml

2005-11-23 Thread remm
Author: remm Date: Wed Nov 23 10:03:53 2005 New Revision: 348506 URL: http://svn.apache.org/viewcvs?rev=348506&view=rev Log: - Changelog update. Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml URL: http://svn.apache

DO NOT REPLY [Bug 37612] - Jasper's Validator does not include full path of file being compiled in error message

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 37612] New: - Jasper's Validator does not include full path of file being compiled in error message

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: SVN oddities with "current" link

2005-11-23 Thread Remy Maucherat
Costin Manolache wrote: Yes, that's what I'm talking about - but on the tomcat svn :-). Can we do the same here ? Only for HEAD ( or at least for 6.0 ), so moving forward we could keep things simpler. BTW - a nice facility in eclipse and ant is the exclude, so the tree can include multiple conn

Re: Tomcat Crash with apr when RequestProcessor accessed

2005-11-23 Thread Remy Maucherat
Peter Rossbach wrote: Hey Remy, I have tested your patch (suse 9.3) and it fix the jvm crash problem. Currently I have only tested with http apr connector. Cool. AJP can't have the issue (the action method doesn't make any socket access). Rémy --

Re: Tomcat Crash with apr when RequestProcessor accessed

2005-11-23 Thread Peter Rossbach
Hey Remy, I have tested your patch (suse 9.3) and it fix the jvm crash problem. Currently I have only tested with http apr connector. Many thanks Peter Remy Maucherat schrieb: Peter Rossbach wrote: Hey, A customer report today a very strange tomcat crash to me and I can simulate this bugs

Re: Tomcat Crash with apr when RequestProcessor accessed

2005-11-23 Thread Remy Maucherat
Peter Rossbach wrote: Hey, A customer report today a very strange tomcat crash to me and I can simulate this bugs with following releases and OS's: Tested with Suse 9.3, Tomcat 5.5.12 /Apr 1.2.2 / openssl 0.9.8, jdk 1.5.0_03 Also tested with current SVN Head and fresh build tcnative from head

svn commit: r348476 - /tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java

2005-11-23 Thread remm
Author: remm Date: Wed Nov 23 08:15:53 2005 New Revision: 348476 URL: http://svn.apache.org/viewcvs?rev=348476&view=rev Log: - Do the same with SSL. Modified: tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java Modified: tomcat/connectors/trunk/http11/s

Re: SVN oddities with "current" link

2005-11-23 Thread Costin Manolache
Yes, that's what I'm talking about - but on the tomcat svn :-). Can we do the same here ? Only for HEAD ( or at least for 6.0 ), so moving forward we could keep things simpler. BTW - a nice facility in eclipse and ant is the exclude, so the tree can include multiple connectors, and multiple featu

svn commit: r348470 - /tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java

2005-11-23 Thread remm
Author: remm Date: Wed Nov 23 08:06:10 2005 New Revision: 348470 URL: http://svn.apache.org/viewcvs?rev=348470&view=rev Log: - Fix crash when a socket is used outside of the process method (for example through JMX). I would assume a crash would occur with a socket which had its associated mem

Re: Tomcat Crash with apr when RequestProcessor accessed

2005-11-23 Thread Remy Maucherat
Peter Rossbach wrote: Hey, A customer report today a very strange tomcat crash to me and I can simulate this bugs with following releases and OS's: Tested with Suse 9.3, Tomcat 5.5.12 /Apr 1.2.2 / openssl 0.9.8, jdk 1.5.0_03 Also tested with current SVN Head and fresh build tcnative from head

Tomcat Crash with apr when RequestProcessor accessed

2005-11-23 Thread Peter Rossbach
Hey, A customer report today a very strange tomcat crash to me and I can simulate this bugs with following releases and OS's: Tested with Suse 9.3, Tomcat 5.5.12 /Apr 1.2.2 / openssl 0.9.8, jdk 1.5.0_03 Also tested with current SVN Head and fresh build tcnative from head and Tomcat 5.5.12 / Mald

Re: SVN oddities with "current" link

2005-11-23 Thread Remy Maucherat
Costin Manolache wrote: Container, jasper and build are a good start. I think connectors should be included too. Servletapi is obviously different, and even in the current build it's downloaded as a jar AFAIK. You can still have separate releases and release cycles for different components - ev

svn commit: r348448 - /tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java

2005-11-23 Thread remm
Author: remm Date: Wed Nov 23 06:20:32 2005 New Revision: 348448 URL: http://svn.apache.org/viewcvs?rev=348448&view=rev Log: - Modify the way a stopped classloader behaves if accessed, as part of my previous CL work. - Log the illegal access attempt. - findClass will of return a CNFE. Modified:

DO NOT REPLY [Bug 26372] - java.lang.ThreadDeath when trying to reload an application

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 26372] - java.lang.ThreadDeath when trying to reload an application

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 26372] - java.lang.ThreadDeath when trying to reload an application

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 37605] - Cannot log in to Tomcat Manager

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 37605] New: - Cannot log in to Tomcat Manager

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 37471] - Can not delete a Context from Admin Tool

2005-11-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu