tomcat7.0
15 years agoTake care of line endings for the two files added in r1000392
kkolinko [Thu, 23 Sep 2010 12:15:56 +0000 (12:15 +0000)]
Take care of line endings for the two files added in r1000392

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

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=49102
timw [Thu, 23 Sep 2010 10:38:56 +0000 (10:38 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=49102

Protecting AJP code -> header/method lookup arrays with getters.
No measurable slowdown (especially after a profiling JIT gets done with it).

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

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=49955
timw [Thu, 23 Sep 2010 10:15:16 +0000 (10:15 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=49955

Improvements and corrections for the Building Tomcat guide, plus
sample Eclipse launch targets.

Based on contribution from Wesley Acheson.

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

15 years agoAdding a description for build-docs task
timw [Thu, 23 Sep 2010 10:14:54 +0000 (10:14 +0000)]
Adding a description for build-docs task

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

15 years agoFix Javadoc warnings highlighted by buildbot
markt [Thu, 23 Sep 2010 00:30:53 +0000 (00:30 +0000)]
Fix Javadoc warnings highlighted by buildbot

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

15 years agoParameterize the APR location for the unit tests
markt [Thu, 23 Sep 2010 00:19:20 +0000 (00:19 +0000)]
Parameterize the APR location for the unit tests

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

15 years agoCorrectly define the ROOT context in unit tests
markt [Wed, 22 Sep 2010 22:59:55 +0000 (22:59 +0000)]
Correctly define the ROOT context in unit tests

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

15 years agoAdd the missing onStartAsync event
markt [Wed, 22 Sep 2010 20:04:32 +0000 (20:04 +0000)]
Add the missing onStartAsync event

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

15 years agoImproving the documentation for logging configuration in Apache Tomcat
kkolinko [Wed, 22 Sep 2010 14:48:53 +0000 (14:48 +0000)]
Improving the documentation for logging configuration in Apache Tomcat

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

15 years agoFix typo
markt [Wed, 22 Sep 2010 14:47:16 +0000 (14:47 +0000)]
Fix typo

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

15 years agoNeed ant-launcher.jar to compile JSPs with Ant rather than ECJ
markt [Wed, 22 Sep 2010 14:34:23 +0000 (14:34 +0000)]
Need ant-launcher.jar to compile JSPs with Ant rather than ECJ

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

15 years agoUse *modern* types of nsis install/uninstall icons
mturk [Wed, 22 Sep 2010 14:29:07 +0000 (14:29 +0000)]
Use *modern* types of nsis install/uninstall icons

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

15 years agoAdd connector wait for shutdown to changelog
mturk [Wed, 22 Sep 2010 14:22:48 +0000 (14:22 +0000)]
Add connector wait for shutdown to changelog

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

15 years agoDelete reference to option that was previously removed.
markt [Wed, 22 Sep 2010 14:18:48 +0000 (14:18 +0000)]
Delete reference to option that was previously removed.

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

15 years agoadd release date for 7.0.2 beta,
kkolinko [Wed, 22 Sep 2010 13:15:46 +0000 (13:15 +0000)]
add release date for 7.0.2 beta,
from announcement on tomcat.apache.org

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

15 years agocorrect a typo
kkolinko [Tue, 21 Sep 2010 18:21:38 +0000 (18:21 +0000)]
correct a typo

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

15 years agoRemove unused code as identified by UCDetector
markt [Sat, 18 Sep 2010 21:41:44 +0000 (21:41 +0000)]
Remove unused code as identified by UCDetector

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

15 years agoRemove unused constructor
markt [Sat, 18 Sep 2010 21:20:00 +0000 (21:20 +0000)]
Remove unused constructor

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

15 years agoRe-factor JIO end point to look more like NIO end point. Moving stuff around, process...
markt [Sat, 18 Sep 2010 18:09:48 +0000 (18:09 +0000)]
Re-factor JIO end point to look more like NIO end point. Moving stuff around, processing order should remain the same.

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

15 years agoRemove unused imports
markt [Sat, 18 Sep 2010 18:08:25 +0000 (18:08 +0000)]
Remove unused imports

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

15 years agoMore refactoring. This one very simple.
markt [Sat, 18 Sep 2010 15:04:40 +0000 (15:04 +0000)]
More refactoring. This one very simple.

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

15 years agoCode clean-up
markt [Sat, 18 Sep 2010 13:47:49 +0000 (13:47 +0000)]
Code clean-up
Use a single method for unlockAccept

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

15 years agoCode clean-up
markt [Sat, 18 Sep 2010 11:53:19 +0000 (11:53 +0000)]
Code clean-up
Align end-point behaviours. Should then be easier to apply async chnages.

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

15 years agoCode clean-up.
markt [Fri, 17 Sep 2010 18:27:49 +0000 (18:27 +0000)]
Code clean-up.
Align BIO and NIO to make Async refactoring easier

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

15 years agoNothing was reading this. Remove it. It can always be added back in later if we need...
markt [Fri, 17 Sep 2010 16:43:33 +0000 (16:43 +0000)]
Nothing was reading this. Remove it. It can always be added back in later if we need it for something.

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

15 years agoAlso handle NPEs (seen during testing of new async re-factoring) and ignore them...
markt [Fri, 17 Sep 2010 16:30:54 +0000 (16:30 +0000)]
Also handle NPEs (seen during testing of new async re-factoring) and ignore them if the endpoint is shutting down.

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

15 years agoMisc Eclipse and FindBugs warnings
markt [Fri, 17 Sep 2010 15:02:45 +0000 (15:02 +0000)]
Misc Eclipse and FindBugs warnings

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

15 years agoRemove unused import
markt [Fri, 17 Sep 2010 14:56:58 +0000 (14:56 +0000)]
Remove unused import

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

15 years agoRemove unnecessary code. Superclass method does exactly the same thing.
markt [Fri, 17 Sep 2010 14:56:28 +0000 (14:56 +0000)]
Remove unnecessary code. Superclass method does exactly the same thing.

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

15 years agoCode clean-up.
markt [Fri, 17 Sep 2010 14:40:05 +0000 (14:40 +0000)]
Code clean-up.
Align BIO and NIO to make Async refactoring easier

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

15 years agoRemove more START/STOP actions and started attribute. They aren't adding anything.
markt [Fri, 17 Sep 2010 14:11:03 +0000 (14:11 +0000)]
Remove more START/STOP actions and started attribute. They aren't adding anything.

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

15 years agoRemove START/STOP actions and started attribute. They aren't adding anything.
markt [Fri, 17 Sep 2010 14:08:10 +0000 (14:08 +0000)]
Remove START/STOP actions and started attribute. They aren't adding anything.

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

15 years agoNIO and APR processors don't use START/STOP so this code is unnecessary
markt [Fri, 17 Sep 2010 14:00:10 +0000 (14:00 +0000)]
NIO and APR processors don't use START/STOP so this code is unnecessary

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49909
markt [Fri, 17 Sep 2010 11:05:39 +0000 (11:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49909
Re-enable JSTL. This was a regression in the fix for bz 47950

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

15 years agoRemove empty dir
markt [Wed, 15 Sep 2010 14:03:13 +0000 (14:03 +0000)]
Remove empty dir

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

15 years agoFix niggle
markt [Wed, 15 Sep 2010 13:39:08 +0000 (13:39 +0000)]
Fix niggle

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

15 years agoInclude the suffix in the version number
markt [Wed, 15 Sep 2010 13:34:42 +0000 (13:34 +0000)]
Include the suffix in the version number

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

15 years agoFix Javadoc
markt [Wed, 15 Sep 2010 13:29:47 +0000 (13:29 +0000)]
Fix Javadoc

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

15 years agoUpdate changelog
markt [Wed, 15 Sep 2010 13:26:12 +0000 (13:26 +0000)]
Update changelog

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49584
markt [Wed, 15 Sep 2010 13:24:14 +0000 (13:24 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49584
Move the offering of a new thread on release from the abandoned connection code to the release code to eliminate the possibility of a blocked thread on release.

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

15 years agoAddress a concern raised in https://issues.apache.org/bugzilla/show_bug.cgi?id=49584
markt [Wed, 15 Sep 2010 11:42:55 +0000 (11:42 +0000)]
Address a concern raised in https://issues.apache.org/bugzilla/show_bug.cgi?id=49584
Re-factor code to clarify con is never null when release is called.

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

15 years agoMore re-factoring: AsyncContext will throw exception
markt [Tue, 14 Sep 2010 12:38:53 +0000 (12:38 +0000)]
More re-factoring: AsyncContext will throw exception

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

15 years agoMore re-factoring: expose the Executor
markt [Tue, 14 Sep 2010 12:09:50 +0000 (12:09 +0000)]
More re-factoring: expose the Executor

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

15 years agoMore re-factoring prior to large async changes
markt [Tue, 14 Sep 2010 11:47:57 +0000 (11:47 +0000)]
More re-factoring prior to large async changes

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

15 years agoCode clean-up and a little preparatory re-factoring prior to large async changes
markt [Tue, 14 Sep 2010 11:43:22 +0000 (11:43 +0000)]
Code clean-up and a little preparatory re-factoring prior to large async changes

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

15 years agoFix most of the warnings in this package
markt [Tue, 14 Sep 2010 07:55:26 +0000 (07:55 +0000)]
Fix most of the warnings in this package

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49924
kfujino [Tue, 14 Sep 2010 07:49:33 +0000 (07:49 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49924
When non-primary node changes into a primary node, make sure isPrimarySession is changed to true.

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

15 years agoAdd @Override markers to package
markt [Tue, 14 Sep 2010 07:23:19 +0000 (07:23 +0000)]
Add @Override markers to package

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

15 years agoConvert ActionCode to an enum.
markt [Mon, 13 Sep 2010 20:23:22 +0000 (20:23 +0000)]
Convert ActionCode to an enum.
Shorten all the names by removing ACTION_ from the beginning. We have to use ActionCode.XXX to ACTION_ is just wasted screen space.

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

15 years agoRe-factoring the connectors. Remove large chunks of duplicated code in the Processors...
markt [Mon, 13 Sep 2010 20:03:17 +0000 (20:03 +0000)]
Re-factoring the connectors. Remove large chunks of duplicated code in the Processors. Some minor changes elsewhere to support the re-factoring.

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

15 years agoCode clean-up
markt [Mon, 13 Sep 2010 17:28:53 +0000 (17:28 +0000)]
Code clean-up

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

15 years agoFix Eclipse warnings prior to working on bz49884 refactoring
markt [Sun, 12 Sep 2010 08:05:35 +0000 (08:05 +0000)]
Fix Eclipse warnings prior to working on bz49884 refactoring

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

15 years agoFix typos. Remove attributes that don't exist. Add a missing attribute.
markt [Sun, 12 Sep 2010 01:38:30 +0000 (01:38 +0000)]
Fix typos. Remove attributes that don't exist. Add a missing attribute.

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

15 years agoFurther work for https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
markt [Sun, 12 Sep 2010 01:25:03 +0000 (01:25 +0000)]
Further work for https://issues.apache.org/bugzilla/show_bug.cgi?id=49234
GSOC 2010. Enable the creation of Services, Engines, Connectors, Hosts and Contexts via JMX from a minimal server.xml that contains only a Server element.
Based on a patch by Chamith Buddhika. I added the additional changes to pass the parent class loader down the hierarchy.

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

15 years agoUpdate commons pool to 1.5.5
markt [Sat, 11 Sep 2010 16:32:02 +0000 (16:32 +0000)]
Update commons pool to 1.5.5

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

15 years agoUpdate changelog
markt [Sat, 11 Sep 2010 15:47:01 +0000 (15:47 +0000)]
Update changelog

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

15 years agoFix an issue where <Context .../> elements defined in server.xml did not use the...
markt [Sat, 11 Sep 2010 10:44:50 +0000 (10:44 +0000)]
Fix an issue where <Context .../> elements defined in server.xml did not use the configClass specified by the parent <Host .../> element

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

15 years agoRevert r996112. At least some of that config is required.
markt [Sat, 11 Sep 2010 10:17:07 +0000 (10:17 +0000)]
Revert r996112. At least some of that config is required.

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

15 years agoRemove unnecessary digester configuration
markt [Sat, 11 Sep 2010 09:48:32 +0000 (09:48 +0000)]
Remove unnecessary digester configuration
hostConfigClass and engineConfigClass were removed before 6.0.x

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

15 years agoRemove pointless comment.
markt [Fri, 10 Sep 2010 21:35:55 +0000 (21:35 +0000)]
Remove pointless comment.
Schema validation moved to the context

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

15 years agoCode clean up
markt [Thu, 9 Sep 2010 21:08:50 +0000 (21:08 +0000)]
Code clean up

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

15 years agoRefactor log messages to use logger from concrete class
markt [Thu, 9 Sep 2010 21:07:37 +0000 (21:07 +0000)]
Refactor log messages to use logger from concrete class

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

15 years agoShorten the debug output
markt [Thu, 9 Sep 2010 20:34:27 +0000 (20:34 +0000)]
Shorten the debug output

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

15 years agoUpdate change log
markt [Thu, 9 Sep 2010 14:03:12 +0000 (14:03 +0000)]
Update change log

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

15 years agoTrim whitespace from interceptor class names, property names and property values.
markt [Thu, 9 Sep 2010 14:01:50 +0000 (14:01 +0000)]
Trim whitespace from interceptor class names, property names and property values.

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

15 years agoUpdate changelog
markt [Wed, 8 Sep 2010 19:46:34 +0000 (19:46 +0000)]
Update changelog

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49892
markt [Wed, 8 Sep 2010 19:45:16 +0000 (19:45 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49892
Correct JNDI name for method resource injections
Based on a patch by Gurkan Erdogdu

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

15 years agoFix @Override warnings
markt [Wed, 8 Sep 2010 19:39:36 +0000 (19:39 +0000)]
Fix @Override warnings

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

15 years agoUpdate changelog
markt [Wed, 8 Sep 2010 15:35:48 +0000 (15:35 +0000)]
Update changelog

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

15 years agoDocument new validation class (https://issues.apache.org/bugzilla/show_bug.cgi?id...
markt [Wed, 8 Sep 2010 15:31:27 +0000 (15:31 +0000)]
Document new validation class (https://issues.apache.org/bugzilla/show_bug.cgi?id=48817)
Patch provided by Matt Passell.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49831
markt [Wed, 8 Sep 2010 15:27:00 +0000 (15:27 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49831
Make sure pooled XA connections are properly closed when the pool shuts down.
Based on a patch by Daniel Mikusa.

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

15 years agoRemove some unused code
markt [Wed, 8 Sep 2010 15:19:00 +0000 (15:19 +0000)]
Remove some unused code

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

15 years agoUpdate changelog
markt [Wed, 8 Sep 2010 15:11:49 +0000 (15:11 +0000)]
Update changelog

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

15 years agoUpdate to latest Tomact 6.0.x and DBCP 1.3.x release
markt [Wed, 8 Sep 2010 15:09:49 +0000 (15:09 +0000)]
Update to latest Tomact 6.0.x and DBCP 1.3.x release

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

15 years agoBring changelog up to date
markt [Wed, 8 Sep 2010 15:09:16 +0000 (15:09 +0000)]
Bring changelog up to date

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

15 years agoFix warnings in the host manager package
markt [Wed, 8 Sep 2010 06:03:33 +0000 (06:03 +0000)]
Fix warnings in the host manager package

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

15 years agoRemove unused attributes. This all moved to Context.
markt [Wed, 8 Sep 2010 05:57:44 +0000 (05:57 +0000)]
Remove unused attributes. This all moved to Context.

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

15 years agoRemove unused attributes. This all moved to Context.
markt [Wed, 8 Sep 2010 05:43:39 +0000 (05:43 +0000)]
Remove unused attributes. This all moved to Context.

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

15 years agoAdditional debug logging to investigate
markt [Tue, 7 Sep 2010 12:56:29 +0000 (12:56 +0000)]
Additional debug logging to investigate
https://issues.apache.org/bugzilla/show_bug.cgi?id=49884
- logs hashcodes for current request, coyote request and request processor
- logs thread name
- makes debug stack trace optional (enabled with trace level logging)
- adds debug statements to additional methods

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

15 years agoReduce visibility, remove unused/unnecessary methods prior to fixing bz49884
markt [Mon, 6 Sep 2010 16:53:34 +0000 (16:53 +0000)]
Reduce visibility, remove unused/unnecessary methods prior to fixing bz49884

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

15 years agoAdd @Override to test code
markt [Mon, 6 Sep 2010 16:34:19 +0000 (16:34 +0000)]
Add @Override to test code

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

15 years agoAvoid NPE when a parallel request invalidates the current session
markt [Mon, 6 Sep 2010 14:39:48 +0000 (14:39 +0000)]
Avoid NPE when a parallel request invalidates the current session

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

15 years agoCouple of trivial Eclipse nags
markt [Mon, 6 Sep 2010 14:20:11 +0000 (14:20 +0000)]
Couple of trivial Eclipse nags

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

15 years agomanager -> manager-script
markt [Mon, 6 Sep 2010 12:20:32 +0000 (12:20 +0000)]
manager -> manager-script

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

15 years agoIf a ping message fails, removed the failed members from the map rather than propagat...
markt [Mon, 6 Sep 2010 12:07:42 +0000 (12:07 +0000)]
If a ping message fails, removed the failed members from the map rather than propagating the exception

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

15 years agoExtend fix for bz49883
markt [Mon, 6 Sep 2010 09:55:44 +0000 (09:55 +0000)]
Extend fix for bz49883

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

15 years agoFix typo
markt [Mon, 6 Sep 2010 09:28:07 +0000 (09:28 +0000)]
Fix typo

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

15 years agoSwitch to a JSP for the Tomcat home page and make the version numebr dynamic as the...
markt [Mon, 6 Sep 2010 09:24:54 +0000 (09:24 +0000)]
Switch to a JSP for the Tomcat home page and make the version numebr dynamic as the hard-coded version number in the static page can cause confusion in when using CATALINA_BASE and switching between multiple CATALINA_HOMEs

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

15 years agogit-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@992981 13f79535-47bb-0310...
markt [Mon, 6 Sep 2010 09:23:16 +0000 (09:23 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@992981 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMisc code clean-up.
markt [Sun, 5 Sep 2010 21:08:42 +0000 (21:08 +0000)]
Misc code clean-up.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49883
markt [Sun, 5 Sep 2010 20:43:38 +0000 (20:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49883
Return a name for use in log messages rather than throwing an UnsupportedOperationException

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49802
markt [Sun, 5 Sep 2010 20:36:16 +0000 (20:36 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49802
Allow the connectors to be stopped via JMX.

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

15 years agoMake sure async timeout thread is stopped when the connector is stopped.
markt [Sun, 5 Sep 2010 19:49:53 +0000 (19:49 +0000)]
Make sure async timeout thread is stopped when the connector is stopped.
Correct copy and pasted comment
Also fix @Override warning for the method

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

15 years agoMake sure acceptor threads are stopped when the connector is stopped.
markt [Sun, 5 Sep 2010 19:47:36 +0000 (19:47 +0000)]
Make sure acceptor threads are stopped when the connector is stopped.
Also fix @Override warnings for the method

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

15 years agoFix an Eclispe nag.
markt [Fri, 3 Sep 2010 20:45:41 +0000 (20:45 +0000)]
Fix an Eclispe nag.

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

15 years agoRemove debug code that was added in r991959
markt [Fri, 3 Sep 2010 20:41:25 +0000 (20:41 +0000)]
Remove debug code that was added in r991959

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49865
markt [Fri, 3 Sep 2010 20:37:46 +0000 (20:37 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49865
Allow Tomcat to start if catalina.properties is not present

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

15 years agoUse shutdown instead close for hard closing the socket which is inside Socket.accept...
mturk [Fri, 3 Sep 2010 20:30:10 +0000 (20:30 +0000)]
Use shutdown instead close for hard closing the socket which is inside Socket.accept call

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

15 years agoHard close the accepting socket if unlockAccept failed
mturk [Fri, 3 Sep 2010 19:54:02 +0000 (19:54 +0000)]
Hard close the accepting socket if unlockAccept failed

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

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=49876
markt [Fri, 3 Sep 2010 18:50:57 +0000 (18:50 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=49876
Generics warnings in the copied Apache Jakarta BCEL code. Based on a patch by Gábor. (markt)

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