svn commit: r320981 - in /tomcat/build/tc5.5.x/resources: runtime.MF server-embed.xml web-embed.xml

2005-10-13 Thread costin
Author: costin Date: Thu Oct 13 19:55:57 2005 New Revision: 320981 URL: http://svn.apache.org/viewcvs?rev=320981&view=rev Log: Add missing files to build single jar. server-embed and web-embed are trimmed down/minimal versions. web.xml doesn't include jasper compiler - only precompiled

svn commit: r321299 - /tomcat/connectors/trunk/util/java/org/apache/tomcat/util/buf/ByteChunk.java

2005-10-14 Thread costin
Author: costin Date: Fri Oct 14 23:43:41 2005 New Revision: 321299 URL: http://svn.apache.org/viewcvs?rev=321299&view=rev Log: Added a couple of comments. Modified: tomcat/connectors/trunk/util/java/org/apache/tomcat/util/buf/ByteChunk.java Modified: tomcat/connectors/trunk/util/java

svn commit: r321300 - in /tomcat/connectors/trunk/util/loader/org/apache/tomcat/util/loader: Loader.java Module.java ModuleClassLoader.java Repository.java RepositoryClassLoader.java

2005-10-14 Thread costin
Author: costin Date: Fri Oct 14 23:45:43 2005 New Revision: 321300 URL: http://svn.apache.org/viewcvs?rev=321300&view=rev Log: More refactoring ( this package is not used in any existing code AFAIK, please let me know if I'm wrong ). This code is based on tomcat loader, but modified t

svn commit: r321301 - /tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/StandardServer.java

2005-10-14 Thread costin
Author: costin Date: Fri Oct 14 23:56:28 2005 New Revision: 321301 URL: http://svn.apache.org/viewcvs?rev=321301&view=rev Log: Add few more comments, and a special case dealing with invalid shutdown ports - if -1 or -2 are specified, don't open any shutdown port, instead rely on the embe

svn commit: r326345 - /tomcat/build/tc5.5.x/build.xml

2005-10-18 Thread costin
Author: costin Date: Tue Oct 18 19:52:21 2005 New Revision: 326345 URL: http://svn.apache.org/viewcvs?rev=326345&view=rev Log: Remove naming from runtime Modified: tomcat/build/tc5.5.x/build.xml Modified: tomcat/build/tc5.5.x/build.xml URL: http://svn.apache.org/viewcvs/tomcat/build/t

svn commit: r329043 - /tomcat/connectors/trunk/jni/native/os/unix/system.c

2005-10-27 Thread costin
Author: costin Date: Thu Oct 27 19:32:35 2005 New Revision: 329043 URL: http://svn.apache.org/viewcvs?rev=329043&view=rev Log: On some systems, LOG_WARN doesn't exist - it is called LOG_WARNING. ( for example - current versions of Suse, Redhat ) Modified: tomcat/connectors/trunk/j

svn commit: r329053 - in /tomcat/sandbox/java: ./ org/ org/apache/ org/apache/commons/ org/apache/commons/logging/

2005-10-27 Thread costin
Author: costin Date: Thu Oct 27 19:55:08 2005 New Revision: 329053 URL: http://svn.apache.org/viewcvs?rev=329053&view=rev Log: Implementation of commons-logging that doesn't use any discovery or tricks, just plain java.util.logging. There is a trick actually - at startup it'll

svn commit: r329054 - in /tomcat/sandbox/java/org/apache/tomcat: ./ util/ util/log/ util/log/JdkLoggerConfig.java util/log/JdkLoggerFormatter.java

2005-10-27 Thread costin
Author: costin Date: Thu Oct 27 19:56:34 2005 New Revision: 329054 URL: http://svn.apache.org/viewcvs?rev=329054&view=rev Log: Handler and config for java.util.logging. Added: tomcat/sandbox/java/org/apache/tomcat/ tomcat/sandbox/java/org/apache/tomcat/util/ tomcat/sandbox/

svn commit: r329055 - /tomcat/sandbox/README.txt

2005-10-27 Thread costin
Author: costin Date: Thu Oct 27 20:01:20 2005 New Revision: 329055 URL: http://svn.apache.org/viewcvs?rev=329055&view=rev Log: A small comment on source organization. Modified: tomcat/sandbox/README.txt Modified: tomcat/sandbox/README.txt URL: http://svn.apache.org/viewcvs/tomcat/san

svn commit: r329852 - in /tomcat/sandbox/java/org/apache/tomcat/util/buf/res: ./ LocalStrings.properties LocalStrings_es.properties LocalStrings_fr.properties LocalStrings_ja.properties

2005-10-31 Thread costin
Author: costin Date: Mon Oct 31 08:38:34 2005 New Revision: 329852 URL: http://svn.apache.org/viewcvs?rev=329852&view=rev Log: Forgot to copy res - without it it doesn't work. Added: tomcat/sandbox/java/org/apache/tomcat/util/buf/res/ tomcat/sandbox/java/org/apache/tomcat/uti

