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

15 years agoRemove some unnecessary code and fix an Eclipse warning
markt [Fri, 3 Sep 2010 18:47:29 +0000 (18:47 +0000)]
Remove some unnecessary code and fix an Eclipse warning

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

15 years agoWhite-space clean-up
markt [Fri, 3 Sep 2010 18:35:59 +0000 (18:35 +0000)]
White-space clean-up
Reduce sequences of three or more blank lines to two blank lines

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

15 years agoAdd @Override markers. Auto generated by Eclipse. Checked manually.
markt [Fri, 3 Sep 2010 17:57:33 +0000 (17:57 +0000)]
Add @Override markers. Auto generated by Eclipse. Checked manually.

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

15 years agoTrace through some unused code and remove it.
markt [Fri, 3 Sep 2010 17:50:32 +0000 (17:50 +0000)]
Trace through some unused code and remove it.

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

15 years agoUpdate merge info
markt [Fri, 3 Sep 2010 17:45:05 +0000 (17:45 +0000)]
Update merge info

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

15 years agoSync with Jakarta. Add generated serialVersionUID's.
markt [Fri, 3 Sep 2010 17:40:12 +0000 (17:40 +0000)]
Sync with Jakarta. Add generated serialVersionUID's.
Don't use the same values as Jakarta since the code has been structurally modified (to removed unused elements)

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

15 years agoKeep MBean names consistent with Tomact 6.
markt [Fri, 3 Sep 2010 13:20:22 +0000 (13:20 +0000)]
Keep MBean names consistent with Tomact 6.

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

15 years agoMake destroy method returning when the worker thread finishes instead separately...
mturk [Fri, 3 Sep 2010 10:37:53 +0000 (10:37 +0000)]
Make destroy method returning when the worker thread finishes instead separately calling destroy followed by join

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

15 years agoCall join only for alive threads
mturk [Fri, 3 Sep 2010 10:16:00 +0000 (10:16 +0000)]
Call join only for alive threads

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

15 years agoAdd wrapper over Socket.destroy which will make sure we don't call destory for socket...
mturk [Fri, 3 Sep 2010 10:12:57 +0000 (10:12 +0000)]
Add wrapper over Socket.destroy which will make sure we don't call destory for sockets already closed by the parent pool cleanup

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

15 years agoRemove method that no longer exists
markt [Fri, 3 Sep 2010 09:49:52 +0000 (09:49 +0000)]
Remove method that no longer exists

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

