tomcat7.0
15 years agoPart of refactoring STRICT_SERVLET_COMPLIANCE so it just changes defaults
markt [Sun, 6 Jun 2010 18:29:26 +0000 (18:29 +0000)]
Part of refactoring STRICT_SERVLET_COMPLIANCE so it just changes defaults
New ACCESS_SESSION property

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

15 years agoPut the comment in the right place
markt [Sun, 6 Jun 2010 18:23:33 +0000 (18:23 +0000)]
Put the comment in the right place

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

15 years agoUse STRICT_SERVLET_COMPLIANCE to override the default for ACTIVITY_CHECK to align...
markt [Sun, 6 Jun 2010 17:36:34 +0000 (17:36 +0000)]
Use STRICT_SERVLET_COMPLIANCE to override the default for ACTIVITY_CHECK to align behaviour with other system properties

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

15 years agoRemove the warning. The bug reports received indicate that folks are using this,...
markt [Sun, 6 Jun 2010 17:04:42 +0000 (17:04 +0000)]
Remove the warning. The bug reports received indicate that folks are using this, generally successfully.

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

15 years agoAdd AccessLog interface to JDBCAccessLog
markt [Sun, 6 Jun 2010 16:42:56 +0000 (16:42 +0000)]
Add AccessLog interface to JDBCAccessLog

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

15 years agoRearrange tomcat-juli permissions, for better readability.
kkolinko [Sun, 6 Jun 2010 16:02:30 +0000 (16:02 +0000)]
Rearrange tomcat-juli permissions, for better readability.

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

15 years agoUpdate in-document copy of the default catalina.policy file
kkolinko [Sat, 5 Jun 2010 00:21:53 +0000 (00:21 +0000)]
Update in-document copy of the default catalina.policy file

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

15 years agoWrap long lines, so that this file could be copied to security-manager-howto.xml...
kkolinko [Sat, 5 Jun 2010 00:19:07 +0000 (00:19 +0000)]
Wrap long lines, so that this file could be copied to security-manager-howto.xml as is.

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

15 years agoCorrect wording in a comment. It is a followup to r950596
kkolinko [Fri, 4 Jun 2010 23:51:02 +0000 (23:51 +0000)]
Correct wording in a comment. It is a followup to r950596

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

15 years agoUse provided parameter
markt [Fri, 4 Jun 2010 15:36:04 +0000 (15:36 +0000)]
Use provided parameter

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

15 years agoRemove code duplication by used abstract base class
markt [Thu, 3 Jun 2010 18:28:58 +0000 (18:28 +0000)]
Remove code duplication by used abstract base class

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

15 years agoCorrect Javadoc
markt [Thu, 3 Jun 2010 18:28:01 +0000 (18:28 +0000)]
Correct Javadoc
Fix whitespace

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

15 years agoStarted is only used in BIO connector
markt [Thu, 3 Jun 2010 18:15:47 +0000 (18:15 +0000)]
Started is only used in BIO connector

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

15 years agoExtend access logging to requests rejected in the Processors
markt [Thu, 3 Jun 2010 18:13:47 +0000 (18:13 +0000)]
Extend access logging to requests rejected in the Processors

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

15 years agoRefactor the hooks from the CoyoteAdapter to the access logs
markt [Thu, 3 Jun 2010 15:00:11 +0000 (15:00 +0000)]
Refactor the hooks from the CoyoteAdapter to the access logs
- cleaner interface
- handles AccessLogs at multiple levels (but not multiple AccessLogs per container)

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

15 years agoExpand the common pattern as an example to users
markt [Thu, 3 Jun 2010 14:33:16 +0000 (14:33 +0000)]
Expand the common pattern as an example to users

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

15 years agoEnable access logs by default for 7.0.x
markt [Thu, 3 Jun 2010 13:16:27 +0000 (13:16 +0000)]
Enable access logs by default for 7.0.x

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

15 years agoRe-order so it is easier to check all objects are re-cycled
markt [Thu, 3 Jun 2010 10:02:30 +0000 (10:02 +0000)]
Re-order so it is easier to check all objects are re-cycled

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

15 years ago"this.channel.removeChannelListener(this.rpcChannel);" call is replaced with "this...
kfujino [Thu, 3 Jun 2010 09:37:36 +0000 (09:37 +0000)]
"this.channel.removeChannelListener(this.rpcChannel);" call is replaced with "this.rpcChannel.breakdown();".

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

