tomcat7.0
16 years agoRefactoring of async logging handler. Much cleaner code achieves the exact same funct...
fhanik [Mon, 14 Sep 2009 20:06:03 +0000 (20:06 +0000)]
Refactoring of async logging handler. Much cleaner code achieves the exact same functionality.
The fact that the queue is bounded means that we never have to worry about the size

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814823 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd in behavior and properties around async logging.
fhanik [Mon, 14 Sep 2009 18:53:27 +0000 (18:53 +0000)]
Add in behavior and properties around async logging.
Thinking about it, I think the exact same functionality can be achieved in a much simpler manner by just using a blocking queue.
Will attempt that refactor next

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814775 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAllow buffer size to be configurable instead of accepting the default
fhanik [Mon, 14 Sep 2009 15:43:41 +0000 (15:43 +0000)]
Allow buffer size to be configurable instead of accepting the default

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814708 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47834
markt [Mon, 14 Sep 2009 12:39:45 +0000 (12:39 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47834
As well as the JAR as directory feature requested, this adds looking at all files to see if they are JARs rather than using the presence of a .jar extension. These features are optional for the Servlet spec but required for RFC66 in an OSGI environment.
Both options are configurable with system properties and default to off.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814617 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUnlikely, but handle it in case.
markt [Sun, 13 Sep 2009 18:27:37 +0000 (18:27 +0000)]
Unlikely, but handle it in case.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814377 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAnother typo, spotted by sebb
idarwin [Sun, 13 Sep 2009 00:41:02 +0000 (00:41 +0000)]
Another typo, spotted by sebb

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814257 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTrivial typo correction
idarwin [Sat, 12 Sep 2009 16:58:08 +0000 (16:58 +0000)]
Trivial typo correction

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814198 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47425
markt [Sat, 12 Sep 2009 16:43:45 +0000 (16:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47425
Document the crlFile attribute

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814191 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47826
markt [Sat, 12 Sep 2009 16:13:14 +0000 (16:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47826
Broken debug message

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814180 13f79535-47bb-0310-9956-ffa450edef68

16 years agoClean up unused imports and variables
markt [Sat, 12 Sep 2009 16:10:43 +0000 (16:10 +0000)]
Clean up unused imports and variables

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814179 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTrivial - fix an Eclipse warning
markt [Sat, 12 Sep 2009 16:08:03 +0000 (16:08 +0000)]
Trivial - fix an Eclipse warning

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814178 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSwitch to volatile for status flag used by multiple
rjung [Fri, 11 Sep 2009 20:51:00 +0000 (20:51 +0000)]
Switch to volatile for status flag used by multiple
threads during cluster context startup.

Without volatile problems have been observed, where the
change by one thread was actually not seen by the other
thread.

Performance implications are neglectable, because the
variable is only used during context startup.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@814024 13f79535-47bb-0310-9956-ffa450edef68

16 years agoPut deps in right place - hopefully keep gump happy
markt [Fri, 11 Sep 2009 18:07:10 +0000 (18:07 +0000)]
Put deps in right place - hopefully keep gump happy

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813964 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCreate a single embedded logging jar for log4j that just replaces the juli logging jar
markt [Fri, 11 Sep 2009 17:49:48 +0000 (17:49 +0000)]
Create a single embedded logging jar for log4j that just replaces the juli logging jar

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813952 13f79535-47bb-0310-9956-ffa450edef68

16 years agoClearer naming for embedded jars
markt [Fri, 11 Sep 2009 17:36:35 +0000 (17:36 +0000)]
Clearer naming for embedded jars

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813942 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSince individual jars are made available for download, really should have LICENSE...
markt [Fri, 11 Sep 2009 17:33:07 +0000 (17:33 +0000)]
Since individual jars are made available for download, really should have LICENSE and NOTICE embedded in the JAR files.
This patch enables per-jar NOTICE, LICENSE and manifest files with most using the defaults.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813936 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd the Servlet 3.0 xsd's
markt [Fri, 11 Sep 2009 16:12:47 +0000 (16:12 +0000)]
Add the Servlet 3.0 xsd's

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813905 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47824
markt [Fri, 11 Sep 2009 14:55:09 +0000 (14:55 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47824

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813866 13f79535-47bb-0310-9956-ffa450edef68

16 years agoChecked first 2 chapters
markt [Fri, 11 Sep 2009 13:25:12 +0000 (13:25 +0000)]
Checked first 2 chapters

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813823 13f79535-47bb-0310-9956-ffa450edef68

16 years agoNo functional change. Add new classes that will be used to store the results of parsi...
markt [Fri, 11 Sep 2009 12:50:44 +0000 (12:50 +0000)]
No functional change. Add new classes that will be used to store the results of parsing web.xml and web-fragment.xml files. The merging and ordering rules can't be handled in the digester so we now have to parse to a temporary store and then merge.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813815 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove TODO. Spec now includes ayncSupported in web.xml
markt [Fri, 11 Sep 2009 10:48:32 +0000 (10:48 +0000)]
Remove TODO. Spec now includes ayncSupported in web.xml

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813772 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix some niggles with icons in web.xml processing. Nothing that will cause a problem...
markt [Fri, 11 Sep 2009 10:47:11 +0000 (10:47 +0000)]
Fix some niggles with icons in web.xml processing. Nothing that will cause a problem, just errors spotted whilst preparing for Servlet 3.0 fragment proceessing

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813771 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix additional issue related to https://issues.apache.org/bugzilla/show_bug.cgi?id...
markt [Wed, 9 Sep 2009 16:01:21 +0000 (16:01 +0000)]
Fix additional issue related to https://issues.apache.org/bugzilla/show_bug.cgi?id=45785
Exclude directories named *.jar for the extension validator
Also simplify isDirectory() check as that includes exists()
Based on a patch by Rolf Wojtech

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813013 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd additional permission required by JULI.
markt [Wed, 9 Sep 2009 15:39:31 +0000 (15:39 +0000)]
Add additional permission required by JULI.
Looks like the j.u.l.LogManager impl changed

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@813001 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix getter access of boolean attributes
pero [Wed, 9 Sep 2009 08:29:33 +0000 (08:29 +0000)]
Fix getter access of boolean attributes

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812819 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix typo reported on users list
markt [Wed, 9 Sep 2009 08:12:13 +0000 (08:12 +0000)]
Fix typo reported on users list

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812812 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMake the JDBC leak prevention play nicely with a security manager
markt [Tue, 8 Sep 2009 10:24:29 +0000 (10:24 +0000)]
Make the JDBC leak prevention play nicely with a security manager
Don't use a fixed size buffer to load the class.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812432 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove reference to deleted class
markt [Mon, 7 Sep 2009 22:16:16 +0000 (22:16 +0000)]
Remove reference to deleted class

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812295 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd an method that enables JNDI and a test case to make sure it works
markt [Mon, 7 Sep 2009 15:54:08 +0000 (15:54 +0000)]
Add an method that enables JNDI and a test case to make sure it works

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812210 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix typo
markt [Mon, 7 Sep 2009 13:50:12 +0000 (13:50 +0000)]
Fix typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812137 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix spelling and other minor niggles
markt [Mon, 7 Sep 2009 13:24:50 +0000 (13:24 +0000)]
Fix spelling and other minor niggles

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812125 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove attribute duplication - pages were often out of sync
markt [Mon, 7 Sep 2009 13:01:59 +0000 (13:01 +0000)]
Remove attribute duplication - pages were often out of sync

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812119 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix typo
markt [Mon, 7 Sep 2009 13:01:34 +0000 (13:01 +0000)]
Fix typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812118 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd a couple of TODOs
markt [Mon, 7 Sep 2009 12:39:42 +0000 (12:39 +0000)]
Add a couple of TODOs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812114 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd a TODO
markt [Mon, 7 Sep 2009 12:26:19 +0000 (12:26 +0000)]
Add a TODO

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@812107 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd a note about the classpath changes
markt [Thu, 3 Sep 2009 14:48:36 +0000 (14:48 +0000)]
Add a note about the classpath changes

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@810977 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAllow per instance selection of log4j or JULI logging.
markt [Thu, 3 Sep 2009 14:48:03 +0000 (14:48 +0000)]
Allow per instance selection of log4j or JULI logging.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@810976 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove version number reference so I can just copy this to 6 as it is updated
markt [Thu, 3 Sep 2009 14:14:32 +0000 (14:14 +0000)]
Remove version number reference so I can just copy this to 6 as it is updated

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@810959 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMore logging docs improvements:
markt [Thu, 3 Sep 2009 14:12:28 +0000 (14:12 +0000)]
More logging docs improvements:
- remove some whitespace
- reduce width slightly
- add note about preventing zero length j.u.l files when using log4j
- logs dir is relative to catalina.base, not catalina.home

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@810958 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAn attempt to improve the logging doc:
markt [Thu, 3 Sep 2009 13:20:49 +0000 (13:20 +0000)]
An attempt to improve the logging doc:
- discuss java.util.logging first as it is the default
- remove duplicate output from log4j config
- stick to 80 char width where possible

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@810930 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAllow per instance log4j.properties, jar files (eg JDBC drivers) etc
markt [Thu, 3 Sep 2009 12:40:20 +0000 (12:40 +0000)]
Allow per instance log4j.properties, jar files (eg JDBC drivers) etc

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@810916 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMake the PID improvements Solaris friendly.
markt [Wed, 2 Sep 2009 17:00:39 +0000 (17:00 +0000)]
Make the PID improvements Solaris friendly.
Add some more error checking to the stop command

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@810611 13f79535-47bb-0310-9956-ffa450edef68

16 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=47705
funkman [Mon, 31 Aug 2009 14:17:37 +0000 (14:17 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=47705

ArithmeticException: / by zero when expiring sessions via manager

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@809603 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAllow welcome files without a physical backing.
funkman [Mon, 31 Aug 2009 13:59:00 +0000 (13:59 +0000)]
Allow welcome files without a physical backing.
Inspired by this bug https://issues.apache.org/bugzilla/show_bug.cgi?id=47378

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@809596 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix regression in previous fix for https://issues.apache.org/bugzilla/show_bug.cgi...
markt [Sat, 29 Aug 2009 13:24:18 +0000 (13:24 +0000)]
Fix regression in previous fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=38797
Update list of introduced variables before the tag body is processed in case they are used in the tag body.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@809131 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd in option to resize thread pool
fhanik [Mon, 24 Aug 2009 19:58:23 +0000 (19:58 +0000)]
Add in option to resize thread pool

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@807358 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAbstract out most commonly used properties
fhanik [Mon, 24 Aug 2009 18:06:06 +0000 (18:06 +0000)]
Abstract out most commonly used properties

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@807324 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFirst round of refactoring connectors.
fhanik [Mon, 24 Aug 2009 15:33:48 +0000 (15:33 +0000)]
First round of refactoring connectors.
Remove the worker based thread pools
Enable local or injected executors
Add in a resizable executors interface to be used in future revisions
start abstracting out and using a base class. There was one, deleted, since its not used anywhere

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@807284 13f79535-47bb-0310-9956-ffa450edef68

16 years agoExtract the SimpleHttpClient in to a separate class and move it to a more logical...
markt [Mon, 24 Aug 2009 08:22:21 +0000 (08:22 +0000)]
Extract the SimpleHttpClient in to a separate class and move it to a more logical package since it will be reused.
Don't override method unnecessarily.
Add test case for bug 46243

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@807113 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd a simple Hello World Servlet that can be used for testing.
markt [Mon, 24 Aug 2009 08:20:12 +0000 (08:20 +0000)]
Add a simple Hello World Servlet that can be used for testing.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@807112 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd the Servlet 3.0 schemas
markt [Wed, 19 Aug 2009 10:08:26 +0000 (10:08 +0000)]
Add the Servlet 3.0 schemas

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805724 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd CDDL election notice to imported Servlet 3.0 XSDs
markt [Wed, 19 Aug 2009 10:07:56 +0000 (10:07 +0000)]
Add CDDL election notice to imported Servlet 3.0 XSDs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805722 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd another Servlet 3.0 XSD.
markt [Wed, 19 Aug 2009 10:05:02 +0000 (10:05 +0000)]
Add another Servlet 3.0 XSD.
This are the originals copied from the Glassfish repository. I'll add the election to use only the CDDL in the next commit.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805721 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd the Servlet 3.0 XSDs.
markt [Wed, 19 Aug 2009 10:04:18 +0000 (10:04 +0000)]
Add the Servlet 3.0 XSDs.
This are the originals copied from the Glassfish repository. I'll add the election to use only the CDDL in the next commit.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805720 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReplace the RequestDumperValve with a RequestDumperFilter. Merge the RequestDumperFil...
markt [Tue, 18 Aug 2009 11:49:26 +0000 (11:49 +0000)]
Replace the RequestDumperValve with a RequestDumperFilter. Merge the RequestDumperFilter from the examples with this new filter.
Adds:
- thread name to start of output line to make analysing output easier
- request timings
GSOC 2009
Based on a patch by Xie Xiaodong

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805375 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd a new logging formatter that just echos out the log message. Useful for the reque...
markt [Tue, 18 Aug 2009 11:29:05 +0000 (11:29 +0000)]
Add a new logging formatter that just echos out the log message. Useful for the request dumper, access logs etc.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805368 13f79535-47bb-0310-9956-ffa450edef68

16 years agoList filters alphabetically
markt [Tue, 18 Aug 2009 08:33:47 +0000 (08:33 +0000)]
List filters alphabetically

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805322 13f79535-47bb-0310-9956-ffa450edef68

16 years agoClean-up / simplification.
markt [Tue, 18 Aug 2009 08:29:25 +0000 (08:29 +0000)]
Clean-up / simplification.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805321 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=44041
markt [Mon, 17 Aug 2009 22:20:29 +0000 (22:20 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44041
Remove previous sync that didn't fix the issue
Make loadClass synchronized like java.lang.ClassLoader
I was concerned about possible performance implications but I saw no detectable change in start-up time with this change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805182 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix NPE if something tries to access resources accessed during a stop.
markt [Mon, 17 Aug 2009 21:40:41 +0000 (21:40 +0000)]
Fix NPE if something tries to access resources accessed during a stop.
This was seen when unpackWARs="false" and the JDBC clean up code tried to load the leak prevention class during a context stop.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805153 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDon't sleep if there is nothing to sleep for. Update the usage text.
markt [Mon, 17 Aug 2009 13:43:20 +0000 (13:43 +0000)]
Don't sleep if there is nothing to sleep for. Update the usage text.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804982 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47699
markt [Mon, 17 Aug 2009 13:01:31 +0000 (13:01 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47699
Better handling of PID files

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804963 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRestore fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=42390
markt [Sun, 16 Aug 2009 18:05:41 +0000 (18:05 +0000)]
Restore fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=42390
I have done some more testing with tag files, simple tags and tags and can't find any regressions. The TCK also passes.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804734 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix some typos
markt [Sun, 16 Aug 2009 17:28:50 +0000 (17:28 +0000)]
Fix some typos

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804725 13f79535-47bb-0310-9956-ffa450edef68

16 years agoThe problem at sourceforge was solved.
kkolinko [Sun, 16 Aug 2009 02:17:52 +0000 (02:17 +0000)]
The problem at sourceforge was solved.
Revert to the original configuration, but leave a comment there.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804549 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReturn 'false' if nested copyDir call failed.
kkolinko [Sun, 16 Aug 2009 01:55:25 +0000 (01:55 +0000)]
Return 'false' if nested copyDir call failed.
It is part of the patch for issue 45403 that was applied in rev.804462

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804544 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReplace syncs with threadlocals.
markt [Sat, 15 Aug 2009 17:40:40 +0000 (17:40 +0000)]
Replace syncs with threadlocals.
Improve the logic that determines when to generate a new format string

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804495 13f79535-47bb-0310-9956-ffa450edef68

16 years agoApply Konstantin's new patch for https://issues.apache.org/bugzilla/show_bug.cgi...
markt [Sat, 15 Aug 2009 12:07:42 +0000 (12:07 +0000)]
Apply Konstantin's new patch for https://issues.apache.org/bugzilla/show_bug.cgi?id=45403

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804462 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRevert r701358 for https://issues.apache.org/bugzilla/show_bug.cgi?id=45403
markt [Sat, 15 Aug 2009 12:06:24 +0000 (12:06 +0000)]
Revert r701358 for https://issues.apache.org/bugzilla/show_bug.cgi?id=45403

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804461 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDeserialize with the webapp classloader as the context classloader
fhanik [Thu, 13 Aug 2009 23:10:40 +0000 (23:10 +0000)]
Deserialize with the webapp classloader as the context classloader

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@804057 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved unused method ID'd by the unused code detector
markt [Wed, 12 Aug 2009 14:14:47 +0000 (14:14 +0000)]
Removed unused method ID'd by the unused code detector

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@803527 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMake error message more meaningful
markt [Mon, 10 Aug 2009 22:01:57 +0000 (22:01 +0000)]
Make error message more meaningful

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802940 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd filtering of Comet events to the request filters
markt [Mon, 10 Aug 2009 18:23:17 +0000 (18:23 +0000)]
Add filtering of Comet events to the request filters
Based on a patch provided by Xie Xiaodong as part of GSOC2009.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802882 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImprove the JMX remote docs before proposing a backport
markt [Mon, 10 Aug 2009 12:57:09 +0000 (12:57 +0000)]
Improve the JMX remote docs before proposing a backport

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802774 13f79535-47bb-0310-9956-ffa450edef68

16 years agoThis todo was fixed
markt [Mon, 10 Aug 2009 10:34:57 +0000 (10:34 +0000)]
This todo was fixed

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802729 13f79535-47bb-0310-9956-ffa450edef68

16 years agoExpose filters via JMX. Filter config is now available via JMX in read-only form.
markt [Mon, 10 Aug 2009 10:28:16 +0000 (10:28 +0000)]
Expose filters via JMX. Filter config is now available via JMX in read-only form.
Based on a patch provided by Xie Xiaodong as part of GSOC2009.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802727 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTypo
markt [Mon, 10 Aug 2009 10:14:46 +0000 (10:14 +0000)]
Typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802719 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove another broken external. Not required. native sources are downloaded as part...
markt [Fri, 7 Aug 2009 22:29:43 +0000 (22:29 +0000)]
Remove another broken external. Not required. native sources are downloaded as part of the build process.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802260 13f79535-47bb-0310-9956-ffa450edef68

16 years agokeep track of which bits of the spec have been checked
markt [Fri, 7 Aug 2009 19:35:32 +0000 (19:35 +0000)]
keep track of which bits of the spec have been checked

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802157 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCouple more unused imports
markt [Fri, 7 Aug 2009 19:19:46 +0000 (19:19 +0000)]
Couple more unused imports

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802151 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove catalina import from spec classes
markt [Fri, 7 Aug 2009 19:18:21 +0000 (19:18 +0000)]
Remove catalina import from spec classes

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802150 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix some Eclipse warnings
markt [Fri, 7 Aug 2009 19:17:36 +0000 (19:17 +0000)]
Fix some Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802147 13f79535-47bb-0310-9956-ffa450edef68

16 years agoComplete implementation of SessionCookieConfig
markt [Fri, 7 Aug 2009 19:15:54 +0000 (19:15 +0000)]
Complete implementation of SessionCookieConfig

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802146 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor code clean-up
markt [Fri, 7 Aug 2009 18:54:18 +0000 (18:54 +0000)]
Minor code clean-up

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802143 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGet SSL session tracking working again.
markt [Fri, 7 Aug 2009 16:10:27 +0000 (16:10 +0000)]
Get SSL session tracking working again.
If you use http you'll get new session ID on every request
If you use https you get the SSL session ID

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802064 13f79535-47bb-0310-9956-ffa450edef68

16 years agominor refactoring, simplify initialization
fhanik [Fri, 7 Aug 2009 14:58:41 +0000 (14:58 +0000)]
minor refactoring, simplify initialization

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802032 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRefactor location of AsyncContextImpl to o.a.catalina.core
fhanik [Fri, 7 Aug 2009 14:49:19 +0000 (14:49 +0000)]
Refactor location of AsyncContextImpl to o.a.catalina.core

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@802026 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove unnecessary tests and casts
markt [Fri, 7 Aug 2009 12:35:06 +0000 (12:35 +0000)]
Remove unnecessary tests and casts

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801971 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved unused imports and an unused local variable reported by Eclipse
markt [Fri, 7 Aug 2009 12:30:49 +0000 (12:30 +0000)]
Removed unused imports and an unused local variable reported by Eclipse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801969 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix some Eclipse warnings. Could remove the unused parameters but that would break...
markt [Fri, 7 Aug 2009 12:24:54 +0000 (12:24 +0000)]
Fix some Eclipse warnings. Could remove the unused parameters but that would break the pattern of method signatures

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801967 13f79535-47bb-0310-9956-ffa450edef68

16 years agoModify the embedded target so the extras package can be used if log4j logging is...
markt [Fri, 7 Aug 2009 10:49:54 +0000 (10:49 +0000)]
Modify the embedded target so the extras package can be used if log4j logging is required.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801944 13f79535-47bb-0310-9956-ffa450edef68

16 years agoNeed to figure out how to set the context class loader here
fhanik [Thu, 6 Aug 2009 22:59:25 +0000 (22:59 +0000)]
Need to figure out how to set the context class loader here

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801832 13f79535-47bb-0310-9956-ffa450edef68

16 years agoclarify name
fhanik [Thu, 6 Aug 2009 22:44:35 +0000 (22:44 +0000)]
clarify name

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801827 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd in handling of async supported for filters during regular invokation and a dispatch
fhanik [Thu, 6 Aug 2009 22:19:08 +0000 (22:19 +0000)]
Add in handling of async supported for filters during regular invokation and a dispatch

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801824 13f79535-47bb-0310-9956-ffa450edef68

16 years agoOne more use case
fhanik [Thu, 6 Aug 2009 19:34:34 +0000 (19:34 +0000)]
One more use case

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801789 13f79535-47bb-0310-9956-ffa450edef68

16 years agoIf dispatch is called on a worker thread, simply execute it, instead of throwing...
fhanik [Thu, 6 Aug 2009 16:25:04 +0000 (16:25 +0000)]
If dispatch is called on a worker thread, simply execute it, instead of throwing exception. No need to hand off to container

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801705 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAnother use case
fhanik [Thu, 6 Aug 2009 16:10:34 +0000 (16:10 +0000)]
Another use case

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801693 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTLD handling improvements
markt [Thu, 6 Aug 2009 13:08:31 +0000 (13:08 +0000)]
TLD handling improvements
- make non standard behaviour configurable
- add a few more log messages
- sync method names

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801637 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor tweaks that will make a later proposal (will follow when I have done some more...
markt [Thu, 6 Aug 2009 11:15:44 +0000 (11:15 +0000)]
Minor tweaks that will make a later proposal (will follow when I have done some more testing) easier.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801601 13f79535-47bb-0310-9956-ffa450edef68

16 years agoremove non used import
fhanik [Thu, 6 Aug 2009 02:55:17 +0000 (02:55 +0000)]
remove non used import

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@801502 13f79535-47bb-0310-9956-ffa450edef68