tomcat7.0
16 years agoGet validation working properly. This will still throw two errors on start-up due...
markt [Thu, 12 Mar 2009 22:09:44 +0000 (22:09 +0000)]
Get validation working properly. This will still throw two errors on start-up due to errors in two of the tld's included in standard.jar in the examples app.

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

16 years agoChange default xmlBase to prevent exceptions on start up and errors every time the...
markt [Thu, 12 Mar 2009 17:02:27 +0000 (17:02 +0000)]
Change default xmlBase to prevent exceptions on start up and errors every time the background thread checks for descriptors.
Remove unused code block.

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

16 years agoFix line endings
markt [Thu, 12 Mar 2009 12:29:40 +0000 (12:29 +0000)]
Fix line endings

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

16 years agoAllow xmlBase to be configurable, just like appBase.
fhanik [Wed, 11 Mar 2009 22:05:12 +0000 (22:05 +0000)]
Allow xmlBase to be configurable, just like appBase.

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

16 years agoAdd missing and new schemas to resolver used by digester.
markt [Wed, 11 Mar 2009 19:28:18 +0000 (19:28 +0000)]
Add missing and new schemas to resolver used by digester.

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

16 years agoAdd missing XML Schemas for Java EE Deployment Descriptors
markt [Wed, 11 Mar 2009 19:12:03 +0000 (19:12 +0000)]
Add missing XML Schemas for Java EE Deployment Descriptors
Unlike the existing schemas, these files are CDDL licensed.

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

16 years agoAdd a system property that lets the startup phase exit if the server encounters an...
fhanik [Wed, 11 Mar 2009 00:46:54 +0000 (00:46 +0000)]
Add a system property that lets the startup phase exit if the server encounters an exception during the initialization phase.
The default is false, which means the behavior from today remains unchanged.

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

16 years agoWhen adding a logger, its better to always add the parent loggers, all the way up...
fhanik [Tue, 10 Mar 2009 18:53:27 +0000 (18:53 +0000)]
When adding a logger, its better to always add the parent loggers, all the way up the chain.
The cost of this is relatively small, since the number of packages compared to classes is relatively small.
This feature allows extensions of the JULI framework to change log categories during run time, as opposed to changing them for every single logger in a category

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

16 years ago- Add xiph mime types, after reading a blog.
remm [Tue, 10 Mar 2009 12:10:20 +0000 (12:10 +0000)]
- Add xiph mime types, after reading a blog.

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

16 years agoFix infinite loop.
markt [Tue, 10 Mar 2009 11:41:58 +0000 (11:41 +0000)]
Fix infinite loop.

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

16 years agoMake a distinction between AM/PM by using the 24 hour format
fhanik [Mon, 9 Mar 2009 20:10:10 +0000 (20:10 +0000)]
Make a distinction between AM/PM by using the 24 hour format

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