svn commit: r329853 - /tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk.java

2005-10-31 Thread costin
Author: costin Date: Mon Oct 31 08:39:42 2005 New Revision: 329853 URL: http://svn.apache.org/viewcvs?rev=329853&view=rev Log: First step of the refactoring. Replaced byte[], int start, int end with a ByteBuffer. Replaced all the code using the byte[] with the equivalent. Compiles - b

svn commit: r330199 - /tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk.java

2005-11-01 Thread costin
Author: costin Date: Tue Nov 1 22:39:17 2005 New Revision: 330199 URL: http://svn.apache.org/viewcvs?rev=330199&view=rev Log: Well, NIO ByteBuffer is the most horrible interface in java. Whoever invented the flip() interface - and a buffer where you can't know where it starts and wher

svn commit: r331062 - in /tomcat/sandbox/java/org/apache/coyote: ./ adapters/ standalone/

2005-11-05 Thread costin
Author: costin Date: Sat Nov 5 19:13:06 2005 New Revision: 331062 URL: http://svn.apache.org/viewcvs?rev=331062&view=rev Log: Code for testing ( and using ) coyote standalone. The adapters are very simple, more as example. The goal is to have a minimal http connector, and play with nio

svn commit: r331237 - /tomcat/sandbox/java/org/apache/tomcat/util/buf/UEncoder.java

2005-11-07 Thread costin
Author: costin Date: Mon Nov 7 00:04:21 2005 New Revision: 331237 URL: http://svn.apache.org/viewcvs?rev=331237&view=rev Log: Move UEncoder to nio. Deprecate most of the methods - they don't seem to be in use in 5.5 and are pretty bad ( Writer ). In fact - the entire class could be c

svn commit: r331238 - in /tomcat/sandbox/test: ./ org/ org/apache/ org/apache/tomcat/ org/apache/tomcat/util/ org/apache/tomcat/util/buf/ org/apache/tomcat/util/buf/UEncoderTest.java org/apache/tomcat

2005-11-07 Thread costin
Author: costin Date: Mon Nov 7 00:05:25 2005 New Revision: 331238 URL: http://svn.apache.org/viewcvs?rev=331238&view=rev Log: A simple test case - extremely incomplete, but usefull to track the nio conversion. Added: tomcat/sandbox/test/ tomcat/sandbox/test/org/ tomcat/sandbox/

svn commit: r332735 - /tomcat/connectors/trunk/.project

2005-11-11 Thread costin
Author: costin Date: Fri Nov 11 22:00:03 2005 New Revision: 332735 URL: http://svn.apache.org/viewcvs?rev=332735&view=rev Log: Lower cap - so eclipse checkout will create a dir that is lower cap - matching how the dir is called in the tree. Modified: tomcat/connectors/trunk/.pro

svn commit: r332736 - /tomcat/container/tc5.5.x/.project

2005-11-11 Thread costin
Author: costin Date: Fri Nov 11 22:00:53 2005 New Revision: 332736 URL: http://svn.apache.org/viewcvs?rev=332736&view=rev Log: Same, lower cap name Modified: tomcat/container/tc5.5.x/.project Modified: tomcat/container/tc5.5.x/.project URL: http://svn.apache.org/viewcvs/tomcat/conta

svn commit: r332738 - /tomcat/build/tc5.5.x/.project

2005-11-11 Thread costin
Author: costin Date: Fri Nov 11 22:53:36 2005 New Revision: 332738 URL: http://svn.apache.org/viewcvs?rev=332738&view=rev Log: Add a project here as well, for checkout to work. The only solution I found so far to use eclipse and svn is to do a checkout from the repostiory - 'share pr

svn commit: r332739 - /tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/.project

2005-11-11 Thread costin
Author: costin Date: Fri Nov 11 23:58:55 2005 New Revision: 332739 URL: http://svn.apache.org/viewcvs?rev=332739&view=rev Log: Rename to match the name in svn and ant files Modified: tomcat/servletapi/servlet2.4-jsp2.0-tc5.x/.project Modified: tomcat/servletapi/servlet2.4-jsp2.0-t

svn commit: r332741 - /tomcat/connectors/trunk/.classpath

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 00:04:03 2005 New Revision: 332741 URL: http://svn.apache.org/viewcvs?rev=332741&view=rev Log: PureTLS is not normally donwloaded by "ant download", it is optional - let's exclude it from eclipse project so it's easier for people t

svn commit: r332742 - /tomcat/container/tc5.5.x/.classpath

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 00:05:31 2005 New Revision: 332742 URL: http://svn.apache.org/viewcvs?rev=332742&view=rev Log: Activation and mail are not typically available, require manual download. To make it easier for users - let's remove them by default. Renamed the dependencies

svn commit: r332806 - in /tomcat/jasper/tc5.5.x: .classpath .project

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 10:07:58 2005 New Revision: 332806 URL: http://svn.apache.org/viewcvs?rev=332806&view=rev Log: Another change - sorry if I mess up everything, but the svn plugin is really frustrating and I think it is important to have a consistent environment when workin

