tomcat7.0
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

16 years agoDeprecate wrapper methods that wrap deprecated methods.
markt [Mon, 12 Jan 2009 14:20:54 +0000 (14:20 +0000)]
Deprecate wrapper methods that wrap deprecated methods.
The assumption is that the EG will accept the patch to do this too. If not, it should be reverted.

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

16 years agoCorrect error in generics
markt [Mon, 12 Jan 2009 14:16:39 +0000 (14:16 +0000)]
Correct error in generics

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

16 years agoApply generics to javax.servlet.* on the basis that the EG is in the process of accep...
markt [Mon, 12 Jan 2009 14:16:19 +0000 (14:16 +0000)]
Apply generics to javax.servlet.* on the basis that the EG is in the process of accepting a patch to do this.

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

16 years agoSupport for setting SessionTrackingMode
markt [Mon, 12 Jan 2009 13:39:35 +0000 (13:39 +0000)]
Support for setting SessionTrackingMode
Most of this commit is to support invalidating the SSL session by the session manager.
I'm not sure yet that support for SSL session tracking is a good idea. There are quite a few limitations (see the ssl howto doc) and the changes to do it are fairly invasive. The option remains to remove this at a later date and not support SSL session tracking in Tomcat 7.

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

16 years agothrow exception if we know we exceed max packet size
fhanik [Mon, 12 Jan 2009 00:41:14 +0000 (00:41 +0000)]
throw exception if we know we exceed max packet size

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

16 years agoAlready support httpOnly - update comments
markt [Sat, 10 Jan 2009 13:43:09 +0000 (13:43 +0000)]
Already support httpOnly - update comments

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

16 years agoImplement SessionCookieConfig
markt [Sat, 10 Jan 2009 13:37:33 +0000 (13:37 +0000)]
Implement SessionCookieConfig

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

16 years agoCode clean up
markt [Sat, 10 Jan 2009 13:25:30 +0000 (13:25 +0000)]
Code clean up

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

16 years agodefer the deserialization of the message to an async thread to be able to handle...
fhanik [Fri, 9 Jan 2009 23:21:08 +0000 (23:21 +0000)]
defer the deserialization of the message to an async thread to be able to handle more incoming, still I can send more than I can receive

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

16 years agoImplement the ability to broadcast a message using multicast and bypass all TCP,...
fhanik [Fri, 9 Jan 2009 22:38:52 +0000 (22:38 +0000)]
Implement the ability to broadcast a message using multicast and bypass all TCP, simple fire-and-forget behavior, yet no change in how messages are sent and received for the consumer

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

16 years agoCorrect field names
markt [Fri, 9 Jan 2009 18:28:00 +0000 (18:28 +0000)]
Correct field names

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

16 years agoSome minor clean up
markt [Fri, 9 Jan 2009 18:18:29 +0000 (18:18 +0000)]
Some minor clean up

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46339
markt [Fri, 9 Jan 2009 15:53:50 +0000 (15:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46339
Before the invocation of a fragment, AT_BEGIN and NESTED variables should be copied from the current JspContext to the JspContext of the fragment (*instead* of the JspContext of the calling page or tag file).
Patch provided by kinman@a.o
TCK passes with this patch applied.

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

16 years agoFix various Eclipse warnings in o.a.jasper.compiler. Remove unused and unnecessary...
markt [Fri, 9 Jan 2009 11:17:13 +0000 (11:17 +0000)]
Fix various Eclipse warnings in o.a.jasper.compiler. Remove unused and unnecessary code, correct use of deprecated methods.

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

16 years agoRemove unused code
markt [Thu, 8 Jan 2009 23:35:16 +0000 (23:35 +0000)]
Remove unused code

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

16 years agoRemove e.printStackTrace()
markt [Thu, 8 Jan 2009 22:57:41 +0000 (22:57 +0000)]
Remove e.printStackTrace()

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

16 years agoAdd download information for the extras components
markt [Thu, 8 Jan 2009 22:41:18 +0000 (22:41 +0000)]
Add download information for the extras components

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

16 years agoFirst attempt at updating the javax.servlet package for the 3.0 spec
markt [Tue, 6 Jan 2009 15:15:32 +0000 (15:15 +0000)]
First attempt at updating the javax.servlet package for the 3.0 spec
It compiles and runs but 99.9% of the implementation is stubbed out and marked with TODO SERVLET3

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

16 years agoReported as part of https://issues.apache.org/bugzilla/show_bug.cgi?id=37515
markt [Mon, 5 Jan 2009 23:50:55 +0000 (23:50 +0000)]
Reported as part of https://issues.apache.org/bugzilla/show_bug.cgi?id=37515
Add options for Java 1.6 and 1.7

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46471
markt [Mon, 5 Jan 2009 19:20:11 +0000 (19:20 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46471
Use the URL of the JAR as well as the path within the JAR to identify a tag file to keep tag file definitions unique.

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

16 years agoWhen deployment succeeds but the context still fails to start, provide instant feedback
fhanik [Mon, 5 Jan 2009 18:34:25 +0000 (18:34 +0000)]
When deployment succeeds but the context still fails to start, provide instant feedback

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

16 years agoAdd comment as a result of bug 37515
markt [Sun, 4 Jan 2009 00:21:37 +0000 (00:21 +0000)]
Add comment as a result of bug 37515

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

16 years agobrain farts
fhanik [Sat, 3 Jan 2009 03:14:50 +0000 (03:14 +0000)]
brain farts

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

16 years agoupdate version
fhanik [Sat, 3 Jan 2009 02:55:04 +0000 (02:55 +0000)]
update version

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

16 years agocorrect array math
fhanik [Sat, 3 Jan 2009 02:34:10 +0000 (02:34 +0000)]
correct array math

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

16 years agoMake system compile with JDK1.5
fhanik [Sat, 3 Jan 2009 01:30:23 +0000 (01:30 +0000)]
Make system compile with JDK1.5

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

16 years agoHandle invocation target exceptions and throw the original exception when it happens
fhanik [Sat, 3 Jan 2009 01:25:56 +0000 (01:25 +0000)]
Handle invocation target exceptions and throw the original exception when it happens

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

16 years agoFix https://issues.apache.org/bugzilla/attachment.cgi?id=23066
markt [Fri, 2 Jan 2009 14:24:35 +0000 (14:24 +0000)]
Fix https://issues.apache.org/bugzilla/attachment.cgi?id=23066
Sync issue leads to NPE in rare circumstances
Patch provided by Konstantin Kolinko

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46462
markt [Fri, 2 Jan 2009 11:05:45 +0000 (11:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46462
Limit the package test to org.apache.jsp.* rather than org.apache.jsp* to allow use of packages like org.apache.jspwiki

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=36923
markt [Thu, 1 Jan 2009 19:02:21 +0000 (19:02 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=36923
If EL is disabled, treat it as template text.

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