tomcat7.0
16 years agoconsolidate two input buffers into one, no functional change, just abstract out exact...
fhanik [Thu, 8 Oct 2009 22:37:52 +0000 (22:37 +0000)]
consolidate two input buffers into one, no functional change, just abstract out exact same code used in two connectors

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

16 years agoRefactor the BIO connector to align it better for async support, this means a "poller...
fhanik [Thu, 8 Oct 2009 17:08:20 +0000 (17:08 +0000)]
Refactor the BIO connector to align it better for async support, this means a "poller" style for timeouts etc.
First step is to allow the connector to do keep alive on more connections than we have threads.
More changes to follow, good chance that NIO and BIO can share tons of code

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

16 years agoremove not needed entry
fhanik [Thu, 8 Oct 2009 16:40:31 +0000 (16:40 +0000)]
remove not needed entry

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

16 years agoRemove Javadoc for method argument, that was
rjung [Sun, 4 Oct 2009 11:04:37 +0000 (11:04 +0000)]
Remove Javadoc for method argument, that was
erroneously added in r684270.

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

16 years agoUpgrade to pool 1.5.3
markt [Sat, 3 Oct 2009 20:59:45 +0000 (20:59 +0000)]
Upgrade to pool 1.5.3

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

16 years agoMore docs tweaks based on Rainer's and Konstantin's feedback
markt [Sat, 3 Oct 2009 19:43:34 +0000 (19:43 +0000)]
More docs tweaks based on Rainer's and Konstantin's feedback

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

16 years agoIgnore duplicate entries on the classpath.
markt [Sat, 3 Oct 2009 19:36:01 +0000 (19:36 +0000)]
Ignore duplicate entries on the classpath.
Patch could be smaller but change variable name to make new behaviour clear

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

16 years agoFix BASE/HOME swap and add note re security manager.
markt [Sat, 3 Oct 2009 16:20:49 +0000 (16:20 +0000)]
Fix BASE/HOME swap and add note re security manager.

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

16 years agoUpdate tomcat-docs.xsl
kkolinko [Sat, 3 Oct 2009 02:08:13 +0000 (02:08 +0000)]
Update tomcat-docs.xsl
It is port of rev.821208 from tc6.0.x

1. Properly publish author names in <meta> HTML tag (it has content attribute, not value),
and do not publish e-mails.
2. Added support for "rtext" attribute on <section> tag. I use it to include release dates in changelog.xml.

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

16 years agoUse proper method to construct an URL string.
kkolinko [Fri, 2 Oct 2009 10:39:21 +0000 (10:39 +0000)]
Use proper method to construct an URL string.
File.toURI() takes care of absolute paths, trailing slashes in the names of directories, encoding of special characters such as '%'.
Based on a suggestion by Rainer Jung.

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

16 years agotomcat-coyote.jar (former tomcat-util.jar before rev.389946) is not needed by bootstr...
kkolinko [Fri, 2 Oct 2009 03:16:12 +0000 (03:16 +0000)]
tomcat-coyote.jar (former tomcat-util.jar before rev.389946) is not needed by bootstrap classes

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

16 years agoAdd port in the message.
jfclere [Wed, 30 Sep 2009 09:03:25 +0000 (09:03 +0000)]
Add port in the message.

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

16 years agoDo not reuse sessionsList window to show sessionsDetail.
kkolinko [Wed, 30 Sep 2009 00:01:17 +0000 (00:01 +0000)]
Do not reuse sessionsList window to show sessionsDetail.
It adds more sense to the "Close window" button on that page.

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

16 years agoDo proper nesting of HTML tags and add DOCTYPE declaration.
kkolinko [Tue, 29 Sep 2009 23:23:11 +0000 (23:23 +0000)]
Do proper nesting of HTML tags and add DOCTYPE declaration.

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

16 years agoCorrect wording
kkolinko [Tue, 29 Sep 2009 22:54:17 +0000 (22:54 +0000)]
Correct wording

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