svn commit: r332808 - /tomcat/jasper/tc5.5.x/.classpath

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 10:20:20 2005 New Revision: 332808 URL: http://svn.apache.org/viewcvs?rev=332808&view=rev Log: Small fix to depend on servletapi Modified: tomcat/jasper/tc5.5.x/.classpath Modified: tomcat/jasper/tc5.5.x/.classpath URL: http://svn.apache.org/viewcvs/to

svn commit: r332811 - in /tomcat/container/tc5.5.x: .classpath Tomcat5.5.launch

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 10:24:05 2005 New Revision: 332811 URL: http://svn.apache.org/viewcvs?rev=332811&view=rev Log: Add dep on build ( so resources is visible ). Add a launcher to start tomcat. It doesn't work completely - some dtds are not found. It would work if I would

svn commit: r332865 - /tomcat/jasper/tc5.5.x/jasper2/.project

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 16:58:32 2005 New Revision: 332865 URL: http://svn.apache.org/viewcvs?rev=332865&view=rev Log: Rename to match the dir ( well, not the dir in svn - but the local one that build.xml expects ) Modified: tomcat/jasper/tc5.5.x/jasper2/.project Modified: to

svn commit: r332866 - /tomcat/jasper/tc5.5.x/.project

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 16:58:53 2005 New Revision: 332866 URL: http://svn.apache.org/viewcvs?rev=332866&view=rev Log: This is no longer needed. Removed: tomcat/jasper/tc5.5.x/.project - To unsubscribe, e-

svn commit: r332867 - /tomcat/jasper/tc5.5.x/jasper2/.classpath

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 17:03:40 2005 New Revision: 332867 URL: http://svn.apache.org/viewcvs?rev=332867&view=rev Log: As I mentioned, the launcher doesn't work with the dir struct in servletapi And most people won't modify servletapi anyway - so it is easier to just use

svn commit: r332868 - /tomcat/container/tc5.5.x/.classpath

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 17:04:30 2005 New Revision: 332868 URL: http://svn.apache.org/viewcvs?rev=332868&view=rev Log: Same - use the libs instead of servletapi Modified: tomcat/container/tc5.5.x/.classpath Modified: tomcat/container/tc5.5.x/.classpath URL: http://svn.apache

svn commit: r332869 - /tomcat/build/tc5.5.x/.classpath

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 17:06:05 2005 New Revision: 332869 URL: http://svn.apache.org/viewcvs?rev=332869&view=rev Log: Add a .classpath - only include resources. This is needed if you want to debug and run tomcat in eclipse. BTW - hotswapping is really GREAT. Added: tomcat/b

svn commit: r332916 - in /tomcat/sandbox/java/org/apache/tomcat/servlets: ./ jsp/ jsp/JspProxyServlet.java

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 23:02:43 2005 New Revision: 332916 URL: http://svn.apache.org/viewcvs?rev=332916&view=rev Log: An experimental ( like all sandbox ) redirector for jasper, so we can include jsp in web-embed.xml, and it could work if jasper is found. Later can be extended to

svn commit: r332917 - in /tomcat/sandbox: .classpath java/server-embed.xml java/web-embed.xml

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 23:03:17 2005 New Revision: 332917 URL: http://svn.apache.org/viewcvs?rev=332917&view=rev Log: Fix classpath, move web-embed and server-embed from build/ Added: tomcat/sandbox/.classpath tomcat/sandbox/java/server-embed.xml tomcat/sandbox/java

svn commit: r332919 - in /tomcat/build/tc5.5.x/resources: runtime.MF server-embed.xml web-embed.xml

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 23:06:00 2005 New Revision: 332919 URL: http://svn.apache.org/viewcvs?rev=332919&view=rev Log: Moved to sandbox Removed: tomcat/build/tc5.5.x/resources/runtime.MF tomcat/build/tc5.5.x/resources/server-embed.xml tomcat/build/tc5.5.x/resources

svn commit: r332927 - in /tomcat/build/tc5.5.x: build.properties.default build.xml

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 23:19:12 2005 New Revision: 332927 URL: http://svn.apache.org/viewcvs?rev=332927&view=rev Log: Removed ( moved to sandbox ) the single-jar option. Added download for rhino. Modified: tomcat/build/tc5.5.x/build.properties.default tomcat/build/tc5

svn commit: r332930 - in /tomcat/sandbox: .project build.xml resources/

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 23:23:22 2005 New Revision: 332930 URL: http://svn.apache.org/viewcvs?rev=332930&view=rev Log: Moved stuff from build/ The build.xml file is not following exactly same rules and using same dirs as eclipse. Added: tomcat/sandbox/.project tomcat/san

svn commit: r332931 - /tomcat/sandbox/resources/runtime.MF

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 23:23:42 2005 New Revision: 332931 URL: http://svn.apache.org/viewcvs?rev=332931&view=rev Log: moved the manifest as well Added: tomcat/sandbox/resources/runtime.MF Added: tomcat/sandbox/resources/runtime.MF URL: http://svn.apache.org/viewcvs/tomcat/san