16 years agoExperiment with enabling per context configuration of xml valiadation for web.xml...
markt [Sun, 8 Mar 2009 19:14:45 +0000 (19:14 +0000)]
Experiment with enabling per context configuration of xml valiadation for web.xml and tld files.
Should make fixing tld validation (which I can't get to work right now) easier.

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

16 years agoTomcat uses Platform MBean server. Adjust listener accordingly.
markt [Sun, 8 Mar 2009 18:46:51 +0000 (18:46 +0000)]
Tomcat uses Platform MBean server. Adjust listener accordingly.

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

16 years agoRevert previous commit. Plan to rework valve so this hack isn't required
markt [Sun, 8 Mar 2009 09:40:22 +0000 (09:40 +0000)]
Revert previous commit. Plan to rework valve so this hack isn't required

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

16 years agoFix Eclipse warnings in this package
markt [Sat, 7 Mar 2009 20:39:58 +0000 (20:39 +0000)]
Fix Eclipse warnings in this package

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

16 years agoClear a bunch of generics warnings in Eclipse
markt [Sat, 7 Mar 2009 19:55:10 +0000 (19:55 +0000)]
Clear a bunch of generics warnings in Eclipse

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

16 years agoSome generics fixes
markt [Sat, 7 Mar 2009 19:50:34 +0000 (19:50 +0000)]
Some generics fixes

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

16 years agoAllow the AddDefaultCharsetValve to be effective when a writer is used
markt [Sat, 7 Mar 2009 19:42:09 +0000 (19:42 +0000)]
Allow the AddDefaultCharsetValve to be effective when a writer is used

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

16 years agoAdd AddDefaultCharSetValve
markt [Sat, 7 Mar 2009 18:45:53 +0000 (18:45 +0000)]
Add AddDefaultCharSetValve

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

16 years agoRemove jk jni code from Tomcat 7. It is deprecated in mod_jk and will almost certainl...
markt [Sat, 7 Mar 2009 18:32:40 +0000 (18:32 +0000)]
Remove jk jni code from Tomcat 7. It is deprecated in mod_jk and will almost certainly have been rmeoved by the time 7.0.x has a stable release.
Shout if I deleted something I shouldn't have.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46816
markt [Sat, 7 Mar 2009 16:54:46 +0000 (16:54 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46816
Align mbean descriptor attributes with implementations

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

16 years agoMake UserDatabase read only by default and log an error if someone tries to save...
markt [Sat, 7 Mar 2009 16:28:46 +0000 (16:28 +0000)]
Make UserDatabase read only by default and log an error if someone tries to save changes.

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

16 years agoFix remainder of https://issues.apache.org/bugzilla/show_bug.cgi?id=46807
markt [Sat, 7 Mar 2009 16:08:41 +0000 (16:08 +0000)]
Fix remainder of https://issues.apache.org/bugzilla/show_bug.cgi?id=46807
Make it clear that enablePooling is a compilation, not a runtime option.

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

16 years agoPartial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=46807
markt [Sat, 7 Mar 2009 16:00:22 +0000 (16:00 +0000)]
Partial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=46807
Correctly document org.apache.japser.runtime.JspFactoryImpl.USE_POOL

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

16 years agoFix svn keywords
markt [Fri, 6 Mar 2009 17:28:47 +0000 (17:28 +0000)]
Fix svn keywords

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

16 years agoFix XSS in examples web application.
markt [Fri, 6 Mar 2009 14:46:47 +0000 (14:46 +0000)]
Fix XSS in examples web application.
This is CVE-2009-0781.
Security page updates and formal announcement to follow.

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

16 years agoSplit LOGGING_CONFIG into two options, LOGGING_CONFIG which points to the file, LOGGI...
fhanik [Thu, 5 Mar 2009 02:13:46 +0000 (02:13 +0000)]
Split LOGGING_CONFIG into two options, LOGGING_CONFIG which points to the file, LOGGING_MANAGER which sets the log manager
This makes it much easier to handle directories with spaces

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

16 years agoMake LOGGING_CONFIG a variable that you can set, just like all the other script variables
fhanik [Thu, 5 Mar 2009 00:35:23 +0000 (00:35 +0000)]
Make LOGGING_CONFIG a variable that you can set, just like all the other script variables

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

16 years agoMake the useHttpOnly a Context attribute
fhanik [Thu, 5 Mar 2009 00:34:29 +0000 (00:34 +0000)]
Make the useHttpOnly a Context attribute

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

16 years agoUpdate docs to reflect changes for bug 44988
markt [Tue, 3 Mar 2009 22:20:16 +0000 (22:20 +0000)]
Update docs to reflect changes for bug 44988

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

16 years agoDocument undocumented valve
markt [Thu, 26 Feb 2009 23:06:24 +0000 (23:06 +0000)]
Document undocumented valve

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

16 years agoFix broken metadata-complete element
markt [Wed, 25 Feb 2009 17:11:24 +0000 (17:11 +0000)]
Fix broken metadata-complete element

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

16 years agoFix possible NPE
markt [Wed, 25 Feb 2009 15:46:46 +0000 (15:46 +0000)]
Fix possible NPE

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

16 years agoFix various Eclipse warnings.
markt [Mon, 23 Feb 2009 14:56:19 +0000 (14:56 +0000)]
Fix various Eclipse warnings.

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

16 years agoAdd directory for tomcat-lite.
costin [Sun, 22 Feb 2009 18:36:33 +0000 (18:36 +0000)]
Add directory for tomcat-lite.

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

16 years agoRemove unused code.
markt [Sat, 21 Feb 2009 12:00:00 +0000 (12:00 +0000)]
Remove unused code.
Deprecate NOOP method

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

16 years agoAddress Bill's security concerns in previous patch to get TCK to pass under a securit...
markt [Sat, 21 Feb 2009 00:44:33 +0000 (00:44 +0000)]
Address Bill's security concerns in previous patch to get TCK to pass under a security manager.
TCK passes after this patch with and without security manager.

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

16 years agoEngage brain rather than mindless copying.
markt [Sat, 21 Feb 2009 00:41:05 +0000 (00:41 +0000)]
Engage brain rather than mindless copying.

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

16 years agoDoc updated - ported form tc6.0.x
markt [Fri, 20 Feb 2009 23:15:52 +0000 (23:15 +0000)]
Doc updated - ported form tc6.0.x

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

16 years agoUpdate Eclipse files.
markt [Fri, 20 Feb 2009 22:52:15 +0000 (22:52 +0000)]
Update Eclipse files.
Stop trying to keep license info. Eclipse keeps re-writing the files without.

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

16 years agoMore typos
markt [Fri, 20 Feb 2009 22:10:41 +0000 (22:10 +0000)]
More typos

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

16 years agoFix spelling
markt [Fri, 20 Feb 2009 18:17:29 +0000 (18:17 +0000)]
Fix spelling

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

16 years agoChange to ThreadLocal to prevent potential sync bottleneck on cookie creation
markt [Fri, 13 Feb 2009 20:46:22 +0000 (20:46 +0000)]
Change to ThreadLocal to prevent potential sync bottleneck on cookie creation

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

16 years agoDocumentation
fhanik [Fri, 13 Feb 2009 16:44:35 +0000 (16:44 +0000)]
Documentation

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46666
markt [Fri, 13 Feb 2009 16:17:54 +0000 (16:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46666
keepAliveTimeout should always be used regardless of setting of disableUploadTimeout

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46696
markt [Thu, 12 Feb 2009 14:34:26 +0000 (14:34 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46696
Add missing license headers

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46695
markt [Thu, 12 Feb 2009 11:44:37 +0000 (11:44 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46695
Patch provided by sebb

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46683
markt [Thu, 12 Feb 2009 11:35:11 +0000 (11:35 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46683
Correct typo in filename

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

16 years agoPort r742915 to trunk.
markt [Wed, 11 Feb 2009 20:42:27 +0000 (20:42 +0000)]
Port r742915 to trunk.
Make sure the 400 is returned to the browser. (like other connectors).

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

16 years ago- Fix apparent bad cut & paste from the HTTP connector for parseHost, and use the...
remm [Tue, 10 Feb 2009 13:33:58 +0000 (13:33 +0000)]
- Fix apparent bad cut & paste from the HTTP connector for parseHost, and use the code from the org.apache.jk connector instead.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=39396
markt [Mon, 9 Feb 2009 20:13:14 +0000 (20:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39396
Exclude TRACE in OPTIONS response by default. Include it where we know it is enabled.

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

16 years agoRevert previous patch. It won't work.
markt [Mon, 9 Feb 2009 20:06:07 +0000 (20:06 +0000)]
Revert previous patch. It won't work.

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

16 years agoOnly perform validation test when allowLinking is enabled
markt [Mon, 9 Feb 2009 20:00:01 +0000 (20:00 +0000)]
Only perform validation test when allowLinking is enabled

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

16 years agoCorrect typo
markt [Mon, 9 Feb 2009 19:56:44 +0000 (19:56 +0000)]
Correct typo

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

16 years agoFix various Eclipse warnings.
markt [Mon, 9 Feb 2009 19:55:29 +0000 (19:55 +0000)]
Fix various Eclipse warnings.
Convert tabs to spaces.

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

16 years agoFix various Eclipse warnings.
markt [Mon, 9 Feb 2009 19:53:28 +0000 (19:53 +0000)]
Fix various Eclipse warnings.
Convert tabs to spaces.

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

16 years agoFix various Eclipse warnings.
markt [Mon, 9 Feb 2009 19:51:30 +0000 (19:51 +0000)]
Fix various Eclipse warnings.
Convert tabs to spaces.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=39013
markt [Mon, 9 Feb 2009 19:39:40 +0000 (19:39 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39013
When testing for invalid docBase, test for an exact match with the appBase dir

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=38570
markt [Mon, 9 Feb 2009 19:05:44 +0000 (19:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=38570
When checking docBase against appBase, make sure we check for an exact match against the appBase

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

16 years agoMake sure thread starvation doesn't exist during reclamation of connections
fhanik [Fri, 6 Feb 2009 21:49:36 +0000 (21:49 +0000)]
Make sure thread starvation doesn't exist during reclamation of connections

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

16 years agoRemove serialization from Container. Old experiment that didn't work.
markt [Wed, 4 Feb 2009 11:44:00 +0000 (11:44 +0000)]
Remove serialization from Container. Old experiment that didn't work.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=38553
markt [Wed, 4 Feb 2009 10:43:10 +0000 (10:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=38553
A lack of certs is normal if the user doesn't have a trusted cert. Return 401, not 400 in this case.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=38197
markt [Wed, 4 Feb 2009 10:26:28 +0000 (10:26 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=38197
Take account of jsp:attribute elements when naming tag pools

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46606
markt [Wed, 4 Feb 2009 07:00:03 +0000 (07:00 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46606
Max max depth limit configurable

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46600
markt [Wed, 4 Feb 2009 06:53:13 +0000 (06:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46600
Correctly document maxKeepAliveRequests

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

16 years agoadjust for first tag
fhanik [Sat, 31 Jan 2009 00:18:24 +0000 (00:18 +0000)]
adjust for first tag

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

16 years agofix sizing issue when db is restarted
fhanik [Fri, 30 Jan 2009 23:32:38 +0000 (23:32 +0000)]
fix sizing issue when db is restarted
fix JMX domain name
fix exception handling

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

16 years agoeven not used anywhere in our code, make it thread safe
fhanik [Fri, 30 Jan 2009 22:09:15 +0000 (22:09 +0000)]
even not used anywhere in our code, make it thread safe

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

16 years agoMinor clarification as a result of bug 46498
markt [Fri, 30 Jan 2009 05:35:25 +0000 (05:35 +0000)]
Minor clarification as a result of bug 46498

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46564
markt [Fri, 30 Jan 2009 05:30:23 +0000 (05:30 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46564
Encoding test should be case insensitive

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46563
markt [Fri, 30 Jan 2009 05:05:25 +0000 (05:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46563

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

16 years agoInitialize connection pool upon data source creation instead of request for first...
fhanik [Tue, 27 Jan 2009 23:05:10 +0000 (23:05 +0000)]
Initialize connection pool upon data source creation instead of request for first connection

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

16 years agoRemove duplicate check
markt [Thu, 15 Jan 2009 22:40:34 +0000 (22:40 +0000)]
Remove duplicate check

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

16 years agoFix all the static Eclipse warnings
markt [Thu, 15 Jan 2009 22:08:17 +0000 (22:08 +0000)]
Fix all the static Eclipse warnings

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

16 years agoRemoved unused code from o.a.t.util.buf
markt [Thu, 15 Jan 2009 21:47:53 +0000 (21:47 +0000)]
Removed unused code from o.a.t.util.buf

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

16 years agoAdd some changes from December 08
markt [Thu, 15 Jan 2009 21:36:57 +0000 (21:36 +0000)]
Add some changes from December 08

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

16 years agoAlign the installer license files with the main one.
markt [Thu, 15 Jan 2009 16:26:51 +0000 (16:26 +0000)]
Align the installer license files with the main one.

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

16 years agoRemove 3 of the essentially 4 duplicate normalise implementations.
markt [Thu, 15 Jan 2009 15:34:52 +0000 (15:34 +0000)]
Remove 3 of the essentially 4 duplicate normalise implementations.
Minor tweaks where required to use the new single implementation.
Remove unnecessary normalisation calls.
This includes the fix for CVE-2008-5515.

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

16 years agoRemove unused variables identified by Eclipse
markt [Thu, 15 Jan 2009 14:55:46 +0000 (14:55 +0000)]
Remove unused variables identified by Eclipse

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

16 years agoRemove some unused methods and related code
markt [Thu, 15 Jan 2009 14:09:37 +0000 (14:09 +0000)]
Remove some unused methods and related code

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

16 years agoMore unused imports spotted by Eclipse
markt [Thu, 15 Jan 2009 14:07:38 +0000 (14:07 +0000)]
More unused imports spotted by Eclipse

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

16 years agoRemove unused imports idnetified by Eclipse
markt [Thu, 15 Jan 2009 13:49:53 +0000 (13:49 +0000)]
Remove unused imports idnetified by Eclipse

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

16 years agoRemove unnecessary casts reported by Eclipse
markt [Thu, 15 Jan 2009 13:38:58 +0000 (13:38 +0000)]
Remove unnecessary casts reported by Eclipse

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

16 years agoFix generics warnings
markt [Thu, 15 Jan 2009 13:31:45 +0000 (13:31 +0000)]
Fix generics warnings

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

16 years agoCode clean-up. Remove unnecessary ;'s id'd by Eclipse
markt [Thu, 15 Jan 2009 13:31:05 +0000 (13:31 +0000)]
Code clean-up. Remove unnecessary ;'s id'd by Eclipse

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

16 years agoClear TODO markers
markt [Thu, 15 Jan 2009 13:24:26 +0000 (13:24 +0000)]
Clear TODO markers

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

16 years agoImplement dynamically adding servlets and filters. This compiles but is untested.
markt [Wed, 14 Jan 2009 21:55:59 +0000 (21:55 +0000)]
Implement dynamically adding servlets and filters. This compiles but is untested.

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

16 years agoImplement the simple stuff
markt [Wed, 14 Jan 2009 21:54:39 +0000 (21:54 +0000)]
Implement the simple stuff

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

16 years agoAFAICT only, dummy implementations are required here.
markt [Wed, 14 Jan 2009 21:52:12 +0000 (21:52 +0000)]
AFAICT only, dummy implementations are required here.

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

16 years agoFix Eclipse warning
markt [Wed, 14 Jan 2009 20:52:26 +0000 (20:52 +0000)]
Fix Eclipse warning

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

16 years agoFix possible NPE reported by Eclipse
markt [Wed, 14 Jan 2009 20:46:02 +0000 (20:46 +0000)]
Fix possible NPE reported by Eclipse

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

16 years agoRemove 1.4 impl since we must be using a 1.6 JVM.
markt [Wed, 14 Jan 2009 20:45:28 +0000 (20:45 +0000)]
Remove 1.4 impl since we must be using a 1.6 JVM.

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

16 years agoVersion updates for the docs
markt [Wed, 14 Jan 2009 20:02:35 +0000 (20:02 +0000)]
Version updates for the docs

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

16 years agoUse a snapshot of DBCP source that includes the JDK 1.6 fixes.
markt [Wed, 14 Jan 2009 19:46:32 +0000 (19:46 +0000)]
Use a snapshot of DBCP source that includes the JDK 1.6 fixes.
Remove the DBCP 1.5 hack
Update Tomcat and Servlet version numbers
Update year to 2009
Force 1.6 compile since Servlet 3.0 requires it

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

16 years agoVersion updates
markt [Wed, 14 Jan 2009 19:30:19 +0000 (19:30 +0000)]
Version updates

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

16 years agoRevert r733072 after feedback from EG that original INVALID for https://issues.apache...
markt [Mon, 12 Jan 2009 21:29:40 +0000 (21:29 +0000)]
Revert r733072 after feedback from EG that original INVALID for https://issues.apache.org/bugzilla/show_bug.cgi?id=46339 was correct.

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

16 years agoUpdate SSL Session handling based on Filip's comments. HTTP session invalidation...
markt [Mon, 12 Jan 2009 21:18:54 +0000 (21:18 +0000)]
Update SSL Session handling based on Filip's comments. HTTP session invalidation is now separate from SSLSession validation. The hooks remain to invalidate the SSL session if required.

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

16 years agoServlet 3 requires a 1.6 JDK. *Really* need to fix DBCP...
markt [Mon, 12 Jan 2009 20:34:41 +0000 (20:34 +0000)]
Servlet 3 requires a 1.6 JDK. *Really* need to fix DBCP...

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

16 years agoMisc code clean up to keepo the Eclipse error count trending downwards.
markt [Mon, 12 Jan 2009 15:17:00 +0000 (15:17 +0000)]
Misc code clean up to keepo the Eclipse error count trending downwards.

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

16 years agoGenerics changes after updating the spec api and also those enabled by the min 1...
markt [Mon, 12 Jan 2009 15:02:23 +0000 (15:02 +0000)]
Generics changes after updating the spec api and also those enabled by the min 1.6 JDK requirement.
Add deprecation to the internal Tomcta methods that implement deprecated methods.

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