15 years agoClean up FastHttpDateFormat initialisation when using a security manager as prompted...
markt [Thu, 3 Jun 2010 07:56:23 +0000 (07:56 +0000)]
Clean up FastHttpDateFormat initialisation when using a security manager as prompted by Konstantin

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

15 years agoFix an Eclipse nag
markt [Thu, 3 Jun 2010 07:50:51 +0000 (07:50 +0000)]
Fix an Eclipse nag

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

15 years agoInclude major.minor version numbers into the name of the registry key used to autolau...
kkolinko [Thu, 3 Jun 2010 06:17:47 +0000 (06:17 +0000)]
Include major.minor version numbers into the name of the registry key used to autolaunch Tomcat Monitor at Windows startup. This allows Tomcat 7 monitor to be installed and run in parallel to the Tomcat 6 one.

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

15 years agoPrevent possible deadlocks in AprEndpoint.Poller and AprEndpoint.Sendfile,
kkolinko [Thu, 3 Jun 2010 01:33:08 +0000 (01:33 +0000)]
Prevent possible deadlocks in AprEndpoint.Poller and AprEndpoint.Sendfile,
caused by missing Object.notify() wakeup,
which is similar to https://issues.apache.org/bugzilla/show_bug.cgi?id=48843

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

15 years agoFollowup to r950587 which was a fix for https://issues.apache.org/bugzilla/show_bug...
kkolinko [Wed, 2 Jun 2010 22:54:49 +0000 (22:54 +0000)]
Followup to r950587 which was a fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49099
Fix lookup of the root context: its name is "", not "/".

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

15 years agoFollowup to r948043 that was a fix for https://issues.apache.org/bugzilla/show_bug...
kkolinko [Wed, 2 Jun 2010 17:34:55 +0000 (17:34 +0000)]
Followup to r948043 that was a fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49095
We should not use PrintWriter(OutputStream), because that implicitly uses the platform default charset. Specify the charset explicitly.

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