svn commit: r332933 - /tomcat/sandbox/java/org/apache/coyote/adapters/MapperAdapter.java

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 23:24:41 2005 New Revision: 332933 URL: http://svn.apache.org/viewcvs?rev=332933&view=rev Log: Use the real mapper. Added: tomcat/sandbox/java/org/apache/coyote/adapters/MapperAdapter.java Added: tomcat/sandbox/java/org/apache/coyote/adap

svn commit: r332935 - in /tomcat/sandbox/java/org/apache/coyote: adapters/JsAdapter.java standalone/Main.java

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 23:25:39 2005 New Revision: 332935 URL: http://svn.apache.org/viewcvs?rev=332935&view=rev Log: Use the real mapper, remove old unused code Modified: tomcat/sandbox/java/org/apache/coyote/adapters/JsAdapter.java tomcat/sandbox/java/org/apache/co

svn commit: r332936 - /tomcat/sandbox/java/org/apache/tomcat/util/log/JdkLoggerFormatter.java

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 23:26:28 2005 New Revision: 332936 URL: http://svn.apache.org/viewcvs?rev=332936&view=rev Log: Better layout Modified: tomcat/sandbox/java/org/apache/tomcat/util/log/JdkLoggerFormatter.java Modified: tomcat/sandbox/java/org/apache/tomcat/util

svn commit: r332938 - in /tomcat/sandbox: build.xml resources/coyote-http11.MF

2005-11-12 Thread costin
Author: costin Date: Sat Nov 12 23:36:11 2005 New Revision: 332938 URL: http://svn.apache.org/viewcvs?rev=332938&view=rev Log: Finish up - build all 3 'standalones' using same model Added: tomcat/sandbox/resources/coyote-http11.MF (with props) Modified: tomcat/san

svn commit: r343977 - /tomcat/sandbox/build.xml

2005-11-13 Thread costin
Author: costin Date: Sun Nov 13 14:05:16 2005 New Revision: 343977 URL: http://svn.apache.org/viewcvs?rev=343977&view=rev Log: Moved download for rhino. Modified: tomcat/sandbox/build.xml Modified: tomcat/sandbox/build.xml URL: http://svn.apache.org/viewcvs/tomcat/sandbox/build.xml

svn commit: r343978 - /tomcat/build/tc5.5.x/build.xml

2005-11-13 Thread costin
Author: costin Date: Sun Nov 13 14:05:40 2005 New Revision: 343978 URL: http://svn.apache.org/viewcvs?rev=343978&view=rev Log: Moved download for rhino to sandbox Modified: tomcat/build/tc5.5.x/build.xml Modified: tomcat/build/tc5.5.x/build.xml URL: http://svn.apache.org/viewcvs/to

svn commit: r345653 [2/2] - in /tomcat/sandbox/java/org/apache/tomcat/util/net: ./ res/

2005-11-19 Thread costin
Added: tomcat/sandbox/java/org/apache/tomcat/util/net/SSLSupport.java URL: http://svn.apache.org/viewcvs/tomcat/sandbox/java/org/apache/tomcat/util/net/SSLSupport.java?rev=345653&view=auto == --- tomcat/sandbox/java/org/ap

svn commit: r345659 - in /tomcat/sandbox/java/org/apache/tomcat/util/net: AprEndpoint.java SSLImplementation.java TcpConnection.java

2005-11-19 Thread costin
Author: costin Date: Sat Nov 19 09:44:11 2005 New Revision: 345659 URL: http://svn.apache.org/viewcvs?rev=345659&view=rev Log: - remove the hardcoded dependency between SSLImplementation and jsse. - add support for the native socket, in addition to Socket. A better solution may be to a

svn commit: r345660 - in /tomcat/sandbox/java/org/apache/coyote/standalone: Main.java MessageWriter.java

2005-11-19 Thread costin
Author: costin Date: Sat Nov 19 09:46:43 2005 New Revision: 345660 URL: http://svn.apache.org/viewcvs?rev=345660&view=rev Log: Few comments and small changes to expose the mapper. Modified: tomcat/sandbox/java/org/apache/coyote/standalone/Main.java tomcat/sandbox/java/org/apache/co

svn commit: r345662 - /tomcat/sandbox/java/org/apache/coyote/http11/InternalAprInputBuffer.java

2005-11-19 Thread costin
Author: costin Date: Sat Nov 19 09:52:07 2005 New Revision: 345662 URL: http://svn.apache.org/viewcvs?rev=345662&view=rev Log: Remove duplicated methods. Modified: tomcat/sandbox/java/org/apache/coyote/http11/InternalAprInputBuffer.java Modified: tomcat/sandbox/java/org/apache/co

svn commit: r345700 - /tomcat/sandbox/java/org/apache/coyote/http11/InternalAprOutputBuffer.java

