tomcat7.0
14 years agoMIME types update (consistency with mime.types from httpd) - Part 5
rjung [Tue, 3 May 2011 11:39:32 +0000 (11:39 +0000)]
MIME types update (consistency with mime.types from httpd) - Part 5
    Sort alphabetically.

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

14 years agoMIME types update (consistency with mime.types from httpd) - Part 4
rjung [Tue, 3 May 2011 11:18:02 +0000 (11:18 +0000)]
MIME types update (consistency with mime.types from httpd) - Part 4
    Existing mapping with inconsistencies between Tomcat and httpd
    where the definitions for httpd seem better.

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

14 years agoMIME types update (consistency with mime.types from httpd) - Part 3
rjung [Tue, 3 May 2011 11:10:22 +0000 (11:10 +0000)]
MIME types update (consistency with mime.types from httpd) - Part 3
    Fix suffix for compiled WML Script (wmlscriptc -> wmlsc).

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

14 years agoMIME types update (consistency with mime.types from httpd) - Part 2
rjung [Tue, 3 May 2011 11:08:42 +0000 (11:08 +0000)]
MIME types update (consistency with mime.types from httpd) - Part 2
    Remove duplicate definition for hqx.

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

14 years agoMIME types update (consistency with mime.types from httpd) - Part 1
rjung [Tue, 3 May 2011 11:07:30 +0000 (11:07 +0000)]
MIME types update (consistency with mime.types from httpd) - Part 1
    Move comment, so that file is easier to parse automatically.

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

14 years agoFix bug https://issues.apache.org/bugzilla/show_bug.cgi?id=48817
fhanik [Mon, 2 May 2011 17:16:45 +0000 (17:16 +0000)]
Fix bug https://issues.apache.org/bugzilla/show_bug.cgi?id=48817

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

14 years agoLine length.
markt [Sun, 1 May 2011 18:55:24 +0000 (18:55 +0000)]
Line length.

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

14 years agoExpose a container event for changing the session ID
markt [Fri, 29 Apr 2011 17:49:37 +0000 (17:49 +0000)]
Expose a container event for changing the session ID

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

14 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=48817
fhanik [Fri, 29 Apr 2011 17:33:15 +0000 (17:33 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=48817
Add in setValidator to support dependency injection frameworks like Spring etc

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51095
markt [Sat, 23 Apr 2011 21:57:58 +0000 (21:57 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51095
Don't trigger a NullPointerException when the SSL handshake fails with the HTTP-APR connector.
Patch provided by Mike Glazer.

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

14 years agoMisc code clean-up
markt [Sat, 23 Apr 2011 21:53:00 +0000 (21:53 +0000)]
Misc code clean-up
 - Eclipse warnings
 - Remove unused code

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

14 years agoEnsure response is committed when AsyncContext#complete() is called.
markt [Sat, 23 Apr 2011 21:27:54 +0000 (21:27 +0000)]
Ensure response is committed when AsyncContext#complete() is called.

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

14 years agoCorrect typo in an example in context.html
kkolinko [Sat, 23 Apr 2011 17:39:17 +0000 (17:39 +0000)]
Correct typo in an example in context.html
Reported by Michael Jay on the users list

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

14 years agoFix TODO - take account of time waiting for a thread when calculating timeouts.
markt [Thu, 21 Apr 2011 19:02:46 +0000 (19:02 +0000)]
Fix TODO - take account of time waiting for a thread when calculating timeouts.

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

14 years agoUpdate summary for maxConnections
markt [Thu, 21 Apr 2011 13:54:17 +0000 (13:54 +0000)]
Update summary for maxConnections

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

14 years agoMove the maxConnections description to the correct part of the HTTP doc. Add it to...
markt [Thu, 21 Apr 2011 13:52:39 +0000 (13:52 +0000)]
Move the maxConnections description to the correct part of the HTTP doc. Add it to the AJP doc.

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

14 years agoi18n for r1090763
markt [Thu, 21 Apr 2011 12:50:40 +0000 (12:50 +0000)]
i18n for r1090763

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

14 years agoFix some Findbugs warnings
markt [Thu, 21 Apr 2011 12:43:08 +0000 (12:43 +0000)]
Fix some Findbugs warnings

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

14 years agobindOnInit is supported for AJP too.
markt [Thu, 21 Apr 2011 12:37:44 +0000 (12:37 +0000)]
bindOnInit is supported for AJP too.

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

14 years agoFix typo
markt [Thu, 21 Apr 2011 12:37:21 +0000 (12:37 +0000)]
Fix typo

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

14 years agoFix some unused code warnings
markt [Thu, 21 Apr 2011 12:25:31 +0000 (12:25 +0000)]
Fix some unused code warnings

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

14 years agoFix infinite loop in r1095367
markt [Wed, 20 Apr 2011 16:19:59 +0000 (16:19 +0000)]
Fix infinite loop in r1095367

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

14 years agoSwitch JAR scanning to use JarInputStream rather JarFile for significant startup...
markt [Wed, 20 Apr 2011 11:28:53 +0000 (11:28 +0000)]
Switch JAR scanning to use JarInputStream rather JarFile for significant startup performance improvements

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

14 years agoMove the unit test JARs to the end.
markt [Wed, 20 Apr 2011 09:25:09 +0000 (09:25 +0000)]
Move the unit test JARs to the end.
Add a couple of JARs when running via the command line rather than Eclipse

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

14 years agoSet jarsToSkip when running unit tests a) for speed and b) to reduce noise in the...
markt [Wed, 20 Apr 2011 09:15:07 +0000 (09:15 +0000)]
Set jarsToSkip when running unit tests a) for speed and b) to reduce noise in the logs

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