15 years agoAdd whitespace between words.
kkolinko [Wed, 2 Jun 2010 16:09:22 +0000 (16:09 +0000)]
Add whitespace between words.
It is trivial followup to r950164

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49178
markt [Wed, 2 Jun 2010 15:26:30 +0000 (15:26 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49178
Using ${catalina.base}/lib will require an additional permission

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

15 years agoImprove comment
markt [Wed, 2 Jun 2010 15:23:57 +0000 (15:23 +0000)]
Improve comment

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49099
markt [Wed, 2 Jun 2010 15:12:36 +0000 (15:12 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49099
Hooking the CoyoteAdaptor into the existing AccessLog wasn't as invasive as I feared so go that route to log requests rejected by the Adaptor before the request/response reaches the AcessLogValve

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

15 years agoFix Eclipse warnings in the o.a.c.tribes.test package
markt [Wed, 2 Jun 2010 11:45:11 +0000 (11:45 +0000)]
Fix Eclipse warnings in the o.a.c.tribes.test package

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

15 years agoFix test failure. Need to explicitly configure stopping timer threads
markt [Wed, 2 Jun 2010 11:40:55 +0000 (11:40 +0000)]
Fix test failure. Need to explicitly configure stopping timer threads

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48971
markt [Tue, 1 Jun 2010 16:59:14 +0000 (16:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48971
Make stopping of TimerThreads optional and disabled by default

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

15 years agoFix EL issue reported on users list by obtaining class information directly from...
markt [Mon, 31 May 2010 18:39:55 +0000 (18:39 +0000)]
Fix EL issue reported on users list by obtaining class information directly from the values rather than via getType() which is likely to return a more generic type that the actual type of the value.

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

15 years agoAdd some checks that nulls are handled correctly.
markt [Mon, 31 May 2010 18:20:39 +0000 (18:20 +0000)]
Add some checks that nulls are handled correctly.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49345
markt [Mon, 31 May 2010 17:30:25 +0000 (17:30 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49345
Second parameter for new ValueReference should be property. There is no guarantee that the property will be the second child node.

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

15 years agoTest case for https://issues.apache.org/bugzilla/show_bug.cgi?id=49345
markt [Mon, 31 May 2010 17:29:17 +0000 (17:29 +0000)]
Test case for https://issues.apache.org/bugzilla/show_bug.cgi?id=49345
Fix to follow

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49360
markt [Mon, 31 May 2010 16:57:45 +0000 (16:57 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49360
Managers will be restarted on Context reload

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

15 years agoIt works (I fixed it for 6.0.20) but it still needs docs.
markt [Mon, 31 May 2010 16:18:31 +0000 (16:18 +0000)]
It works (I fixed it for 6.0.20) but it still needs docs.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49340
markt [Fri, 28 May 2010 20:08:02 +0000 (20:08 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49340
Simplify the mapper listener registration/de-registration process

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

15 years agoFix APR AJP logic.
jfclere [Thu, 27 May 2010 12:05:50 +0000 (12:05 +0000)]
Fix APR AJP logic.

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

15 years agoExtend to test deferred expressions. Need to use request scope attributes since page...
markt [Thu, 27 May 2010 00:43:54 +0000 (00:43 +0000)]
Extend to test deferred expressions. Need to use request scope attributes since page scope ones won't be visible to the tag file when evaluating the deferred expressions.

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

15 years agoFix for BZ49343.
kfujino [Wed, 26 May 2010 11:58:55 +0000 (11:58 +0000)]
Fix for BZ49343.
When ChannelException is thrown, remove listener from channel.

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

15 years agoGSOC 2010
markt [Tue, 25 May 2010 23:48:21 +0000 (23:48 +0000)]
GSOC 2010
Expose additional cluster attributes
Patch provided by chamith buddhika

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

15 years agoGSOC 2010
markt [Tue, 25 May 2010 23:38:40 +0000 (23:38 +0000)]
GSOC 2010
Expose additional cluster attributes
Patch provided by chamith buddhika

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

15 years agoGSOC 2010
markt [Tue, 25 May 2010 23:37:03 +0000 (23:37 +0000)]
GSOC 2010
Add the container although it isn't much use yet.
Patch provided by chamith buddhika

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

15 years agogit-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@948248 13f79535-47bb-0310...
markt [Tue, 25 May 2010 23:14:06 +0000 (23:14 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@948248 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMake test more exact. Want to spot any change in the number of MBeans.
markt [Tue, 25 May 2010 22:44:21 +0000 (22:44 +0000)]
Make test more exact. Want to spot any change in the number of MBeans.

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

15 years agoRestore the naming resource MBeans
markt [Tue, 25 May 2010 22:43:45 +0000 (22:43 +0000)]
Restore the naming resource MBeans

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

15 years agoClean-up
markt [Tue, 25 May 2010 21:25:45 +0000 (21:25 +0000)]
Clean-up

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

15 years agoAdd missing classes.
jfclere [Tue, 25 May 2010 16:08:36 +0000 (16:08 +0000)]
Add missing classes.

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

15 years agoRemove unused imports
markt [Tue, 25 May 2010 15:18:02 +0000 (15:18 +0000)]
Remove unused imports

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49196
markt [Tue, 25 May 2010 14:20:58 +0000 (14:20 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49196
Avoid NPE on PageContext.getErrorData()

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

15 years agoAdd a test case for https://issues.apache.org/bugzilla/show_bug.cgi?id=49196
markt [Tue, 25 May 2010 14:20:16 +0000 (14:20 +0000)]
Add a test case for https://issues.apache.org/bugzilla/show_bug.cgi?id=49196
Patch to follow shortly

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

15 years agoTabs to spaces
markt [Tue, 25 May 2010 14:16:08 +0000 (14:16 +0000)]
Tabs to spaces

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49095
markt [Tue, 25 May 2010 13:53:14 +0000 (13:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49095
AprEndpoint does not wakeup accepts with deferred accept or BSD filters
Based on a patch provided by Ruediger Pluem

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

15 years agoRemove duplicate code
markt [Tue, 25 May 2010 12:50:19 +0000 (12:50 +0000)]
Remove duplicate code

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

15 years agoIt would a lot of work to have it switchable in APR.
jfclere [Tue, 25 May 2010 09:13:15 +0000 (09:13 +0000)]
It would a lot of work to have it switchable in APR.

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

15 years agoMissed 2 files - older version of the protocol, will update them when I get to the...
costin [Tue, 25 May 2010 07:37:23 +0000 (07:37 +0000)]
Missed 2 files - older version of the protocol, will update them when I get to the new proto.

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

15 years agoMatching test fixes. Seems to pass ( maven can be used, but will build/test against...
costin [Tue, 25 May 2010 07:36:04 +0000 (07:36 +0000)]
Matching test fixes. Seems to pass ( maven can be used, but will build/test against tomcat6 ).

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

15 years agoVarious changes to better support coyote, remove integration package, prepare to...
costin [Tue, 25 May 2010 06:54:47 +0000 (06:54 +0000)]
Various changes to better support coyote, remove integration package, prepare to replace jsse with apr, etc.

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

15 years agoMore coyote support.
costin [Tue, 25 May 2010 06:44:02 +0000 (06:44 +0000)]
More coyote support.

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

15 years agoMoved the JSSE code to separate package. Added a bunch of workarounds to support...
costin [Tue, 25 May 2010 06:42:26 +0000 (06:42 +0000)]
Moved the JSSE code to separate package. Added a bunch of workarounds to support harmony/android, there seems to be a problem with the ciphers.
Probably the code will go away after I add APR support - too many problems, in particular SPDY can't be implemented as it relies on SSL protocol negotiation.
For now it mostly works on android.

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

15 years agoBroken, not used. Source in o.a.t.util.buf was removed as well.
costin [Tue, 25 May 2010 06:21:36 +0000 (06:21 +0000)]
Broken, not used. Source in o.a.t.util.buf was removed as well.

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

15 years agoRemove the 'integration' - ObjectManager and wrapping of DI frameworks. Lite is just...
costin [Tue, 25 May 2010 06:12:38 +0000 (06:12 +0000)]
Remove the 'integration' - ObjectManager and wrapping of DI frameworks. Lite is just a library/connector - doesn't need it, instead will integrate
it with existing tomcat JNI model. I may add it back for an example of using tomcat-lite standalone, but for now it's better to avoid confusion.

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

15 years agoRemoving the mini-'servlet' code from lite. The goal is to implement connector and...
costin [Tue, 25 May 2010 06:09:40 +0000 (06:09 +0000)]
Removing the mini-'servlet' code from lite. The goal is to implement connector and http client, this creates confusion.

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

15 years agoCorrect a typo
kkolinko [Mon, 24 May 2010 22:19:23 +0000 (22:19 +0000)]
Correct a typo

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

15 years agoFix some TCK failures with the BIO AJP connector when using a security manager
markt [Mon, 24 May 2010 17:03:37 +0000 (17:03 +0000)]
Fix some TCK failures with the BIO AJP connector when using a security manager

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=48976
markt [Mon, 24 May 2010 14:28:20 +0000 (14:28 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48976
Document JAVA_ENDORSED_DIRS

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

15 years agoAccording to Konstantin's review comments:
rjung [Mon, 24 May 2010 12:08:24 +0000 (12:08 +0000)]
According to Konstantin's review comments:
- eliminate line breaks in descriptions
- change capitalization of attribute from "uRLs" to
  "URLs".

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

15 years agoRestore -dev suffix post tag
markt [Sun, 23 May 2010 21:04:08 +0000 (21:04 +0000)]
Restore -dev suffix post tag

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

15 years agoPrep for RC3
markt [Sun, 23 May 2010 21:01:36 +0000 (21:01 +0000)]
Prep for RC3

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

15 years agoDon't add HostConfig as a listener twice. It breaks the Manager app and probably...
markt [Sun, 23 May 2010 11:32:12 +0000 (11:32 +0000)]
Don't add HostConfig as a listener twice. It breaks the Manager app and probably other stuff too.

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

15 years agoAlign host-manager role names with manager role names.
markt [Sun, 23 May 2010 10:46:40 +0000 (10:46 +0000)]
Align host-manager role names with manager role names.
Add a 403 page to inform users of changed role name.

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

15 years agoAdd a 403 page. If the user tries to use the old manager role, they'll get a 403.
markt [Sun, 23 May 2010 10:41:25 +0000 (10:41 +0000)]
Add a 403 page. If the user tries to use the old manager role, they'll get a 403.

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

15 years agoTabs to 8 spaces. No functional change.
kkolinko [Thu, 20 May 2010 18:28:39 +0000 (18:28 +0000)]
Tabs to 8 spaces. No functional change.

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

15 years agoImprovement suggested by Sebastian Bazley.
jfclere [Thu, 20 May 2010 17:12:10 +0000 (17:12 +0000)]
Improvement suggested by Sebastian Bazley.

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

15 years agoTabs to 8 spaces. No functional change.
kkolinko [Thu, 20 May 2010 17:02:06 +0000 (17:02 +0000)]
Tabs to 8 spaces. No functional change.

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

15 years agoThe SSL gets cleaned too.
jfclere [Thu, 20 May 2010 16:52:16 +0000 (16:52 +0000)]
The SSL gets cleaned too.

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

15 years agoAdditional fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48840
kkolinko [Thu, 20 May 2010 16:19:49 +0000 (16:19 +0000)]
Additional fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48840
Port the fix from catalina.sh to tool-wrapper.sh as well.

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

15 years agoOops... Minor errors.
jfclere [Thu, 20 May 2010 15:50:51 +0000 (15:50 +0000)]
Oops... Minor errors.

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

15 years agoArrange APR logic.
jfclere [Thu, 20 May 2010 15:42:17 +0000 (15:42 +0000)]
Arrange APR logic.

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

15 years agoNeeded to test APR.
jfclere [Thu, 20 May 2010 15:41:10 +0000 (15:41 +0000)]
Needed to test APR.

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

15 years agoPrevent core due to wrong synchronisation.
jfclere [Thu, 20 May 2010 15:25:13 +0000 (15:25 +0000)]
Prevent core due to wrong synchronisation.

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

15 years agoAdd the certificate and key for the APR tests.
jfclere [Thu, 20 May 2010 13:14:20 +0000 (13:14 +0000)]
Add the certificate and key for the APR tests.

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

15 years agoMinor clean-up. Result is always converted to String so just do it once.
markt [Thu, 20 May 2010 12:07:38 +0000 (12:07 +0000)]
Minor clean-up. Result is always converted to String so just do it once.

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

15 years agoRemove unused code identified by Eclipse
markt [Thu, 20 May 2010 11:06:33 +0000 (11:06 +0000)]
Remove unused code identified by Eclipse

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

15 years agoFix lost session path parameter on redirect
markt [Thu, 20 May 2010 09:49:24 +0000 (09:49 +0000)]
Fix lost session path parameter on redirect

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

15 years agoREpurpose the duplicate pathPath test to test the redirect process
markt [Thu, 20 May 2010 09:48:43 +0000 (09:48 +0000)]
REpurpose the duplicate pathPath test to test the redirect process

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

15 years agoGSOC 2010: ResourceLink
markt [Wed, 19 May 2010 16:38:41 +0000 (16:38 +0000)]
GSOC 2010: ResourceLink
Patch provided by Chamith Buddhika

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

15 years agoGSOC 2010: Further improvements to o.a.c.connector
markt [Wed, 19 May 2010 16:18:29 +0000 (16:18 +0000)]
GSOC 2010: Further improvements to o.a.c.connector
Patch provided by Chamith Buddhika

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

15 years agoAllow to test with APR.
jfclere [Wed, 19 May 2010 16:06:51 +0000 (16:06 +0000)]
Allow to test with APR.

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

15 years agoAdd method TomcatBaseTest#getTemporaryDirectory()
kkolinko [Wed, 19 May 2010 15:55:33 +0000 (15:55 +0000)]
Add method TomcatBaseTest#getTemporaryDirectory()
Use mkdirs() to create tempDir directory in TomcatBaseTest#setUp()
Fix issue with TestRegistration test failing when ${tomcat.output} ant property had non-default value.

The failure was due to the contextDir.mkdir() call in TestRegistration#testMBeanDeregistration() failing to create a subdirectory because its parent directory did not exist.

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

15 years agoComplete correction of name
markt [Wed, 19 May 2010 15:46:30 +0000 (15:46 +0000)]
Complete correction of name

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

15 years agoEnable debug logging to investigate Gump failures
markt [Wed, 19 May 2010 15:45:55 +0000 (15:45 +0000)]
Enable debug logging to investigate Gump failures

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

15 years agoAdditional change required for debug logging
markt [Wed, 19 May 2010 15:45:20 +0000 (15:45 +0000)]
Additional change required for debug logging

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

15 years agoAdd some debug logging for investigating the Gump failures. I may remove it once...
markt [Wed, 19 May 2010 15:44:57 +0000 (15:44 +0000)]
Add some debug logging for investigating the Gump failures. I may remove it once those have been resolved.

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

15 years agoCorrent name
markt [Wed, 19 May 2010 15:17:50 +0000 (15:17 +0000)]
Corrent name

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

15 years agoTypo in a comment
kkolinko [Wed, 19 May 2010 15:17:23 +0000 (15:17 +0000)]
Typo in a comment

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

15 years agoDo not try to find compiled class files of test classes by looking directly into...
kkolinko [Wed, 19 May 2010 15:14:03 +0000 (15:14 +0000)]
Do not try to find compiled class files of test classes by looking directly into "known" places, but ask the classloader where it loads them from.
This fixes test failure when ${tomcat.output} ant property has non-default value.

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

15 years agoTypo
markt [Wed, 19 May 2010 14:52:42 +0000 (14:52 +0000)]
Typo

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