2005-11-19 Thread costin
Author: costin Date: Sat Nov 19 17:23:40 2005 New Revision: 345700 URL: http://svn.apache.org/viewcvs?rev=345700&view=rev Log: Remove duplicated methods. Modified: tomcat/sandbox/java/org/apache/coyote/http11/InternalAprOutputBuffer.java Modified: tomcat/sandbox/java/org/apache/co

svn commit: r345716 - in /tomcat/sandbox/java/org/apache/coyote/http11: Http11AprProcessor.java Http11BaseProtocol.java Http11Processor.java InternalAprInputBuffer.java InternalAprOutputBuffer.java In

2005-11-19 Thread costin
Author: costin Date: Sat Nov 19 20:45:01 2005 New Revision: 345716 URL: http://svn.apache.org/viewcvs?rev=345716&view=rev Log: Few minor cleanups ( imports, indentation ), add a parameter to parseRequestLine to match the apr version, expose the thread pool ( for standalone ). Modi

svn commit: r345721 - in /tomcat/sandbox/java/org/apache/coyote/http11: Http11AprProtocol.java Http11BaseProtocol.java

2005-11-19 Thread costin
Author: costin Date: Sat Nov 19 21:21:53 2005 New Revision: 345721 URL: http://svn.apache.org/viewcvs?rev=345721&view=rev Log: Remove duplicated code Modified: tomcat/sandbox/java/org/apache/coyote/http11/Http11AprProtocol.java tomcat/sandbox/java/org/apache/coyote/ht

svn commit: r345722 - in /tomcat/sandbox/java/org/apache/coyote/http11: InternalAprOutputBuffer.java InternalOutputBuffer.java

2005-11-19 Thread costin
Author: costin Date: Sat Nov 19 21:22:24 2005 New Revision: 345722 URL: http://svn.apache.org/viewcvs?rev=345722&view=rev Log: Some extra checks Modified: tomcat/sandbox/java/org/apache/coyote/http11/InternalAprOutputBuffer.java tomcat/sandbox/java/org/apache/coyote/ht

svn commit: r345767 - in /tomcat/sandbox/java/org/apache/coyote/http11: Http11AprProcessor.java Http11Processor.java InternalAprInputBuffer.java InternalInputBuffer.java

2005-11-20 Thread costin
Author: costin Date: Sun Nov 20 10:19:56 2005 New Revision: 345767 URL: http://svn.apache.org/viewcvs?rev=345767&view=rev Log: Remove even more dups. It seems the apr and non-apr were not actually in sync, there are at least 2 places where extra SecurityManager magic was used in non

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 Modi

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, MasterS

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

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

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

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

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/lauc

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/standa

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.

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 su

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

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=34867

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.

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_http1

svn commit: r349082 - in /tomcat/sandbox/java/org/apache/tomcat/util/threads: ./ res/

2005-11-25 Thread costin
Author: costin Date: Fri Nov 25 21:39:20 2005 New Revision: 349082 URL: http://svn.apache.org/viewcvs?rev=349082&view=rev Log: Add threads ( without Reaper and Expirer, not used or needed ) Added: tomcat/sandbox/java/org/apache/tomcat/util/threads/ tomcat/sandbox/java/org/apache/to

svn commit: r349084 - in /tomcat/sandbox/java/org/apache/tomcat/util/threads: ThreadPool.java ThreadPoolRunnable.java ThreadWithAttributes.java

2005-11-25 Thread costin
Author: costin Date: Fri Nov 25 21:41:43 2005 New Revision: 349084 URL: http://svn.apache.org/viewcvs?rev=349084&view=rev Log: A small change to allow access to the 'param' field in ThreadWithAttributes. This allows passing a param to the thread - like a socket for example Modifi

svn commit: r349085 - /tomcat/sandbox/java/org/apache/tomcat/util/net/NioEndpoint.java

2005-11-25 Thread costin
Author: costin Date: Fri Nov 25 21:43:33 2005 New Revision: 349085 URL: http://svn.apache.org/viewcvs?rev=349085&view=rev Log: The nio endpoint. Uses the thread pool. Only accept is implemented - the polling of keep alive needs merging some code in the http11protocol. Added: tomcat/san

svn commit: r351608 - in /tomcat/sandbox/java/org/apache/tomcat/standalone: ./ Tomcat.java

2005-12-01 Thread costin
Author: costin Date: Thu Dec 1 22:07:50 2005 New Revision: 351608 URL: http://svn.apache.org/viewcvs?rev=351608&view=rev Log: I'm sure there are other good examples on starting tomcat without server.xml, I just wanted to have a simple and minimal one I can use here. Added: tomca

svn commit: r351609 - /tomcat/sandbox/java/org/apache/tomcat/servlets/jsp/JspProxyServlet.java

2005-12-01 Thread costin
Author: costin Date: Thu Dec 1 22:16:57 2005 New Revision: 351609 URL: http://svn.apache.org/viewcvs?rev=351609&view=rev Log: Cut&paste the jsp->class mangling code, so runtime can execute precompiled ( or cached ) jsps. JspServlet depends on compiler and a lot of stuff - with th