14 years agoAdd some more JARs to skip (spotted via logging in unit tests)
markt [Wed, 20 Apr 2011 09:13:07 +0000 (09:13 +0000)]
Add some more JARs to skip (spotted via logging in unit tests)

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

14 years agoUpdate commons pool to 1.5.6
markt [Tue, 19 Apr 2011 17:11:42 +0000 (17:11 +0000)]
Update commons pool to 1.5.6

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

14 years agoParameterise commons-pool version
markt [Tue, 19 Apr 2011 17:09:04 +0000 (17:09 +0000)]
Parameterise commons-pool version

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

14 years agoMake use of commons-dbcp.version
markt [Tue, 19 Apr 2011 17:07:54 +0000 (17:07 +0000)]
Make use of commons-dbcp.version

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

14 years agoMinor optimisation reported by FindBugs
markt [Tue, 19 Apr 2011 11:44:12 +0000 (11:44 +0000)]
Minor optimisation reported by FindBugs

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

14 years agoUse a single TLD location cache for a web application rather than one per JSP compila...
markt [Tue, 19 Apr 2011 11:14:04 +0000 (11:14 +0000)]
Use a single TLD location cache for a web application rather than one per JSP compilation to speed up JSP compilation.

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

14 years agoAdd some common JARs to the list of JARs to skip
markt [Tue, 19 Apr 2011 10:48:24 +0000 (10:48 +0000)]
Add some common JARs to the list of JARs to skip

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

14 years agoLog JARs scanned for TLDs where no TLD is found.
markt [Tue, 19 Apr 2011 10:41:29 +0000 (10:41 +0000)]
Log JARs scanned for TLDs where no TLD is found.

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

14 years agoAdd missing @Override
markt [Mon, 18 Apr 2011 16:59:26 +0000 (16:59 +0000)]
Add missing @Override

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

14 years agoAlign connector implementations with documented default for processorCache
markt [Mon, 18 Apr 2011 15:38:07 +0000 (15:38 +0000)]
Align connector implementations with documented default for processorCache

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

