tomcat7.0
15 years agoTab police. No functional change.
markt [Sun, 20 Dec 2009 16:41:22 +0000 (16:41 +0000)]
Tab police. No functional change.

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

15 years agoRevert fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47963 pending a...
markt [Sun, 20 Dec 2009 16:35:10 +0000 (16:35 +0000)]
Revert fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47963 pending a better solution

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48399
markt [Sun, 20 Dec 2009 03:46:02 +0000 (03:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48399
Make locks final
Patch by sebb

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

15 years agoFix javadoc
markt [Sun, 20 Dec 2009 03:29:20 +0000 (03:29 +0000)]
Fix javadoc

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48413
markt [Sun, 20 Dec 2009 02:47:37 +0000 (02:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48413
Correct translations
Patch provided by AndrĂ© Warnier

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

15 years agoFix typo
markt [Sat, 19 Dec 2009 23:05:36 +0000 (23:05 +0000)]
Fix typo

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

15 years agostart not -start, stop not -stop
markt [Sat, 19 Dec 2009 11:34:16 +0000 (11:34 +0000)]
start not -start, stop not -stop

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

15 years agoFollowup to rev.889716
kkolinko [Sat, 19 Dec 2009 01:43:29 +0000 (01:43 +0000)]
Followup to rev.889716
The new AuthenticatorBase property needs a setter.
Also, corrected a javadoc misprint.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47930
markt [Fri, 18 Dec 2009 18:42:09 +0000 (18:42 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47930
Make swapIn thread safe so parallel requests for the same session don't result in multiple session objects for one sesison.

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

15 years agoAdd in support to link up the connection pool to a DataSource or XADataSource through...
fhanik [Fri, 18 Dec 2009 18:12:50 +0000 (18:12 +0000)]
Add in support to link up the connection pool to a DataSource or XADataSource through JNDI

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

15 years agoCorrect version is needed
fhanik [Fri, 18 Dec 2009 18:11:37 +0000 (18:11 +0000)]
Correct version is needed

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

15 years agoFix some Eclipse warnings in the tests
markt [Fri, 18 Dec 2009 17:34:43 +0000 (17:34 +0000)]
Fix some Eclipse warnings in the tests

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

15 years agoFix the redundant superinterface warnings. Just cleanup, No functional change.
markt [Fri, 18 Dec 2009 17:23:00 +0000 (17:23 +0000)]
Fix the redundant superinterface warnings. Just cleanup, No functional change.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47963
markt [Fri, 18 Dec 2009 16:13:28 +0000 (16:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47963
Anything that could end up in an HTTP header must meet the requirements of RFC2616.

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

15 years agoClean up duplicates and unused strings
markt [Fri, 18 Dec 2009 09:49:32 +0000 (09:49 +0000)]
Clean up duplicates and unused strings

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

15 years agoMove test for null outside of classloader fun and games so we can exit earlier if...
markt [Fri, 18 Dec 2009 09:28:01 +0000 (09:28 +0000)]
Move test for null outside of classloader fun and games so we can exit earlier if there is no session

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

15 years agoFollowup to rev.883362, fixing https://issues.apache.org/bugzilla/show_bug.cgi?id...
kkolinko [Thu, 17 Dec 2009 08:43:25 +0000 (08:43 +0000)]
Followup to rev.883362, fixing https://issues.apache.org/bugzilla/show_bug.cgi?id=48113
Rename method argument.
The method prints bytes as unsigned values, not as "int"s as the old name implied.
Based on the patch by Quintin Beukes

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

15 years agoFix unclosed tag.
kkolinko [Thu, 17 Dec 2009 04:38:25 +0000 (04:38 +0000)]
Fix unclosed tag.

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

15 years agoFollowup to rev.883125
kkolinko [Thu, 17 Dec 2009 04:05:24 +0000 (04:05 +0000)]
Followup to rev.883125
Additional fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47609
Add patterns for textual files without extension
Remove an extra comma

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

15 years agoMake SSL config JVM neutral. Based on a suggestion from Ivan.
markt [Wed, 16 Dec 2009 11:17:30 +0000 (11:17 +0000)]
Make SSL config JVM neutral. Based on a suggestion from Ivan.

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

15 years agoFix bug 47841: CombinedRealm fails to switch to other realm
markt [Wed, 16 Dec 2009 11:05:09 +0000 (11:05 +0000)]
Fix bug 47841: CombinedRealm fails to switch to other realm
https://issues.apache.org/bugzilla/show_bug.cgi?id=47841
Handle failure of sub-realm during combined realm start

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

15 years agoSide issues from bug 47841
markt [Wed, 16 Dec 2009 11:04:24 +0000 (11:04 +0000)]
Side issues from bug 47841
Override getInfo() log messages that use it have useful info
Add support for a connectionTimeout attribute

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

15 years agoSide issue from bug 47841
markt [Wed, 16 Dec 2009 11:02:54 +0000 (11:02 +0000)]
Side issue from bug 47841
Overrides getInfo() in Realms so log messages that use it have useful info

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

15 years agobad Fido, bad Fido
fhanik [Tue, 15 Dec 2009 23:14:23 +0000 (23:14 +0000)]
bad Fido, bad Fido

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47774
markt [Mon, 14 Dec 2009 22:54:20 +0000 (22:54 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47774
Ensure any session listeners are called with the Thread CCL set to the web application's class loader

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

15 years agoSession timeout is now set via a String
markt [Mon, 14 Dec 2009 22:31:30 +0000 (22:31 +0000)]
Session timeout is now set via a String

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48387
markt [Mon, 14 Dec 2009 21:18:34 +0000 (21:18 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48387
Make configuration attributes consistent between Filter and Valves
Patch provided by Cyrille Le Clerc

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

15 years agoFix TLD scanning in JARs for JspC. This copies the DefaultJarScanner from Tomcat...
markt [Mon, 14 Dec 2009 21:12:35 +0000 (21:12 +0000)]
Fix TLD scanning in JARs for JspC. This copies the DefaultJarScanner from Tomcat. Less invasive than the alternative refactoring that will have to wait for another day.

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

15 years agoAdd extra jar required for JspC
markt [Mon, 14 Dec 2009 21:06:02 +0000 (21:06 +0000)]
Add extra jar required for JspC

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

15 years agoCorrect TLD URIs
markt [Mon, 14 Dec 2009 20:48:21 +0000 (20:48 +0000)]
Correct TLD URIs

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

15 years agoFix copy/paste error in log definition
markt [Mon, 14 Dec 2009 19:21:06 +0000 (19:21 +0000)]
Fix copy/paste error in log definition

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47769
markt [Mon, 14 Dec 2009 18:04:54 +0000 (18:04 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47769
Reword JNDI docs in an attempt to make clear why resource-ref elements appear to be optional

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47744
markt [Mon, 14 Dec 2009 14:53:00 +0000 (14:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47744
Prevent medium term memory leak when ussing SSL with a security manager
Based on a patch by Greg Vanore

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

15 years agoPre-load a class required for apps to obtain the SSL key size when running under...
markt [Mon, 14 Dec 2009 14:51:12 +0000 (14:51 +0000)]
Pre-load a class required for apps to obtain the SSL key size when running under a security manager

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

15 years agoTest for null rather than waiting for the NPE ot be thrown.
markt [Mon, 14 Dec 2009 10:37:01 +0000 (10:37 +0000)]
Test for null rather than waiting for the NPE ot be thrown.

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

15 years agoOnly apply filtering to the files that need it else non-text files will get corrupted.
markt [Mon, 14 Dec 2009 10:00:23 +0000 (10:00 +0000)]
Only apply filtering to the files that need it else non-text files will get corrupted.

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

15 years agoOne more week of (almost 20%) hacking on tomcat-lite:
costin [Mon, 14 Dec 2009 07:35:57 +0000 (07:35 +0000)]
One more week of (almost 20%) hacking on tomcat-lite:
- protocol handler is almost useable with both tomcat7 and 6.x. It's missing most options of the other
connectors - will need to select what fits with 'lite', SSL is not hooked
- run the old watchdog tests ( in junit form ) - they seem to catch few problems, improved a bit the
runner to make eclipse happy.
- few load tests - and associated fixes.

If anyone tries it out with maven - one test will look for examples webapp, the one in tomcat7 has
a RequestDumperFilter that needs to be commented out. Ant runs more tests - some are failing. For
either - you need a build of the watchdog.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48381
markt [Sun, 13 Dec 2009 23:03:32 +0000 (23:03 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48381
Add a note about case of host name

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=43656
markt [Sun, 13 Dec 2009 22:48:20 +0000 (22:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=43656
Correctly coerce null to zero when Number is the required type.

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

16 years agoRemove empty dir
markt [Sun, 13 Dec 2009 19:41:38 +0000 (19:41 +0000)]
Remove empty dir

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

16 years agoMake init param name consistent
markt [Sat, 12 Dec 2009 19:49:40 +0000 (19:49 +0000)]
Make init param name consistent

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

16 years agoIgnores if building module in Eclipse
markt [Sat, 12 Dec 2009 19:48:33 +0000 (19:48 +0000)]
Ignores if building module in Eclipse

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

16 years agoCleanup of unused method and parameter
markt [Fri, 11 Dec 2009 17:33:27 +0000 (17:33 +0000)]
Cleanup of unused method and parameter

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

16 years agoAddress session fixation by changing the session ID on authentication. This is enable...
markt [Fri, 11 Dec 2009 17:30:59 +0000 (17:30 +0000)]
Address session fixation by changing the session ID on authentication. This is enabled by default. This should be safe since this also happens when sessions migrate between nodes in a cluster. If an app can't handle a changing ID, then the feature can be disabled in the authenticator.

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

16 years agoRemove docs for valve that was replaced with filter
markt [Fri, 11 Dec 2009 17:14:26 +0000 (17:14 +0000)]
Remove docs for valve that was replaced with filter

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

16 years agoJARs without any web.xml fragments should not impact the status of distributable
markt [Fri, 11 Dec 2009 17:04:36 +0000 (17:04 +0000)]
JARs without any web.xml fragments should not impact the status of distributable

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47656
markt [Fri, 11 Dec 2009 13:47:10 +0000 (13:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47656
Add information on system property replacement in config files.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47537
markt [Fri, 11 Dec 2009 13:12:57 +0000 (13:12 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47537
Return an error page if a forward during form auth fails rather than a zero length 200 response.

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

16 years agoUse the right class for the logger
markt [Fri, 11 Dec 2009 12:47:13 +0000 (12:47 +0000)]
Use the right class for the logger

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48373
markt [Fri, 11 Dec 2009 12:17:27 +0000 (12:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48373
Patch suggested by wujunchen

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48370
markt [Fri, 11 Dec 2009 12:14:05 +0000 (12:14 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48370
Remove some unused imports

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

16 years agoUpdate procrun to 2.0.6
mturk [Fri, 11 Dec 2009 07:51:09 +0000 (07:51 +0000)]
Update procrun to 2.0.6

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47507
markt [Thu, 10 Dec 2009 18:46:39 +0000 (18:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47507
Document the UserDatabaseRealm, in particular the readonly attribute of UserDartabase resources.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48324
markt [Thu, 10 Dec 2009 16:59:29 +0000 (16:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48324
Correct JavaDoc. Patch by sebb

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

16 years agoInclude the version on the homepage.
markt [Thu, 10 Dec 2009 10:53:13 +0000 (10:53 +0000)]
Include the version on the homepage.

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

16 years agoCorrect TODO - thanks sebb
markt [Tue, 8 Dec 2009 17:59:57 +0000 (17:59 +0000)]
Correct TODO - thanks sebb

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

16 years agoFix a couple of potential NPEs
markt [Tue, 8 Dec 2009 00:29:50 +0000 (00:29 +0000)]
Fix a couple of potential NPEs

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

16 years agoMore post-refactoring recurrsion protection
markt [Mon, 7 Dec 2009 19:26:03 +0000 (19:26 +0000)]
More post-refactoring recurrsion protection

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

16 years agoAdd missing part of recurrsion patch
markt [Mon, 7 Dec 2009 19:12:18 +0000 (19:12 +0000)]
Add missing part of recurrsion patch

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

16 years agoShutdown the handlers used by webapps otherwise log messages in the buffer just get...
markt [Mon, 7 Dec 2009 18:48:27 +0000 (18:48 +0000)]
Shutdown the handlers used by webapps otherwise log messages in the buffer just get lost.

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

16 years agoMore clean up
markt [Mon, 7 Dec 2009 17:22:24 +0000 (17:22 +0000)]
More clean up

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

16 years agoRemove remains of generic package
markt [Mon, 7 Dec 2009 17:11:10 +0000 (17:11 +0000)]
Remove remains of generic package
More clean up

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

16 years agoMore BCEL pruning
markt [Mon, 7 Dec 2009 16:56:00 +0000 (16:56 +0000)]
More BCEL pruning

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

16 years agoAdd support for WebFilter
markt [Mon, 7 Dec 2009 16:43:25 +0000 (16:43 +0000)]
Add support for WebFilter
Remove wrappers to implement isAsyncSupported() having found the setAttribute() code
It is individual filters rather than the whole filter chain that need to be considered for isAsyncSupported

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

16 years agoAdd annotation support for WebListener
markt [Mon, 7 Dec 2009 14:25:21 +0000 (14:25 +0000)]
Add annotation support for WebListener

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

16 years agoAdd annotation support for WebServlet
markt [Mon, 7 Dec 2009 14:18:29 +0000 (14:18 +0000)]
Add annotation support for WebServlet

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

16 years agoAdd async-supported impl for Servlets
markt [Mon, 7 Dec 2009 14:17:14 +0000 (14:17 +0000)]
Add async-supported impl for Servlets

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

16 years agoA little more cleanup. UCDetector claims there is no more to clean. I'm not yet convi...
markt [Mon, 7 Dec 2009 14:14:49 +0000 (14:14 +0000)]
A little more cleanup. UCDetector claims there is no more to clean. I'm not yet convinced.

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

16 years agoTypo
markt [Mon, 7 Dec 2009 12:49:56 +0000 (12:49 +0000)]
Typo

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

16 years agoLast cleanup of unused code for today. Still more todo.
markt [Sun, 6 Dec 2009 01:03:55 +0000 (01:03 +0000)]
Last cleanup of unused code for today. Still more todo.

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

16 years agoMore unused code removal.
markt [Sun, 6 Dec 2009 00:19:52 +0000 (00:19 +0000)]
More unused code removal.
Still not complete.

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

16 years agoRemove unused code identified by Eclipse / UCDetector.
markt [Sat, 5 Dec 2009 23:22:46 +0000 (23:22 +0000)]
Remove unused code identified by Eclipse / UCDetector.
Not complete - still more to remove.

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

16 years agoRemove some unused classes identified by the unused code detector
markt [Fri, 4 Dec 2009 20:23:13 +0000 (20:23 +0000)]
Remove some unused classes identified by the unused code detector

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

16 years agoDon't need the Vistor and associated support
markt [Fri, 4 Dec 2009 18:56:38 +0000 (18:56 +0000)]
Don't need the Vistor and associated support

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

16 years agoRemove the verifier
markt [Fri, 4 Dec 2009 18:12:33 +0000 (18:12 +0000)]
Remove the verifier

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

16 years agoImport a package renamed Jakarta BCEL trunk to do the annotation scanning.
markt [Fri, 4 Dec 2009 17:59:52 +0000 (17:59 +0000)]
Import a package renamed Jakarta BCEL trunk to do the annotation scanning.
There is far more functionality here than is required. The excess will be removed as development progresses.
The import has been done via svn copy so future updates should be easy via svn merge.

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

16 years agoImport a a package renamed Jakarta BCEL trunk to do the annotation scanning. There...
markt [Fri, 4 Dec 2009 17:49:49 +0000 (17:49 +0000)]
Import a a package renamed Jakarta BCEL trunk to do the annotation scanning. There is a lot of fat still to be trimmed.
This was done as an svn copy so future updates should be simple via svn merge.

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

16 years agoFix the Eclipse warnings
markt [Fri, 4 Dec 2009 13:51:52 +0000 (13:51 +0000)]
Fix the Eclipse warnings

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

16 years agoNeed to strip /hostname/contextpath before trying to list resources
markt [Fri, 4 Dec 2009 13:50:36 +0000 (13:50 +0000)]
Need to strip /hostname/contextpath before trying to list resources

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

16 years agoNew Jar in Java 7
markt [Fri, 4 Dec 2009 10:17:06 +0000 (10:17 +0000)]
New Jar in Java 7

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

16 years agoAdding the plumbing to get inputstreams for class files. These will be passed BCEL...
markt [Fri, 4 Dec 2009 10:16:27 +0000 (10:16 +0000)]
Adding the plumbing to get inputstreams for class files. These will be passed BCEL for annotation scanning.

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

16 years agoMore accurate comment
markt [Fri, 4 Dec 2009 10:14:36 +0000 (10:14 +0000)]
More accurate comment

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

16 years agoFix typo
markt [Fri, 4 Dec 2009 10:14:00 +0000 (10:14 +0000)]
Fix typo

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

16 years agoAdded the tests - but then tried few more changes and broke them again. Fix it back.
costin [Fri, 4 Dec 2009 08:03:16 +0000 (08:03 +0000)]
Added the tests - but then tried few more changes and broke them again. Fix it back.

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

16 years agoOne more iteration:
costin [Fri, 4 Dec 2009 07:16:59 +0000 (07:16 +0000)]
One more iteration:
- added few more tests
- moved the http/1.x code to HttpConnection - easier to test, allows protocol upgrade
- added an (experimental, hello-world-style) implementation of spdy ( a new binary protocol
and possible replacement for jk ). Tested with chrome and the unit tests - the tricky part
seems to work - detecting and 'upgrading' the wire transport.

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

16 years agoUpdate web.xml to servlet 3.0
markt [Thu, 3 Dec 2009 23:12:24 +0000 (23:12 +0000)]
Update web.xml to servlet 3.0
Mark as metadata-complete

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

16 years agoAdd support for the MultipartConfig annotation
markt [Thu, 3 Dec 2009 15:25:54 +0000 (15:25 +0000)]
Add support for the MultipartConfig annotation

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

16 years agoOnly log missing class as an error on Sun JVMs. Likely to be an non-issue for other...
markt [Thu, 3 Dec 2009 13:24:15 +0000 (13:24 +0000)]
Only log missing class as an error on Sun JVMs. Likely to be an non-issue for other vendors.

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

16 years agoRemove use of deprecated code
markt [Wed, 2 Dec 2009 18:00:40 +0000 (18:00 +0000)]
Remove use of deprecated code

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47502
markt [Wed, 2 Dec 2009 00:31:33 +0000 (00:31 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47502
Don't try and replicate attributes we know to be non-serializable
Patch by Tim Funk

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

16 years agoBetter descriptions
markt [Tue, 1 Dec 2009 23:28:49 +0000 (23:28 +0000)]
Better descriptions

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48296
markt [Tue, 1 Dec 2009 23:21:41 +0000 (23:21 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48296
Generics and JavaDoc fixes
Patch provided by sebb

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

16 years agoRemove deprecated commands
markt [Tue, 1 Dec 2009 23:02:36 +0000 (23:02 +0000)]
Remove deprecated commands

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47453
markt [Tue, 1 Dec 2009 22:52:55 +0000 (22:52 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47453
Handle void return types.
Patch by Tim Funk.

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

16 years agoMore memory leak protection. Adds support for:
markt [Tue, 1 Dec 2009 20:04:17 +0000 (20:04 +0000)]
More memory leak protection. Adds support for:
 - optionally stopping threads started by a web app - this is dangerous last resort option for dev environments - not for production
 - clearing ThreadLocals created buy web apps
 - clearing unintentional references in sun.rmi.transport.Target

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

16 years agoMove from a global system property to a per Context attribute for clearing static...
markt [Tue, 1 Dec 2009 19:33:44 +0000 (19:33 +0000)]
Move from a global system property to a per Context attribute for clearing static references.
Change the default as this should no longer be an issue with modern JVMs and the other memory leak protection provided in Tomcat 7.

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

16 years agoMore memory leak protection - this time for the GC Daemon thread.
markt [Tue, 1 Dec 2009 18:44:32 +0000 (18:44 +0000)]
More memory leak protection - this time for the GC Daemon thread.

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

16 years agoProvide a simple way of enabling all cipher suites when testing.
markt [Tue, 1 Dec 2009 14:34:55 +0000 (14:34 +0000)]
Provide a simple way of enabling all cipher suites when testing.

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

16 years agoAdd code that logs threads started but not stopped by the webapp.
markt [Sun, 29 Nov 2009 19:27:38 +0000 (19:27 +0000)]
Add code that logs threads started but not stopped by the webapp.
I have some highly experimental code to shut those threads down but it a) needs more work and b) needs to be made configurable before I commit it.

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

16 years agoRefactor prior to adding some more clean-up methods.
markt [Sun, 29 Nov 2009 15:30:40 +0000 (15:30 +0000)]
Refactor prior to adding some more clean-up methods.

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