svn commit: r365816 - /tomcat/sandbox/java/org/apache/tomcat/util/threads/ThreadPool.java

2006-01-03 Thread costin
Author: costin Date: Tue Jan 3 20:10:57 2006 New Revision: 365816 URL: http://svn.apache.org/viewcvs?rev=365816&view=rev Log: Since this is sandbox, let's see if we can get rid of the monitor thread, and instead do the same checks on each worker thread, before and after a task is perfor

svn commit: r365855 - in /tomcat/sandbox/java/org/apache/tomcat/util/net: AcceptorEndpoint.java SimpleEndpoint.java

2006-01-03 Thread costin
Author: costin Date: Tue Jan 3 23:42:26 2006 New Revision: 365855 URL: http://svn.apache.org/viewcvs?rev=365855&view=rev Log: Having all threads blocked in accept ( instead of using a thread pool and notifications ) and simple thread management is 'simple' enough to be in the s

svn commit: r365856 - in /tomcat/sandbox/java/org/apache/tomcat/util/net/apr: ./ AprByteChannel.java AprEndpoint.java AprFileChannel.java AprSocket.java

2006-01-03 Thread costin
Author: costin Date: Tue Jan 3 23:45:04 2006 New Revision: 365856 URL: http://svn.apache.org/viewcvs?rev=365856&view=rev Log: Remove duplicate code, few more attempts to find a 'consistent' way to deal with apr by implementing nio interfaces using apr. Added: tomcat/sa

svn commit: r365857 - in /tomcat/sandbox/java/org/apache/tomcat/util/net: ./ javaio/ nio/

2006-01-03 Thread costin
Author: costin Date: Tue Jan 3 23:48:20 2006 New Revision: 365857 URL: http://svn.apache.org/viewcvs?rev=365857&view=rev Log: Moving code around, so it can be used at the same time with the old one ( if needed ) and to make it easier to exclude or package. The old endpoint is in javaio,

svn commit: r365858 - /tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk.java

2006-01-03 Thread costin
Author: costin Date: Tue Jan 3 23:48:42 2006 New Revision: 365858 URL: http://svn.apache.org/viewcvs?rev=365858&view=rev Log: few extra checks Modified: tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk.java Modified: tomcat/sandbox/java/org/apache/tomcat/util/buf/ByteChunk.

svn commit: r365859 - in /tomcat/sandbox/java/org/apache/coyote/http11: Http11BaseProtocol.java Http11Processor.java Http11Protocol.java apr/Http11AprBaseProtocol.java apr/Http11AprProcessor.java

2006-01-03 Thread costin
Author: costin Date: Tue Jan 3 23:51:50 2006 New Revision: 365859 URL: http://svn.apache.org/viewcvs?rev=365859&view=rev Log: Update for the new apr package, remove the old ssl abstraction. Since APR and NIO can't use the SocketFactory, nor JK - it doesn't make any sense to keep i

svn commit: r377051 - in /tomcat/sandbox: ./ java/org/apache/tomcat/servlets/jsp/ java/org/apache/tomcat/standalone/ java/org/apache/tomcat/util/buf/ java/org/apache/tomcat/util/net/ resources/

2006-02-11 Thread costin
Author: costin Date: Sat Feb 11 12:42:42 2006 New Revision: 377051 URL: http://svn.apache.org/viewcvs?rev=377051&view=rev Log: A couple of small improvements to the 'embeded' tomcat sandbox. Now it can work with only web.xml - or no xml files at all. Added: tomcat/sandbox/j

svn commit: r380998 - in /tomcat/sandbox: bin/ java/org/apache/tomcat/standalone/ java/org/apache/tomcat/util/net/ js-bin/ webapps/

2006-02-25 Thread costin
Author: costin Date: Sat Feb 25 13:35:16 2006 New Revision: 380998 URL: http://svn.apache.org/viewcvs?rev=380998&view=rev Log: Few adjustments Added: tomcat/sandbox/java/org/apache/tomcat/standalone/SingleMain.java tomcat/sandbox/js-bin/ tomcat/sandbox/webapps/ Modified: to

svn commit: r389421 - in /tomcat/tc6.0.x/trunk: .classpath .project

2006-03-27 Thread costin
Author: costin Date: Mon Mar 27 22:45:43 2006 New Revision: 389421 URL: http://svn.apache.org/viewcvs?rev=389421&view=rev Log: Add eclipse files Added: tomcat/tc6.0.x/trunk/.classpath tomcat/tc6.0.x/trunk/.project Added: tomcat/tc6.0.x/trunk/.classpath URL: http://svn.apache

svn commit: r389423 - /tomcat/tc6.0.x/trunk/java/javax/servlet/resources/web-jsptaglibrary_2_0.xsd

