tomcat7.0
14 years agoAdded 'layout' configuration for log4j loggers.
schultz [Tue, 31 May 2011 19:30:16 +0000 (19:30 +0000)]
Added 'layout' configuration for log4j loggers.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51277
markt [Tue, 31 May 2011 13:06:11 +0000 (13:06 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51277
Improve error message if an application is deployed with an incomplete FORM authentication configuration.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51274
markt [Sat, 28 May 2011 18:45:51 +0000 (18:45 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51274
Add missing i18n strings in PersistentManagerBase.
Patch provided by Eiji Takahashi.

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

14 years agoFix NPE triggered by r1127962
markt [Fri, 27 May 2011 16:35:43 +0000 (16:35 +0000)]
Fix NPE triggered by r1127962

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

14 years agoAdding code signing keys.
timw [Fri, 27 May 2011 09:55:42 +0000 (09:55 +0000)]
Adding code signing keys.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51240
markt [Thu, 26 May 2011 15:27:52 +0000 (15:27 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51240
Replace the more generic CounterLatch (that has concurrency issues) with a more specific LimitLatch that (mostly) only provides the functionality required by the connectors to implement maxConnections. It also adds support for dynamically modifying maxConnections.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51226
markt [Tue, 24 May 2011 16:04:08 +0000 (16:04 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51226
Add a findleaks Ant task for the Manager app.
Based on a patch by Eiji Takahashi

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=27122
markt [Sun, 22 May 2011 22:54:15 +0000 (22:54 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=27122
Remove a workaround for a very old and since fixed Mozilla bug and change the default value of the securePagesWithPragma attribute of the Authenticator Valves to false to reduce the likelihood of issues when downloading files with IE.

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

14 years agoRemove 6.1.x wish list
markt [Sat, 21 May 2011 19:51:37 +0000 (19:51 +0000)]
Remove 6.1.x wish list
If there is any interest in these, they can be added as enhancement requests in Bugzilla

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

14 years agoRemove out of date status file. Remainign todos are in bugzilla
markt [Sat, 21 May 2011 19:49:42 +0000 (19:49 +0000)]
Remove out of date status file. Remainign todos are in bugzilla

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

14 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=51185
fhanik [Fri, 20 May 2011 22:03:39 +0000 (22:03 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=51185

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=35054
markt [Fri, 20 May 2011 18:11:53 +0000 (18:11 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=35054
Check that a file is not specified for a Host's appBase and log an error if it is.

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

14 years agoMinor clean-up
markt [Fri, 20 May 2011 16:52:50 +0000 (16:52 +0000)]
Minor clean-up

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

14 years agoMore prep for BZ 33453. Include a comment header in generated Java files
markt [Thu, 19 May 2011 16:27:42 +0000 (16:27 +0000)]
More prep for BZ 33453. Include a comment header in generated Java files

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

14 years agoRefactoring in preparation for a fix for BZ 33453
markt [Thu, 19 May 2011 16:25:45 +0000 (16:25 +0000)]
Refactoring in preparation for a fix for BZ 33453

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

14 years agoFix copy/paste error
markt [Thu, 19 May 2011 13:33:12 +0000 (13:33 +0000)]
Fix copy/paste error

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

14 years agoRemove unused isErrPage attribute
markt [Thu, 19 May 2011 12:45:49 +0000 (12:45 +0000)]
Remove unused isErrPage attribute

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

14 years agoRemove unused attribute
markt [Thu, 19 May 2011 12:41:50 +0000 (12:41 +0000)]
Remove unused attribute

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

14 years agoRemove unused code. Made unnecessary by r618481
markt [Thu, 19 May 2011 12:36:06 +0000 (12:36 +0000)]
Remove unused code. Made unnecessary by r618481

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51220
markt [Thu, 19 May 2011 10:44:12 +0000 (10:44 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51220
Add a system property to enable tag pooling with JSPs that use a custom base class.
Based on a patch by Dan Mikusa.

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

14 years agoOrdering
markt [Thu, 19 May 2011 10:29:11 +0000 (10:29 +0000)]
Ordering

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51182
markt [Thu, 19 May 2011 09:43:59 +0000 (09:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51182
Better organisation of listeners doc
Add JAAS/JMX listener info
Patch provided by Neil Laurance

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51221
markt [Thu, 19 May 2011 09:27:30 +0000 (09:27 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51221
Correct Spanish translation of text used in a 302 response.
Patch provided by Paco SoberĂ³n.

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

14 years agogrr
markt [Thu, 19 May 2011 09:19:58 +0000 (09:19 +0000)]
grr

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

14 years agoMOve to correct version
markt [Thu, 19 May 2011 09:19:03 +0000 (09:19 +0000)]
MOve to correct version

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

14 years agoFix broken documentation links for non-English locales in the HTML Manager application.
markt [Thu, 19 May 2011 09:15:52 +0000 (09:15 +0000)]
Fix broken documentation links for non-English locales in the HTML Manager application.
Patch provided by Eiji Takahashi.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51229
markt [Thu, 19 May 2011 08:55:43 +0000 (08:55 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51229
Fix bugs in the Servlet 3.0 asynchronous examples.
Patch provided by Eiji Takahashi.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51230
markt [Thu, 19 May 2011 08:49:03 +0000 (08:49 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51230
Add missing attributes to JMX for ReplicationValve and JvmRouteBinderValve.
Patch provided by Eiji Takahashi.

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

14 years agomake fields volatile
fhanik [Wed, 18 May 2011 17:46:01 +0000 (17:46 +0000)]
make fields volatile
https://issues.apache.org/bugzilla/show_bug.cgi?id=51212

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51197
markt [Wed, 18 May 2011 17:25:28 +0000 (17:25 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51197
Fix possible dropped connection when sendError or sendRedirst are used during async processing.

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

14 years agoIf an error status is set during async processing, don't drop the connection and...
markt [Wed, 18 May 2011 17:16:26 +0000 (17:16 +0000)]
If an error status is set during async processing, don't drop the connection and let the async processing handle it

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

14 years agoAdd @deprecation comments
kkolinko [Tue, 17 May 2011 20:57:46 +0000 (20:57 +0000)]
Add @deprecation comments

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

14 years agoAdd missing @since comment.
kkolinko [Tue, 17 May 2011 20:30:49 +0000 (20:30 +0000)]
Add missing @since comment.

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

14 years agoAdd remaining attributes to documentation
markt [Tue, 17 May 2011 17:24:36 +0000 (17:24 +0000)]
Add remaining attributes to documentation
AJP-NIO now passes Servlet TCK - remove experimental label

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

14 years agoBetter align AJP connector code
markt [Tue, 17 May 2011 16:52:51 +0000 (16:52 +0000)]
Better align AJP connector code
Fix some copy/paste errors

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

14 years agowebapps is relative to base not home
markt [Tue, 17 May 2011 15:21:38 +0000 (15:21 +0000)]
webapps is relative to base not home

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

14 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=51208
fhanik [Tue, 17 May 2011 14:41:09 +0000 (14:41 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=51208

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

14 years agoAdd Filip's additional patch to correctly handle infinite read timeouts
markt [Mon, 16 May 2011 22:02:04 +0000 (22:02 +0000)]
Add Filip's additional patch to correctly handle infinite read timeouts

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

14 years agoFix Security Exceptions when running Servlet TCK with experimental nio-apr connector
markt [Mon, 16 May 2011 21:30:52 +0000 (21:30 +0000)]
Fix Security Exceptions when running Servlet TCK with experimental nio-apr connector

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

14 years agoTweak processor blocking so that it is non-blocking while no message is being process...
markt [Mon, 16 May 2011 19:56:21 +0000 (19:56 +0000)]
Tweak processor blocking so that it is non-blocking while no message is being processed and blocking during the processing of a message
Align ajp nio protocol implementation with http nio
Still some TCK failures to resolve

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

14 years agoSHARED_SELECTOR is used with double checked locking so it needs to be volatile
markt [Mon, 16 May 2011 16:39:42 +0000 (16:39 +0000)]
SHARED_SELECTOR is used with double checked locking so it needs to be volatile

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

14 years agoRemove unused code
markt [Mon, 16 May 2011 07:33:35 +0000 (07:33 +0000)]
Remove unused code

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

14 years agoPrevent infinite loop when readTimeout = 0
markt [Mon, 16 May 2011 07:31:23 +0000 (07:31 +0000)]
Prevent infinite loop when readTimeout = 0

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

14 years agoImprove handling for reading request bodies. More testing still required.
markt [Sun, 15 May 2011 21:58:10 +0000 (21:58 +0000)]
Improve handling for reading request bodies. More testing still required.

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

14 years agoMinor clarification in http connector comparison
rjung [Sun, 15 May 2011 14:34:17 +0000 (14:34 +0000)]
Minor clarification in http connector comparison
table.

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

14 years agoMinor enhancement and fix for NIO AJP documentation.
rjung [Sun, 15 May 2011 14:33:41 +0000 (14:33 +0000)]
Minor enhancement and fix for NIO AJP documentation.

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

14 years agoAdd docs for experimental AJP-NIO connector.
rjung [Sun, 15 May 2011 14:23:33 +0000 (14:23 +0000)]
Add docs for experimental AJP-NIO connector.

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

14 years agoAdd new AJP-NIo connector to the changelog. It is working well enough to be classed...
markt [Sun, 15 May 2011 11:34:32 +0000 (11:34 +0000)]
Add new AJP-NIo connector to the changelog. It is working well enough to be classed as experimental. I'll remove that label once all the TCK tests pass.

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

14 years agoGet Servlet 3.0 async requests working with new AJP-NIo connector
markt [Sun, 15 May 2011 11:31:49 +0000 (11:31 +0000)]
Get Servlet 3.0 async requests working with new AJP-NIo connector

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

14 years agoMake AJP-NIO actually use non-blocking reads.
markt [Sun, 15 May 2011 10:00:22 +0000 (10:00 +0000)]
Make AJP-NIO actually use non-blocking reads.
Only the first read of a request is is non-blocking. Any additional reads will block.
The first read of the first request on a new connection will also block.

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

14 years agoFix trivial docs tpyos.
rjung [Sun, 15 May 2011 09:56:25 +0000 (09:56 +0000)]
Fix trivial docs tpyos.

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

14 years agoDon't recycle the buffers at start of process() - this will break non-blocking reads...
markt [Sun, 15 May 2011 00:13:19 +0000 (00:13 +0000)]
Don't recycle the buffers at start of process() - this will break non-blocking reads (when implemented)

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

14 years agoAdditional tests for coercing of strings in EL arithmetic for https://issues.apache...
kkolinko [Sat, 14 May 2011 23:11:37 +0000 (23:11 +0000)]
Additional tests for coercing of strings in EL arithmetic for https://issues.apache.org/bugzilla/show_bug.cgi?id=47371
All of them pass successfully.

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

14 years agoInitial AJP-NIO implementation.
markt [Sat, 14 May 2011 22:14:55 +0000 (22:14 +0000)]
Initial AJP-NIO implementation.
Docs to follow once more testing has been completed.

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

14 years agoRefactor keepAliveTimeout to abstract AJP processor
markt [Sat, 14 May 2011 21:28:44 +0000 (21:28 +0000)]
Refactor keepAliveTimeout to abstract AJP processor

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

14 years agoAvoid NPE is lastWrite is not being used
markt [Sat, 14 May 2011 21:27:38 +0000 (21:27 +0000)]
Avoid NPE is lastWrite is not being used

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

14 years agoAdd release date
markt [Thu, 12 May 2011 22:31:25 +0000 (22:31 +0000)]
Add release date

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46451
markt [Tue, 10 May 2011 09:17:55 +0000 (09:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46451
Configure svn:bugtraq properties for Tomcat trunk
Based on a patch provided by Marc Guillemot

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

14 years agoPrep for next release
markt [Mon, 9 May 2011 21:39:01 +0000 (21:39 +0000)]
Prep for next release

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

14 years agoAdditional fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=51177
markt [Mon, 9 May 2011 18:44:11 +0000 (18:44 +0000)]
Additional fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=51177
ListElResolver should also return Object.class for getType()

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51177
markt [Mon, 9 May 2011 16:31:03 +0000 (16:31 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51177
MapElResolver should always return Object.class for getType()

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

14 years agoMake adding the trailing slash to the session cookie path configurable
markt [Mon, 9 May 2011 15:39:34 +0000 (15:39 +0000)]
Make adding the trailing slash to the session cookie path configurable

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

14 years agoReview from kkolinko
markt [Mon, 9 May 2011 13:21:26 +0000 (13:21 +0000)]
Review from kkolinko

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

14 years agoFix typo
markt [Mon, 9 May 2011 13:10:14 +0000 (13:10 +0000)]
Fix typo

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

14 years agoEnsure session cookie paths end in / so that session cookies created for a context...
markt [Mon, 9 May 2011 12:45:55 +0000 (12:45 +0000)]
Ensure session cookie paths end in / so that session cookies created for a context with a path of /foo do not get returned with requests mapped to a context with a path of
/foobar

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

14 years agoPort RemoteIpValve changes to RemoteIpFilter
markt [Mon, 9 May 2011 12:32:49 +0000 (12:32 +0000)]
Port RemoteIpValve changes to RemoteIpFilter

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

14 years agoAllow the localPort to be overridden for a request
markt [Mon, 9 May 2011 10:29:06 +0000 (10:29 +0000)]
Allow the localPort to be overridden for a request

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

14 years agoAdd additional configuration options to the RemoteIpValve to control ports.
markt [Mon, 9 May 2011 10:09:44 +0000 (10:09 +0000)]
Add additional configuration options to the RemoteIpValve to control ports.
These are required by my TCK test environment since I have multiple connectors (with different ports) configured all using the one Valve.
If this has the desired effect, I'll port the changes to the RemoteIpFilter.

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

14 years agoFollowup to r1095686: add missing colon in the message text
kkolinko [Mon, 9 May 2011 00:04:10 +0000 (00:04 +0000)]
Followup to r1095686: add missing colon in the message text

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

14 years agoFollowup to r1100829
kkolinko [Sun, 8 May 2011 23:13:04 +0000 (23:13 +0000)]
Followup to r1100829
It's better to have constants at the left side of ".equals" call.

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

14 years agoUse the correct classloader
markt [Sun, 8 May 2011 22:53:32 +0000 (22:53 +0000)]
Use the correct classloader

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

14 years agoThe 7.0.13 release was cancelled.
markt [Sun, 8 May 2011 22:47:28 +0000 (22:47 +0000)]
The 7.0.13 release was cancelled.

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

14 years agoImprove robustness. Custom components may use their own strings for event type.
markt [Sun, 8 May 2011 22:38:07 +0000 (22:38 +0000)]
Improve robustness. Custom components may use their own strings for event type.

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

14 years agoFix Servlet TCK failures with using the RemoteIpValve
markt [Sun, 8 May 2011 22:11:19 +0000 (22:11 +0000)]
Fix Servlet TCK failures with using the RemoteIpValve

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

14 years agoFix TCK failure with mod_proxy_http and HTTP-BIO connector as SSL key size is not...
markt [Sun, 8 May 2011 21:35:28 +0000 (21:35 +0000)]
Fix TCK failure with mod_proxy_http and HTTP-BIO connector as SSL key size is not readable

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

14 years agoStylistic improvements to MIME type sync script.
rjung [Sun, 8 May 2011 12:20:33 +0000 (12:20 +0000)]
Stylistic improvements to MIME type sync script.
Based on a patch provided by Felix Schumacher.

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

14 years agoAdd .pl (Perl script) to text file suffixes.
rjung [Sat, 7 May 2011 12:42:26 +0000 (12:42 +0000)]
Add .pl (Perl script) to text file suffixes.
Needed for correct line end handling when packaging.

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

14 years agoUpdate for next release
markt [Fri, 6 May 2011 14:32:28 +0000 (14:32 +0000)]
Update for next release

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51156
markt [Fri, 6 May 2011 09:22:38 +0000 (09:22 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51156
Expose session expiration option for apps defined in server.xml

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51154
markt [Fri, 6 May 2011 08:05:42 +0000 (08:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51154
Add missing comments to @deprecated code
Patch provided by sebb

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51154
markt [Fri, 6 May 2011 07:54:53 +0000 (07:54 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51154
Remove duplicate @deprecated tags
Patch provided by sebb

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

14 years agoUpdate changelog
markt [Thu, 5 May 2011 15:55:10 +0000 (15:55 +0000)]
Update changelog

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

14 years agoUse maxThreads value as the default for maxConnections with the BIO connector.
markt [Thu, 5 May 2011 15:53:57 +0000 (15:53 +0000)]
Use maxThreads value as the default for maxConnections with the BIO connector.

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

14 years agoMerge maxConnections and pollerSize for the APR connectors.
markt [Thu, 5 May 2011 15:42:59 +0000 (15:42 +0000)]
Merge maxConnections and pollerSize for the APR connectors.

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

14 years agoSimplify the keep-alive tracking and fix a couple of issues with the keep-alive disab...
markt [Thu, 5 May 2011 15:11:18 +0000 (15:11 +0000)]
Simplify the keep-alive tracking and fix a couple of issues with the keep-alive disable code

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

14 years agoAdd disableKeepAlivePercentage attribute to the HTTP-BIO connector
markt [Thu, 5 May 2011 15:01:46 +0000 (15:01 +0000)]
Add disableKeepAlivePercentage attribute to the HTTP-BIO connector

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

14 years agoEnsure keepAliveLeft count is maintained with pipelined requests
markt [Thu, 5 May 2011 14:30:11 +0000 (14:30 +0000)]
Ensure keepAliveLeft count is maintained with pipelined requests

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

14 years agoRevert r830965 and restore the automatic disabling of HTTP keep-alive once 75% of...
markt [Thu, 5 May 2011 14:29:04 +0000 (14:29 +0000)]
Revert r830965 and restore the automatic disabling of HTTP keep-alive once 75% of the threads are in use.

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

14 years agoFix typo
markt [Thu, 5 May 2011 13:46:51 +0000 (13:46 +0000)]
Fix typo

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47371
markt [Thu, 5 May 2011 13:39:09 +0000 (13:39 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47371
Correctly coerce the empty string to zero when used as an operand in EL arithmetic.
Patch provided by gbt.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50950
markt [Thu, 5 May 2011 12:38:44 +0000 (12:38 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50950
Correct possible NotSerializableException for an authenticated session when running with a security manager.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51099
markt [Wed, 4 May 2011 21:47:09 +0000 (21:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51099
Get loginConfigName working with non-default values
Patch by fhanik
(plus some minor code clean-up)

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51119
markt [Wed, 4 May 2011 20:22:08 +0000 (20:22 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51119
Add JAAS authentication support to the JmxRemoteLifecycleListener
Patch provided by Neil Laurance

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

14 years agoRe-factor to try and determine if the root cause of https://issues.apache.org/bugzill...
markt [Wed, 4 May 2011 19:53:54 +0000 (19:53 +0000)]
Re-factor to try and determine if the root cause of https://issues.apache.org/bugzilla/show_bug.cgi?id=51124 is an OOME or something else.

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

14 years agoImprove handling of too large packets in AJP connectors
markt [Wed, 4 May 2011 18:32:05 +0000 (18:32 +0000)]
Improve handling of too large packets in AJP connectors
- Explicitly check the packet size rather than waiting to see if it fails
- Provide a better debug message when it does fail
- Once we know we have a bad request, don't try to process it

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

14 years agoMake access logging more robust for 400 responses.
markt [Wed, 4 May 2011 18:19:10 +0000 (18:19 +0000)]
Make access logging more robust for 400 responses.

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

14 years agoNote that there is a minimum value for packetSize
markt [Wed, 4 May 2011 17:22:22 +0000 (17:22 +0000)]
Note that there is a minimum value for packetSize

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

14 years agoBlet and braces - make sure $1 is ""
markt [Wed, 4 May 2011 10:35:58 +0000 (10:35 +0000)]
Blet and braces - make sure $1 is ""

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51135
markt [Wed, 4 May 2011 10:14:19 +0000 (10:14 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51135
Fix auto-detection of JAVA_HOME for 64-bit Windows platforms that only have a 32-bit JVM installed.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51136
markt [Wed, 4 May 2011 08:48:26 +0000 (08:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51136
Provide methods that enable the name of a Context on Context creation when using Tomcat in an embedded scenario.
Based on a patch provided by David Calavera.

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