14 years agoAdd missing whitespace
markt [Mon, 18 Apr 2011 14:43:26 +0000 (14:43 +0000)]
Add missing whitespace

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

14 years agoCorrect a regression in the fix for https://issues.apache.org/bugzilla/show_bug.cgi...
markt [Mon, 18 Apr 2011 13:41:37 +0000 (13:41 +0000)]
Correct a regression in the fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49916 that resulted in JSPs being compiled twice rather than just once.

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

14 years agoAdd note that antiJARLocking and antiResourceLocking should not be used together.
markt [Mon, 18 Apr 2011 11:19:16 +0000 (11:19 +0000)]
Add note that antiJARLocking and antiResourceLocking should not be used together.
Line length

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

14 years agoStop trying to check for >0ms processing time in access log. There are other tests...
markt [Mon, 18 Apr 2011 11:02:39 +0000 (11:02 +0000)]
Stop trying to check for >0ms processing time in access log. There are other tests that check for correct operation so no need for this.

Hopefully address last remaining Gump failure

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

14 years agoFix various timing issues with the access log aspects of the test. This fixes:
markt [Sun, 17 Apr 2011 23:03:08 +0000 (23:03 +0000)]
Fix various timing issues with the access log aspects of the test. This fixes:
- numerous failures on my desktop
- Gump (hopefully)
Given the wide range of responses on different machines, more changes may be required.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50173
markt [Sun, 17 Apr 2011 00:02:29 +0000 (00:02 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50173
Throw an exception and do not start the APR connector if it is configured for SSL and an invalid value is provided for SSLProtocol.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50158
markt [Sat, 16 Apr 2011 23:41:32 +0000 (23:41 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50158
Ensure the asynchronous requests never timeout if the timeout is set to zero or less.
Based on a patch provided by Chris.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51050
markt [Sat, 16 Apr 2011 22:50:05 +0000 (22:50 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51050
Add additional common but non-standard file extension to MIME type mappings for MPEG 4 files.
Based on a patch by Cédrik Lime.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51042
markt [Sat, 16 Apr 2011 22:25:28 +0000 (22:25 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51042
Don't trigger session creation listeners when changing the session ID during authentication.

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

14 years agoAdditional test case to check access log and return code when error servlet does...
markt [Sat, 16 Apr 2011 21:41:38 +0000 (21:41 +0000)]
Additional test case to check access log and return code when error servlet does not flush the response.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=51038
markt [Sat, 16 Apr 2011 21:22:58 +0000 (21:22 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51038
Ensure async requests are included in access logs.

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

14 years agoBetter comment
markt [Fri, 15 Apr 2011 11:47:35 +0000 (11:47 +0000)]
Better comment

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

14 years agoFix comment typo
markt [Wed, 13 Apr 2011 21:46:29 +0000 (21:46 +0000)]
Fix comment typo

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

14 years agoNeeds re-thinking
markt [Mon, 11 Apr 2011 22:48:22 +0000 (22:48 +0000)]
Needs re-thinking

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

14 years agoNo longer used
markt [Mon, 11 Apr 2011 22:36:19 +0000 (22:36 +0000)]
No longer used

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

14 years agoRevert fix https://issues.apache.org/bugzilla/show_bug.cgi?id=36362
markt [Mon, 11 Apr 2011 22:33:50 +0000 (22:33 +0000)]
Revert fix https://issues.apache.org/bugzilla/show_bug.cgi?id=36362
JSP.8.3 does not limit the name of attributes defined in tag files

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

14 years agoCheck tag file attribute names are valid Java identifiers
markt [Sun, 10 Apr 2011 10:35:55 +0000 (10:35 +0000)]
Check tag file attribute names are valid Java identifiers

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

14 years agoImprove error reporting by labeling line/column numbers
markt [Sun, 10 Apr 2011 10:33:30 +0000 (10:33 +0000)]
Improve error reporting by labeling line/column numbers

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

14 years agoConsistent format.
markt [Sat, 9 Apr 2011 21:50:41 +0000 (21:50 +0000)]
Consistent format.

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

14 years agobug 50306: Detect stuck threads
slaurent [Fri, 8 Apr 2011 22:10:37 +0000 (22:10 +0000)]
bug 50306: Detect stuck threads
complement to changelog

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

14 years agochangelog for r1090003 / StuckThreadDetectionValve
slaurent [Fri, 8 Apr 2011 20:51:37 +0000 (20:51 +0000)]
changelog for r1090003 / StuckThreadDetectionValve

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

14 years agoDo not depend on system encoding settings when running Tomcat tests.
kkolinko [Fri, 8 Apr 2011 01:55:51 +0000 (01:55 +0000)]
Do not depend on system encoding settings when running Tomcat tests.

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

14 years agoAdded warning messages when an exception is thrown while trying to delete files.
schultz [Thu, 7 Apr 2011 21:22:12 +0000 (21:22 +0000)]
Added warning messages when an exception is thrown while trying to delete files.
Replaced duplicate code in removeGeneratedFiles with a call to removeGeneratedClassFiles.

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

14 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=50306
slaurent [Thu, 7 Apr 2011 20:50:28 +0000 (20:50 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=50306
StuckThreadDetectionValve, based on code proposed by TomLu

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

14 years agoFix broken stylesheet URL in XML based manager status output.
rjung [Wed, 6 Apr 2011 21:31:25 +0000 (21:31 +0000)]
Fix broken stylesheet URL in XML based manager status output.

The URLs of the status base pages have a varying number
of path segments, so a relativ URL to the stylesheet
does no longer work.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50957
markt [Wed, 6 Apr 2011 16:39:38 +0000 (16:39 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50957
Fix regression in processing of pipe-lined requests.

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

14 years agoNeed option to use content length for correct processing of pipelined requests.
markt [Wed, 6 Apr 2011 16:37:21 +0000 (16:37 +0000)]
Need option to use content length for correct processing of pipelined requests.

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

14 years agoRefactor to (hopefully) allow unit testing of pipelining support
markt [Wed, 6 Apr 2011 15:18:26 +0000 (15:18 +0000)]
Refactor to (hopefully) allow unit testing of pipelining support

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

14 years agoFix "bad character" complaints by modern XSLT processors
kkolinko [Wed, 6 Apr 2011 14:28:58 +0000 (14:28 +0000)]
Fix "bad character" complaints by modern XSLT processors
https://issues.apache.org/bugzilla/show_bug.cgi?id=51028

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

14 years agoWill announce release later today
markt [Wed, 6 Apr 2011 13:39:47 +0000 (13:39 +0000)]
Will announce release later today

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

14 years agoClarifying that pollTime parameter is in microseconds, and correcting the ms equivale...
timw [Tue, 5 Apr 2011 08:48:30 +0000 (08:48 +0000)]
Clarifying that pollTime parameter is in microseconds, and correcting the ms equivalent for HTTP connector use of it.

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

14 years agoincorporate feedback based on
fhanik [Mon, 4 Apr 2011 15:46:10 +0000 (15:46 +0000)]
incorporate feedback based on
http://markmail.org/message/gz7lm5dpdpdgcdzq

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

14 years agoTry a workaround against TC7 tests running too slow on Gump:
kkolinko [Mon, 4 Apr 2011 03:06:39 +0000 (03:06 +0000)]
Try a workaround against TC7 tests running too slow on Gump:
a workaround against Oracle JVM bug 6202721

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

14 years agoImplement display of multiple request headers in AccessLogValve:
kkolinko [Mon, 4 Apr 2011 01:19:13 +0000 (01:19 +0000)]
Implement display of multiple request headers in AccessLogValve:
print not just the value of the first header, but of the all of them,
separated by commas.

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

14 years agoFix display of response headers in AccessLogValve:
kkolinko [Mon, 4 Apr 2011 00:57:17 +0000 (00:57 +0000)]
Fix display of response headers in AccessLogValve:
1. When no headers are there, display "-" instead of empty string
2. Do not forget "," between multiple values
TC6 already does that but it was broken here in r767956

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

14 years agoChange resource key name for a debug message in CombinedRealm
kkolinko [Sun, 3 Apr 2011 23:36:47 +0000 (23:36 +0000)]
Change resource key name for a debug message in CombinedRealm

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

14 years agoFollowup to r1087392: correct text of a debug message
kkolinko [Sun, 3 Apr 2011 22:43:50 +0000 (22:43 +0000)]
Followup to r1087392: correct text of a debug message

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

14 years agoFollowup to r1087416:
kkolinko [Sun, 3 Apr 2011 22:38:23 +0000 (22:38 +0000)]
Followup to r1087416:
Correct typos in messages and remove one e.printStackTrace() call.

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

14 years agoCorrect a typo and some formatting as a followup to r1087524
kkolinko [Sun, 3 Apr 2011 22:23:05 +0000 (22:23 +0000)]
Correct a typo and some formatting as a followup to r1087524

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

14 years agoUpdate download links in the appdev tutorial.
kkolinko [Sun, 3 Apr 2011 19:49:15 +0000 (19:49 +0000)]
Update download links in the appdev tutorial.
Replaced direct links to the "download" pages with ones to the main pages of Tomcat and Ant. Download links should be easy to find from there.

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

14 years agoClarify error messages in *.sh files to mention that if a script is not found it...
kkolinko [Sat, 2 Apr 2011 23:32:42 +0000 (23:32 +0000)]
Clarify error messages in *.sh files to mention that if a script is not found it might be
that it does exist but does not have the execute permission.
http://markmail.org/message/k2ynjwbqjcver6ka

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

14 years agoUpdate a comment, for clarity
kkolinko [Sat, 2 Apr 2011 23:09:37 +0000 (23:09 +0000)]
Update a comment, for clarity

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

14 years agoConfigure Security Manager How-To to include a copy of the actual
kkolinko [Sat, 2 Apr 2011 00:59:38 +0000 (00:59 +0000)]
Configure Security Manager How-To to include a copy of the actual
conf/catalina.policy file when the documentation is built, rather
than maintaining a copy of its content.

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

14 years agoImprove the logging documentation
kkolinko [Sat, 2 Apr 2011 00:42:29 +0000 (00:42 +0000)]
Improve the logging documentation

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

14 years agoCorrect a Javadoc mix-up
markt [Fri, 1 Apr 2011 17:19:39 +0000 (17:19 +0000)]
Correct a Javadoc mix-up

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

14 years agoBump version ready for next release
markt [Fri, 1 Apr 2011 16:49:16 +0000 (16:49 +0000)]
Bump version ready for next release

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

14 years agoUpdate the realm-howto:
kkolinko [Fri, 1 Apr 2011 16:38:07 +0000 (16:38 +0000)]
Update the realm-howto:
In TC7 the tomcat-util.jar is also needed on the classpath to call the o.a.c.realm.RealmBase class.

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

14 years agoCorrect typos in description of NIO connector in config/http.html, especially in...
kkolinko [Fri, 1 Apr 2011 14:30:25 +0000 (14:30 +0000)]
Correct typos in description of NIO connector in config/http.html, especially in TC6.
An attribute is called "processorCache", not "processCache".

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

14 years agoWorkaround shutdown issue in unit tests
markt [Fri, 1 Apr 2011 14:24:43 +0000 (14:24 +0000)]
Workaround shutdown issue in unit tests

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

14 years agoAdd additional configuration options to the DIGEST authenticator
markt [Fri, 1 Apr 2011 11:36:54 +0000 (11:36 +0000)]
Add additional configuration options to the DIGEST authenticator

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

14 years agoBetter name
markt [Fri, 1 Apr 2011 11:23:54 +0000 (11:23 +0000)]
Better name

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

14 years agoConsistent naming
markt [Fri, 1 Apr 2011 11:16:02 +0000 (11:16 +0000)]
Consistent naming

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

14 years agoRemoved unused code
markt [Fri, 1 Apr 2011 11:14:00 +0000 (11:14 +0000)]
Removed unused code

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=12428
markt [Fri, 1 Apr 2011 10:49:43 +0000 (10:49 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=12428
Add optional support for preemptive authentication on a per context basis
Based on a patch suggested by Werner Donn

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

14 years agoAnother context.xml tracking issue. This time if using just dir deployment.
markt [Fri, 1 Apr 2011 01:02:07 +0000 (01:02 +0000)]
Another context.xml tracking issue. This time if using just dir deployment.
A changes in context.xml now triggers a redeploy rather than a reload (so the context.xml is re-read)

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

14 years agoAdd credit
markt [Fri, 1 Apr 2011 00:35:47 +0000 (00:35 +0000)]
Add credit

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

14 years agoSPNEGP part 3 - the final part for 7.0.12
markt [Fri, 1 Apr 2011 00:34:45 +0000 (00:34 +0000)]
SPNEGP part 3 - the final part for 7.0.12
Integrate with JNDI realm so delegated credentials are used by default.

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

14 years agoImplement exception traps as suggested by Eiji Takahashi
fhanik [Thu, 31 Mar 2011 22:28:54 +0000 (22:28 +0000)]
Implement exception traps as suggested by Eiji Takahashi
http://markmail.org/message/c7hrhky4jtgcto76

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

14 years agoFix NPE that can happen during concurrency (connection being abandoned, misconfigurat...
fhanik [Thu, 31 Mar 2011 21:20:30 +0000 (21:20 +0000)]
Fix NPE that can happen during concurrency (connection being abandoned, misconfiguration in abandon timeout or lack of ResetAbandonedTimer interceptor)
http://markmail.org/message/yhshyvyunddb5ngt

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

14 years agoSPNEGO support part 2
markt [Thu, 31 Mar 2011 19:33:04 +0000 (19:33 +0000)]
SPNEGO support part 2
Expose the users delegated credentials through a request attribute so applications can make use of it

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

14 years agoSwitch SPNEGO authenticator to use file based JAAS config as this provides greater...
markt [Thu, 31 Mar 2011 18:02:10 +0000 (18:02 +0000)]
Switch SPNEGO authenticator to use file based JAAS config as this provides greater flexibility including making it easier to work with non-Oracle JVMs.
Clean up the code, add debug logging and improve error handling.

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

14 years agoOnly register a DataSource with JMX if it is a singleton
markt [Thu, 31 Mar 2011 13:22:11 +0000 (13:22 +0000)]
Only register a DataSource with JMX if it is a singleton

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

14 years agoFeedback on https://issues.apache.org/bugzilla/show_bug.cgi?id=50991
markt [Thu, 31 Mar 2011 13:11:26 +0000 (13:11 +0000)]
Feedback on https://issues.apache.org/bugzilla/show_bug.cgi?id=50991
No point trying to close a non-singleton resource

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

14 years agoFeedback on https://issues.apache.org/bugzilla/show_bug.cgi?id=50991
markt [Thu, 31 Mar 2011 13:02:20 +0000 (13:02 +0000)]
Feedback on https://issues.apache.org/bugzilla/show_bug.cgi?id=50991
Change the default

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

14 years agoFollow up to http://svn.apache.org/viewvc?rev=1086969&view=rev
markt [Thu, 31 Mar 2011 12:37:10 +0000 (12:37 +0000)]
Follow up to svn.apache.org/viewvc?rev=1086969&view=rev
Ensure that when copyXML=false:
- removing context.xml triggers a redploy but does not remove any other files
- removing context.xml triggers a redploy and the context.xml is re-copied from the WAR

This should be consistent with behaviour when copyXML=true

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