2006-03-27 Thread costin
Author: costin Date: Mon Mar 27 22:49:35 2006 New Revision: 389423 URL: http://svn.apache.org/viewcvs?rev=389423&view=rev Log: Seems to be required as well, someone is looking for it. Could someone confirm this is where it should be - I get WARNING: Could not get url for /javax/ser

svn commit: r389540 - /tomcat/tc6.0.x/trunk/build.xml

2006-03-28 Thread costin
Author: costin Date: Tue Mar 28 08:53:21 2006 New Revision: 389540 URL: http://svn.apache.org/viewcvs?rev=389540&view=rev Log: Small fixes and adjustments to build.xml. Modified: tomcat/tc6.0.x/trunk/build.xml Modified: tomcat/tc6.0.x/trunk/build.xml URL: http://svn.apache.org/vie

svn commit: r389541 - in /tomcat/tc6.0.x/trunk: bin/ bin/Tomcat6.launch conf/ conf/server.xml conf/tomcat-users.xml conf/web.xml webapps/ROOT/ webapps/ROOT/WEB-INF/ webapps/ROOT/WEB-INF/web.xml webapp

2006-03-28 Thread costin
Author: costin Date: Tue Mar 28 08:55:00 2006 New Revision: 389541 URL: http://svn.apache.org/viewcvs?rev=389541&view=rev Log: A minimal set of files to debug and launch tomcat inside eclipse. server.xml is based on server-minimal.jar I assume the 'real' config files will be in

svn commit: r562187 - /tomcat/tc6.0.x/trunk/java/org/apache/juli/JdkLoggerFormatter.java

2007-08-02 Thread costin
Author: costin Date: Thu Aug 2 10:25:21 2007 New Revision: 562187 URL: http://svn.apache.org/viewvc?view=rev&rev=562187 Log: Add a simple one-line formatter. Added: tomcat/tc6.0.x/trunk/java/org/apache/juli/JdkLoggerFormatter.java - copied, changed from r415842, tomcat/sandbox/

svn commit: r534293 [3/11] - in /tomcat/sandbox/tomcat-lite: ./ bin/ external/ java/ java/org/apache/commons/logging/ java/org/apache/tomcat/lite/ java/org/apache/tomcat/lite/ctxmap/ java/org/apache/t

2007-05-01 Thread costin
set up. Each webapp can override them - * by defining a servlet with the same name ( names start with __x_ as well ). - * - * - * This is based on catalina classes, with non-essential features removed. It is - * possible to add back some of the flexibility using callbacks/hooks - b

svn commit: r534293 [11/11] - in /tomcat/sandbox/tomcat-lite: ./ bin/ external/ java/ java/org/apache/commons/logging/ java/org/apache/tomcat/lite/ java/org/apache/tomcat/lite/ctxmap/ java/org/apache/

2007-05-01 Thread costin
ter. - * - get the classloader from repository + * This works well as long as the interface between modules don't change - it is + * a bit better than hot-reloading of classes, which requires each class method + * signatures to be unchanged. * * @author Costin Manolache

svn commit: r407672 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java

2006-05-18 Thread costin
Author: costin Date: Thu May 18 17:56:28 2006 New Revision: 407672 URL: http://svn.apache.org/viewvc?rev=407672&view=rev Log: Downgrade to DynamicMBeans in method signatures - there is no need to use Model here, the mbean server doesn't care. Modified: tomcat/tc6.0.x/trunk/java/o

svn commit: r407673 - /tomcat/tc6.0.x/trunk/java/org/apache/jk/common/ModJkMX.java

2006-05-18 Thread costin
Author: costin Date: Thu May 18 17:57:15 2006 New Revision: 407673 URL: http://svn.apache.org/viewvc?rev=407673&view=rev Log: AFAIK mod_jk2 is deprecated - and I doubt anyone is using this. If they do - can be reverted. Removed: tomcat/tc6.0.x/trunk/java/org/apache/jk/common/ModJkMX.

svn commit: r407674 - in /tomcat/connectors/trunk/coyote/src/java/org/apache/coyote: tomcat3/ tomcat4/

2006-05-18 Thread costin
Author: costin Date: Thu May 18 17:58:16 2006 New Revision: 407674 URL: http://svn.apache.org/viewvc?rev=407674&view=rev Log: Cleaning up the sandbox Removed: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/tomcat3/ tomcat/connectors/trunk/coyote/src/java/org/apache/co

svn commit: r407675 - /tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/memory/

2006-05-18 Thread costin
Author: costin Date: Thu May 18 17:59:12 2006 New Revision: 407675 URL: http://svn.apache.org/viewvc?rev=407675&view=rev Log: Unused Removed: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/memory/

svn commit: r407676 - /tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/

2006-05-18 Thread costin
Author: costin Date: Thu May 18 18:00:47 2006 New Revision: 407676 URL: http://svn.apache.org/viewvc?rev=407676&view=rev Log: Duplicates Removed: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/ActionCode.java tomcat/connectors/trunk/coyote/src/java/org/apache/co

svn commit: r407677 - in /tomcat/connectors/trunk/coyote/src/java/org/apache/coyote: tomcat3/ tomcat4/

