tomcat7.0
16 years agoUpdate test to use a resource that does exist.
markt [Mon, 21 Sep 2009 11:06:52 +0000 (11:06 +0000)]
Update test to use a resource that does exist.

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

16 years agoFix possible NPE when embedded
markt [Mon, 21 Sep 2009 11:02:27 +0000 (11:02 +0000)]
Fix possible NPE when embedded

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

16 years agoAdd a test case for https://issues.apache.org/bugzilla/show_bug.cgi?id=47866
markt [Mon, 21 Sep 2009 10:54:36 +0000 (10:54 +0000)]
Add a test case for https://issues.apache.org/bugzilla/show_bug.cgi?id=47866
Fix a couple of places where expected and actual were the wrong way around

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47231
markt [Sun, 20 Sep 2009 23:10:15 +0000 (23:10 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47231
Improve the SSL docs. Based on a patch by Sebb.
Remove duplication of configuration parameters - it is better to reference the config docs to prevent the two lists of attributes getting out of sync.

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

16 years agoEclipse 3.5 has a new dead code detector. Fix various debug related logging issues...
markt [Sun, 20 Sep 2009 18:32:48 +0000 (18:32 +0000)]
Eclipse 3.5 has a new dead code detector. Fix various debug related logging issues found.
Update copy of IntrospectionUtils in test suite (it was quicker than porting the individual fixes)

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

16 years agoTabs -> 8 spaces
markt [Sun, 20 Sep 2009 18:28:22 +0000 (18:28 +0000)]
Tabs -> 8 spaces

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

16 years agoFirst part of the Servlet3 web-fragment support.
markt [Sat, 19 Sep 2009 20:13:22 +0000 (20:13 +0000)]
First part of the Servlet3 web-fragment support.
This patch inserts a stage into the web.xml processing. web.xml files are now parsed and loaded into an instance of WebXml and then that WebXml instance is used to configure the context. This will allow the subsequent addition of parsing and merging web-fragment.xml files. The hooks are in place to add this functionality but it has not yet been written.
With the patch applied, the Servlet 2.5 TCK and JSP 2.1 TCK pass with the exception of the Servlet version number checks.

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

16 years agoAdd my new key
markt [Sat, 19 Sep 2009 00:32:38 +0000 (00:32 +0000)]
Add my new key

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

16 years agoReplace parseException instance field
markt [Thu, 17 Sep 2009 16:10:05 +0000 (16:10 +0000)]
Replace parseException instance field

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

16 years agoEnable the ability to disable the buffered writer. This does bunch of copying when...
fhanik [Thu, 17 Sep 2009 16:07:13 +0000 (16:07 +0000)]
Enable the ability to disable the buffered writer. This does bunch of copying when writing using an async thread there is no need for such a thing

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47225
markt [Wed, 16 Sep 2009 21:17:11 +0000 (21:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47225
Buffer length is end-offset

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

16 years agoUpdate to Maven deploy process. A SNAPHOT deployment of trunk should now work and...
markt [Wed, 16 Sep 2009 20:23:44 +0000 (20:23 +0000)]
Update to Maven deploy process. A SNAPHOT deployment of trunk should now work and include extras and embedded.

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

16 years agoCorrect the SNAPSHOT version number
markt [Wed, 16 Sep 2009 16:02:39 +0000 (16:02 +0000)]
Correct the SNAPSHOT version number

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

16 years agoAdd the extra JARs, update version numbers and add a note about some issues I saw...
markt [Wed, 16 Sep 2009 15:49:01 +0000 (15:49 +0000)]
Add the extra JARs, update version numbers and add a note about some issues I saw on Windows.

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

16 years agoAdd a bunch of additional poms.
markt [Wed, 16 Sep 2009 15:46:06 +0000 (15:46 +0000)]
Add a bunch of additional poms.

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

16 years agoBZ47852: Javadoc fixes.
rjung [Wed, 16 Sep 2009 14:54:07 +0000 (14:54 +0000)]
BZ47852: Javadoc fixes.
Patch by Sebb.

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

16 years agoUse defaults where appropriate for jarIt macro
markt [Wed, 16 Sep 2009 08:09:08 +0000 (08:09 +0000)]
Use defaults where appropriate for jarIt macro
A couple of minor packaging tweaks

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

16 years agoRemove all traces of maxSpareThreads
markt [Tue, 15 Sep 2009 21:09:18 +0000 (21:09 +0000)]
Remove all traces of maxSpareThreads

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

16 years agoFix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47161
markt [Tue, 15 Sep 2009 21:06:14 +0000 (21:06 +0000)]
Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47161
Correctly report maxThreads
Note 6.0.x will need a different fix as it still uses threadpools

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

16 years agoFix Tomcat side of https://issues.apache.org/bugzilla/show_bug.cgi?id=46950
markt [Tue, 15 Sep 2009 17:50:54 +0000 (17:50 +0000)]
Fix Tomcat side of https://issues.apache.org/bugzilla/show_bug.cgi?id=46950
- adds new setVerify() method
- uses it before renegotiation to change the cert verification level for the connection
- increments minimum tc native version to 1.1.17 as it requires the new setVerify() method

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

16 years agoFix NPE if no filters are configured.
markt [Tue, 15 Sep 2009 12:27:40 +0000 (12:27 +0000)]
Fix NPE if no filters are configured.

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

16 years agoMake the setter do something.
markt [Tue, 15 Sep 2009 12:25:23 +0000 (12:25 +0000)]
Make the setter do something.

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

16 years agoUpdate the ignore list
markt [Tue, 15 Sep 2009 11:50:43 +0000 (11:50 +0000)]
Update the ignore list

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

16 years agoUpdate version.
markt [Tue, 15 Sep 2009 11:49:51 +0000 (11:49 +0000)]
Update version.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47828
markt [Tue, 15 Sep 2009 10:38:23 +0000 (10:38 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47828
Change Tomcat.setSilent() to setSilent(boolean) so it can be turned on and off

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47827
markt [Tue, 15 Sep 2009 10:35:03 +0000 (10:35 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47827
Be more specific about the exception that is thrown

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

16 years agoSide-effect of fixing https://issues.apache.org/bugzilla/show_bug.cgi?id=47827
markt [Tue, 15 Sep 2009 10:34:05 +0000 (10:34 +0000)]
Side-effect of fixing https://issues.apache.org/bugzilla/show_bug.cgi?id=47827
No need to declare throws Exception here

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47820
markt [Tue, 15 Sep 2009 10:26:32 +0000 (10:26 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47820
Add non-static versions of static methods

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

16 years agoFixed https://issues.apache.org/bugzilla/show_bug.cgi?id=47819
markt [Tue, 15 Sep 2009 09:53:41 +0000 (09:53 +0000)]
Fixed https://issues.apache.org/bugzilla/show_bug.cgi?id=47819
Add source jar generation to embedded.
Based on a patch by Dave Syer

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47792
markt [Tue, 15 Sep 2009 09:21:15 +0000 (09:21 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47792
Some parameters documented as longs, are actually ints
Patch provided by Phil Steitz

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47791
markt [Tue, 15 Sep 2009 09:19:27 +0000 (09:19 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47791
Update h2 download location
Patch provided by Phil Steitz

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

16 years agoDon't flush each time if we use a buffered output stream. It flushes for you
fhanik [Mon, 14 Sep 2009 21:47:04 +0000 (21:47 +0000)]
Don't flush each time if we use a buffered output stream. It flushes for you

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

16 years agocheck for return from the queue
fhanik [Mon, 14 Sep 2009 20:48:12 +0000 (20:48 +0000)]
check for return from the queue

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

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