16 years agoDo not include ASF License comment into generated output
kkolinko [Tue, 29 Sep 2009 22:48:09 +0000 (22:48 +0000)]
Do not include ASF License comment into generated output

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

16 years agoFix display of sessionList and sessionDetail pages in IE 6 and IE 7:
kkolinko [Tue, 29 Sep 2009 22:24:47 +0000 (22:24 +0000)]
Fix display of sessionList and sessionDetail pages in IE 6 and IE 7:
do not include ASF License comment into generated output.

Because of that large comment that precedes other content those browsers try to display these pages as generic XML, and fail.

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

16 years agoCorrect a pair of misprints
kkolinko [Tue, 29 Sep 2009 21:18:09 +0000 (21:18 +0000)]
Correct a pair of misprints

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

16 years agotimeout can't be negative...
jfclere [Tue, 29 Sep 2009 12:20:57 +0000 (12:20 +0000)]
timeout can't be negative...

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47324
markt [Sun, 27 Sep 2009 17:44:26 +0000 (17:44 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47324
Fix submit IRL when behind a reverse proxy
Patch by Maik Jablonski

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47320
markt [Sun, 27 Sep 2009 16:48:23 +0000 (16:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47320
Don't rely on the platform default encoding being suitable to parse the session ID

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

16 years agoDeltaManager needs to replicate changed attributes even if session
rjung [Wed, 23 Sep 2009 11:28:14 +0000 (11:28 +0000)]
DeltaManager needs to replicate changed attributes even if session
gets invalidated. Otherwise session listeners will not see the right
data on the secondary nodes.

Port of r818061 from TC 5.5.x.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47499
markt [Tue, 22 Sep 2009 21:16:54 +0000 (21:16 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47499
Don't swallow BindException

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47267
markt [Tue, 22 Sep 2009 20:26:23 +0000 (20:26 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47267

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

16 years agoUse the re-factored JAR scanning code to scan JAR for web-fragments and parse any...
markt [Tue, 22 Sep 2009 18:35:50 +0000 (18:35 +0000)]
Use the re-factored JAR scanning code to scan JAR for web-fragments and parse any that are found. Discovered fragments are not yet used to configure the web app.

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

16 years agoI refactored the location and missed this one in the previous commit.
markt [Tue, 22 Sep 2009 15:25:46 +0000 (15:25 +0000)]
I refactored the location and missed this one in the previous commit.

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

16 years agoRemove the system properties the refactoring made unnecessary
markt [Tue, 22 Sep 2009 14:55:17 +0000 (14:55 +0000)]
Remove the system properties the refactoring made unnecessary

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

16 years agoRefactor the TLD JAR scanning. This a) reduces duplication between Catalina and Jaspe...
markt [Tue, 22 Sep 2009 14:54:28 +0000 (14:54 +0000)]
Refactor the TLD JAR scanning. This a) reduces duplication between Catalina and Jasper b) allows the Jar scanning to be controlled by configuration rather than system properties and c) (hopefully) allows the scanning code to be re-used for web-fragment.xml scanning
The JSP TCK passes with this patch applied

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

16 years agoRemove old Tomcat 6 file
markt [Mon, 21 Sep 2009 22:32:21 +0000 (22:32 +0000)]
Remove old Tomcat 6 file

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

16 years agoSeparate out Manager app roles
markt [Mon, 21 Sep 2009 22:31:47 +0000 (22:31 +0000)]
Separate out Manager app roles
Move /manager to /manager/text to simplify permissions
Allows the future addition of extra security measures to one interface that might not make sense for another (usually these will be added to the HTML interface but that might not always be the case).

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

16 years agoFix copyright
markt [Mon, 21 Sep 2009 22:20:00 +0000 (22:20 +0000)]
Fix copyright

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

16 years agoDon't mark every servlet as the JSP Servlet
markt [Mon, 21 Sep 2009 22:03:27 +0000 (22:03 +0000)]
Don't mark every servlet as the JSP Servlet

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

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