2006-05-18 Thread costin
Author: costin Date: Thu May 18 18:24:04 2006 New Revision: 407677 URL: http://svn.apache.org/viewvc?rev=407677&view=rev Log: Rollback, bad eclipse ( or bad copy )... Added: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/tomcat3/ - copied from r407673, tomcat/connec

svn commit: r407678 - /tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/

2006-05-18 Thread costin
Author: costin Date: Thu May 18 18:25:12 2006 New Revision: 407678 URL: http://svn.apache.org/viewvc?rev=407678&view=rev Log: Rolling back Added: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/ActionCode.java - copied unchanged from r407675, tomcat/connectors/trunk/co

svn commit: r407679 - in /tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/memory: ./ MemoryProtocolHandler.java

2006-05-18 Thread costin
Author: costin Date: Thu May 18 18:26:17 2006 New Revision: 407679 URL: http://svn.apache.org/viewvc?rev=407679&view=rev Log: Rollback Added: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/memory/ - copied from r407674, tomcat/connectors/trunk/coyote/src/java/org/ap

svn commit: r407715 [2/2] - in /tomcat/sandbox: ./ java/org/apache/coyote/adapters/ java/org/apache/coyote/http11/ java/org/apache/coyote/http11/apr/ java/org/apache/coyote/standalone/ java/org/apache

2006-05-18 Thread costin
s. + * This mechanism is defined in the MLetClassLoader and is also used by JBoss and + * few other servers. + * + * TODO: explain more ( or point to the right jboss/mlet pages ) + * TODO: explain how this can be used for webapps to support better partitioning + * + * @author Costin Manolache + */

svn commit: r407717 - in /tomcat/sandbox: Tomcat5.5.launch Tomcat6Sandbox.launch

2006-05-18 Thread costin
Author: costin Date: Thu May 18 22:25:26 2006 New Revision: 407717 URL: http://svn.apache.org/viewvc?rev=407717&view=rev Log: Switched the launcher - will launch in tomcat6/build, with sandbox in classpath before tomcat6. Added: tomcat/sandbox/Tomcat6Sandbox.launch Removed: to

svn commit: r407937 - in /tomcat/sandbox/java/org/apache/tomcat/util/modeler: AttributeInfo.java BaseModelMBean.java ConstructorInfo.java FeatureInfo.java ManagedBean.java OperationInfo.java Parameter

2006-05-19 Thread costin
Author: costin Date: Fri May 19 19:08:49 2006 New Revision: 407937 URL: http://svn.apache.org/viewvc?rev=407937&view=rev Log: More cleanup of unused stuff. Modified: tomcat/sandbox/java/org/apache/tomcat/util/modeler/AttributeInfo.java tomcat/sandbox/java/org/apache/tomcat/util/mod

svn commit: r407938 - in /tomcat/sandbox/java/org/apache/coyote: adapters/FileAdapter.java adapters/MapperAdapter.java standalone/Main.java standalone/MainInetd.java

2006-05-19 Thread costin
Author: costin Date: Fri May 19 19:09:31 2006 New Revision: 407938 URL: http://svn.apache.org/viewvc?rev=407938&view=rev Log: Few fixes - probably most of it can be removed, but until then it better work. Modified: tomcat/sandbox/java/org/apache/coyote/adapters/FileAdapter.java to

svn commit: r407939 [5/8] - in /tomcat/sandbox/java/org/apache/coyote/servlet: ./ util/

2006-05-19 Thread costin
new File(basePath, path); + } else { +jarFile = new File(context.getWorkPath(), path); +} +if (jarFile.exists()) { +return jarFile.toURL(); +} else { +return null; +} +} else { + +

svn commit: r407939 [3/8] - in /tomcat/sandbox/java/org/apache/coyote/servlet: ./ util/

2006-05-19 Thread costin
Added: tomcat/sandbox/java/org/apache/coyote/servlet/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/sandbox/java/org/apache/coyote/servlet/LocalStrings.properties?rev=407939&view=auto == --- tomcat/sandbo

svn commit: r409040 - in /tomcat/sandbox/java/org/apache/coyote: adapters/ http11/ standalone/

2006-05-23 Thread costin
Author: costin Date: Tue May 23 19:49:08 2006 New Revision: 409040 URL: http://svn.apache.org/viewvc?rev=409040&view=rev Log: Clean up. Refactoring apr/old processor didn't work out. Standalone coyote didn't work out either - the API is too low level, another experiment is in ser

svn commit: r409041 - in /tomcat/sandbox/java/org/apache/tomcat/util/net: ./ javaio/ nio/ res/ simple/

2006-05-23 Thread costin
Author: costin Date: Tue May 23 19:50:33 2006 New Revision: 409041 URL: http://svn.apache.org/viewvc?rev=409041&view=rev Log: Remove dead code - refactoring of the connector. Since having a common base is not likely - I'm using same approach as apr, i.e. separate connector, duplicate

  1   2   3   4   5   6   7   >