15 years agoExpose current state of Lifecycle components via JMX beans (where a component has...
markt [Fri, 3 Sep 2010 09:48:46 +0000 (09:48 +0000)]
Expose current state of Lifecycle components via JMX beans (where a component has one). Mainly useful for monitoring web application status.

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

15 years agoBZ 49869: Javadoc Fix.
rjung [Fri, 3 Sep 2010 08:54:20 +0000 (08:54 +0000)]
BZ 49869: Javadoc Fix.

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

15 years agoJoin poller and sendfile threads on destroy. This requires to change the Poller and...
mturk [Fri, 3 Sep 2010 05:27:24 +0000 (05:27 +0000)]
Join poller and sendfile threads on destroy. This requires to change the Poller and Sendile to Thread instead Runnable for simplicity.

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

15 years agoMake sure we exit the thread if not running. Otherwise the thread will block in run...
mturk [Fri, 3 Sep 2010 04:36:46 +0000 (04:36 +0000)]
Make sure we exit the thread if not running. Otherwise the thread will block in run until the VM shuts down

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

15 years agoStore the Acceptor instances in the array like we do for other threads
mturk [Fri, 3 Sep 2010 04:26:23 +0000 (04:26 +0000)]
Store the Acceptor instances in the array like we do for other threads

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

15 years agoTrim trailing spaces. No functional change
mturk [Fri, 3 Sep 2010 04:09:25 +0000 (04:09 +0000)]
Trim trailing spaces. No functional change

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

15 years agoBZ 49865: ExceptionUtils throw NoClassDefFoundError
rjung [Thu, 2 Sep 2010 16:52:48 +0000 (16:52 +0000)]
BZ 49865: ExceptionUtils throw NoClassDefFoundError
during startup. Add TODO markers.

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

15 years agoFollowup to r991959.
rjung [Thu, 2 Sep 2010 15:02:52 +0000 (15:02 +0000)]
Followup to r991959.

Forgot the two classes.

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

15 years agoBZ 48967: Replace strings "catalina.base" and "catalina.home"
rjung [Thu, 2 Sep 2010 14:52:11 +0000 (14:52 +0000)]
BZ 48967: Replace strings "catalina.base" and "catalina.home"
by globally defined constants.

Patch provided by Marc Guillemot.

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

15 years agoFix warnings
markt [Thu, 2 Sep 2010 12:36:23 +0000 (12:36 +0000)]
Fix warnings

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

15 years agoUpdate the Servlet, JSP & EL javadoc links and add spec links.
markt [Thu, 2 Sep 2010 09:08:46 +0000 (09:08 +0000)]
Update the Servlet, JSP & EL javadoc links and add spec links.

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

15 years agoAdd a comment as a reminder
markt [Thu, 2 Sep 2010 08:01:20 +0000 (08:01 +0000)]
Add a comment as a reminder

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

15 years agoRemove setting distributable on the Context from the docs. It gets lost on webapp...
markt [Thu, 2 Sep 2010 07:55:11 +0000 (07:55 +0000)]
Remove setting distributable on the Context from the docs. It gets lost on webapp reload() e.g. when triggered from the manager app.

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

15 years agoRemove excludes for files no longer in source tree
markt [Wed, 1 Sep 2010 13:53:28 +0000 (13:53 +0000)]
Remove excludes for files no longer in source tree

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

15 years agoRe-factoring. Reduce code duplication. More still to be done.
markt [Tue, 31 Aug 2010 22:07:58 +0000 (22:07 +0000)]
Re-factoring. Reduce code duplication. More still to be done.

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

15 years agoRe-factoring. Preparing for Http11AprProtocol to extend AbstractHttp11Protocol
markt [Tue, 31 Aug 2010 19:13:01 +0000 (19:13 +0000)]
Re-factoring. Preparing for Http11AprProtocol to extend AbstractHttp11Protocol

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

15 years agoClean-up
markt [Tue, 31 Aug 2010 18:25:58 +0000 (18:25 +0000)]
Clean-up

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

15 years agoSome Lifecycle clean-up
markt [Tue, 31 Aug 2010 17:52:45 +0000 (17:52 +0000)]
Some Lifecycle clean-up

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

15 years agoFix warnings
markt [Tue, 31 Aug 2010 17:27:43 +0000 (17:27 +0000)]
Fix warnings

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

15 years agoFix warnings
markt [Tue, 31 Aug 2010 17:06:05 +0000 (17:06 +0000)]
Fix warnings

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

15 years agoClean-up unused attributes
markt [Mon, 30 Aug 2010 22:49:08 +0000 (22:49 +0000)]
Clean-up unused attributes

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49799
markt [Mon, 30 Aug 2010 22:32:08 +0000 (22:32 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49799
The new omit< attribute for <jsp:attribute .../> elements now supports the use of expressions and expression language.

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

15 years agoRemove some unused code
markt [Mon, 30 Aug 2010 18:17:41 +0000 (18:17 +0000)]
Remove some unused code

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

15 years agoFix likely cause of Gump failure. Fix for https://issues.apache.org/bugzilla/show_bug...
markt [Sun, 29 Aug 2010 14:50:11 +0000 (14:50 +0000)]
Fix likely cause of Gump failure. Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49698 in r990342 was incomplete

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

15 years agoFix warnings
markt [Sun, 29 Aug 2010 14:20:58 +0000 (14:20 +0000)]
Fix warnings

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

15 years agoRemove the debug logging since we got to the bottom of this failure a while ago.
markt [Sun, 29 Aug 2010 14:18:35 +0000 (14:18 +0000)]
Remove the debug logging since we got to the bottom of this failure a while ago.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49698
markt [Sat, 28 Aug 2010 11:07:39 +0000 (11:07 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49698
Allow listeners to call complete when a async request times out
Add a test case based on pero's previous timeout test case

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

15 years agoBZ49828: Remove deprecated J2SE/J2EE terminology
rjung [Thu, 26 Aug 2010 15:07:54 +0000 (15:07 +0000)]
BZ49828: Remove deprecated J2SE/J2EE terminology
and replace links to Sun with links to Oracle
(for those Oracle links that look static).

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=38113
markt [Wed, 25 Aug 2010 16:44:08 +0000 (16:44 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=38113

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49749
markt [Wed, 25 Aug 2010 11:36:38 +0000 (11:36 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49749

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

15 years agoTrivial code clean-up
markt [Wed, 25 Aug 2010 11:25:18 +0000 (11:25 +0000)]
Trivial code clean-up

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

15 years agoMinor clean-up. Merge methods.
markt [Wed, 25 Aug 2010 11:24:42 +0000 (11:24 +0000)]
Minor clean-up. Merge methods.

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

15 years agoSimplify APR version requirement checks by calculating compound versions and doing...
mturk [Wed, 25 Aug 2010 05:51:33 +0000 (05:51 +0000)]
Simplify APR version requirement checks by calculating compound versions and doing a simple compare

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

15 years agoRemove empty package
markt [Tue, 24 Aug 2010 21:45:46 +0000 (21:45 +0000)]
Remove empty package

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

15 years agoFix memory leak on context stop
markt [Tue, 24 Aug 2010 21:08:34 +0000 (21:08 +0000)]
Fix memory leak on context stop

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

15 years agoFix some edge cases in the NIO connector when handling requests that are not received...
markt [Tue, 24 Aug 2010 18:12:51 +0000 (18:12 +0000)]
Fix some edge cases in the NIO connector when handling requests that are not received all at the same time and the socket needs to be returned to the poller.
This should fix the current Gump failures in the NIO tests.

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

15 years agoFix logger visibility
markt [Tue, 24 Aug 2010 10:49:33 +0000 (10:49 +0000)]
Fix logger visibility

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

15 years agoNotes on a couple more checks
markt [Tue, 24 Aug 2010 10:19:04 +0000 (10:19 +0000)]
Notes on a couple more checks

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48738
markt [Tue, 24 Aug 2010 10:02:14 +0000 (10:02 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48738
Workaround a couple of long standing JDK bugs to enable GZIP compressed output streams to be flushed. Based on a patch provided by Jiong Wang.

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

15 years agoCorrectly handle anchors in URLs with the CSRF prevention filter.
markt [Tue, 24 Aug 2010 09:30:11 +0000 (09:30 +0000)]
Correctly handle anchors in URLs with the CSRF prevention filter.

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

15 years agoFix typo
markt [Tue, 24 Aug 2010 08:19:25 +0000 (08:19 +0000)]
Fix typo

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

15 years agoRemove methods already defined by Container
markt [Tue, 24 Aug 2010 08:00:55 +0000 (08:00 +0000)]
Remove methods already defined by Container

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49669
markt [Mon, 23 Aug 2010 20:35:03 +0000 (20:35 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49669
Another Java class triggering a memory leak. This time javax.security.auth.Policy

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49670
markt [Mon, 23 Aug 2010 20:15:13 +0000 (20:15 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49670
Fix SSO - broken by Lifecycle refactoring

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

15 years agoUpdate changelog
markt [Mon, 23 Aug 2010 19:41:06 +0000 (19:41 +0000)]
Update changelog

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49721
markt [Mon, 23 Aug 2010 19:37:25 +0000 (19:37 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49721
All JARs can be resource JARs. Although the spec defines no order, use ordered JARs in order then the remaining JARs in any order.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49726
markt [Mon, 23 Aug 2010 19:23:28 +0000 (19:23 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49726
Specifying a default content type via a JSP property group should not prevent a page from setting some other content type
Includes test cases

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

15 years agoFix the Eclipse warnings in o.a.c.loader
markt [Mon, 23 Aug 2010 17:38:41 +0000 (17:38 +0000)]
Fix the Eclipse warnings in o.a.c.loader

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49750
markt [Mon, 23 Aug 2010 17:32:03 +0000 (17:32 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49750
Align WebappClassLoader.validate() implementation with Javadoc and ensure that javax.servlet.* classes can not be loaded by a WebappClassLoader instance.
Patch provided by pid.

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

15 years agoFix Gump build
markt [Mon, 23 Aug 2010 09:47:42 +0000 (09:47 +0000)]
Fix Gump build

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

15 years agoAdd support for LAST_ACCESS_AT_START system property to DeltaSession.
kfujino [Mon, 23 Aug 2010 04:57:49 +0000 (04:57 +0000)]
Add support for LAST_ACCESS_AT_START system property to DeltaSession.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49758
markt [Sun, 22 Aug 2010 23:11:18 +0000 (23:11 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49758
Fix generics warnings exposed by a fix in Eclipse 3.6. Patch provided by sebb.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49779
markt [Sun, 22 Aug 2010 22:55:26 +0000 (22:55 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49779
Improve handling of POST requests and FORM authentication, particularly when the user agent responds to the 302 response by repeating the POST request including a request body. Any request body provided at this point is now swallowed.
Clean up the FormAuthenticator test case and extend the coverage to include bug 49779 and the remaining combinations of request methods.

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

15 years agoCorrect test name since this turned out to be a side issue
markt [Sun, 22 Aug 2010 21:34:33 +0000 (21:34 +0000)]
Correct test name since this turned out to be a side issue

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

15 years agoProvide 100 Continue responses if required during FORM authentication
markt [Sun, 22 Aug 2010 21:02:33 +0000 (21:02 +0000)]
Provide 100 Continue responses if required during FORM authentication
Side issues from investigating https://issues.apache.org/bugzilla/show_bug.cgi?id=49779

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

15 years agoAdd support for parsing a session ID and the 100-continue expectation
markt [Sun, 22 Aug 2010 20:56:12 +0000 (20:56 +0000)]
Add support for parsing a session ID and the 100-continue expectation

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

15 years agoExtend the simple MapRealm use for testing to support roles.
markt [Sun, 22 Aug 2010 20:16:56 +0000 (20:16 +0000)]
Extend the simple MapRealm use for testing to support roles.

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

15 years agoCode clean-up. No functional change.
markt [Sun, 22 Aug 2010 15:34:34 +0000 (15:34 +0000)]
Code clean-up. No functional change.
Extend Checkstyle checks to import order. Use Eclipse tooling to fix current code base.

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

15 years agoFix tpyos.
rjung [Sun, 22 Aug 2010 15:26:08 +0000 (15:26 +0000)]
Fix tpyos.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49757
markt [Sun, 22 Aug 2010 14:56:20 +0000 (14:56 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49757
Correct generics warnings and a couple of other warnings whilst I had the files open.
Based on a patch by Gábor

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

15 years agoFix import ordering - no functional change
markt [Sun, 22 Aug 2010 14:44:51 +0000 (14:44 +0000)]
Fix import ordering - no functional change
 -javax.* packages

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

15 years agoUpdate changelog
markt [Sun, 22 Aug 2010 14:40:30 +0000 (14:40 +0000)]
Update changelog

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

15 years agoFix POM reference error ID'd on users list
markt [Sun, 22 Aug 2010 12:59:35 +0000 (12:59 +0000)]
Fix POM reference error ID'd on users list

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

15 years agoAdd a message to the exception
markt [Fri, 20 Aug 2010 15:09:04 +0000 (15:09 +0000)]
Add a message to the exception

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

15 years agoLink the MBeanFactory to the Server that creates it as some MBeanFactory methods...
markt [Fri, 20 Aug 2010 14:47:33 +0000 (14:47 +0000)]
Link the MBeanFactory to the Server that creates it as some MBeanFactory methods need the container to be set.

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

15 years agoFix spec version numbers in comments
markt [Fri, 20 Aug 2010 14:46:04 +0000 (14:46 +0000)]
Fix spec version numbers in comments

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

15 years agoCorrect a typo
kkolinko [Sun, 15 Aug 2010 14:43:29 +0000 (14:43 +0000)]
Correct a typo

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

15 years agoSmall fixes to TC 7 build docs:
rjung [Thu, 12 Aug 2010 21:12:19 +0000 (21:12 +0000)]
Small fixes to TC 7 build docs:

- correct download link
- remove "ant download"
- update ant version requirements from 1.6.5 to 1.8.1

CTR

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

15 years agoFix broken docs link.
rjung [Thu, 12 Aug 2010 20:59:27 +0000 (20:59 +0000)]
Fix broken docs link.

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

15 years agoEnable off-line building of extrsa - moves commons-logging libs to standard Tomcat...
markt [Wed, 11 Aug 2010 17:55:14 +0000 (17:55 +0000)]
Enable off-line building of extrsa - moves commons-logging libs to standard Tomcat lib download process

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

15 years agoNo need for autoconf
markt [Fri, 6 Aug 2010 10:19:37 +0000 (10:19 +0000)]
No need for autoconf

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

15 years agoAdd Null check when CHANGE_SESSION_ID message received.
kfujino [Fri, 6 Aug 2010 05:56:21 +0000 (05:56 +0000)]
Add Null check when CHANGE_SESSION_ID message received.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49714
kfujino [Fri, 6 Aug 2010 02:19:28 +0000 (02:19 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49714
The annotation process of Jar doesn't influence distributable element of web.xml.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48817
markt [Thu, 5 Aug 2010 22:27:53 +0000 (22:27 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48817
Add Validator interface and allow users to configure a Validator class name

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49585
markt [Thu, 5 Aug 2010 20:38:03 +0000 (20:38 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49585
Update for changes in Commons Daemon packaging

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

15 years agoExtend fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48545 to aid back...
markt [Thu, 5 Aug 2010 15:50:50 +0000 (15:50 +0000)]
Extend fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48545 to aid back-port to 6.0.x by better aligning behaviours

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

15 years agoCode clean up in o.a.t.until.net.jsse
markt [Thu, 5 Aug 2010 12:55:15 +0000 (12:55 +0000)]
Code clean up in o.a.t.until.net.jsse
 - @Override
 - import order
 - unused code
 - unnecessary code

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

15 years agoSkip repackaged DBCP in validate target (Gump was running it). Any build where the...
markt [Thu, 5 Aug 2010 09:51:41 +0000 (09:51 +0000)]
Skip repackaged DBCP in validate target (Gump was running it). Any build where the deps are downloaded inside the svn checkout would fail in a similar manner

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

15 years agoCouple more whitespace checks. In both cases went with the nospace option since that...
markt [Wed, 4 Aug 2010 22:50:52 +0000 (22:50 +0000)]
Couple more whitespace checks. In both cases went with the nospace option since that is what the majority of the current code uses

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

15 years agoTried to add GenericWhitespace test - has to be disabled due to a bug
markt [Wed, 4 Aug 2010 22:45:20 +0000 (22:45 +0000)]
Tried to add GenericWhitespace test - has to be disabled due to a bug

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

15 years agoRemove redundant imports
markt [Wed, 4 Aug 2010 22:29:39 +0000 (22:29 +0000)]
Remove redundant imports
 (Bugzilla was down)

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

15 years agoExtend checkstyle to include checking * imports
markt [Wed, 4 Aug 2010 21:55:19 +0000 (21:55 +0000)]
Extend checkstyle to include checking * imports
Fix all current * imports
Fix a few other issues along the way
 - Missing @Override
 - serialVersionUID

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