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

14 years agoImprove the logging documentation
kkolinko [Thu, 31 Mar 2011 10:43:22 +0000 (10:43 +0000)]
Improve the logging documentation

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

14 years agoremove repo inherited from parent
fhanik [Wed, 30 Mar 2011 23:45:27 +0000 (23:45 +0000)]
remove repo inherited from parent

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

14 years agoDon't append the jvmRoute to a session ID if the jvmRoute is a zero length string.
markt [Wed, 30 Mar 2011 23:09:10 +0000 (23:09 +0000)]
Don't append the jvmRoute to a session ID if the jvmRoute is a zero length string.

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

14 years agoAdd in parent reference
fhanik [Wed, 30 Mar 2011 22:32:29 +0000 (22:32 +0000)]
Add in parent reference
Thanks to Sebb http://markmail.org/message/nb652iryypigjfso

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

14 years agoadd in plugin to package
fhanik [Wed, 30 Mar 2011 22:26:29 +0000 (22:26 +0000)]
add in plugin to package

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

14 years agodelete eclipse files, these can be generated
fhanik [Wed, 30 Mar 2011 21:49:35 +0000 (21:49 +0000)]
delete eclipse files, these can be generated

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

14 years agoAdd in ability to build with Maven
fhanik [Wed, 30 Mar 2011 21:40:59 +0000 (21:40 +0000)]
Add in ability to build with Maven

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

14 years agoRequests after the connector has been stopped may time out or return 503s - varies...
markt [Wed, 30 Mar 2011 20:26:36 +0000 (20:26 +0000)]
Requests after the connector has been stopped may time out or return 503s - varies by connector. Make sure the test passes with either.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50997
markt [Wed, 30 Mar 2011 20:06:25 +0000 (20:06 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50997
Relax the requirement that directories must have a name ending in .jar to be treated as an expanded JAR file by the default JarScanner.
Based on patch by Rodion Zhitomirsky.

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50984
markt [Wed, 30 Mar 2011 17:39:54 +0000 (17:39 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50984
When using the Manager application ensure that undeployment is reported as failed if a file cannot be deleted.

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

14 years agoFix reversed condition in r1086918
markt [Wed, 30 Mar 2011 15:50:28 +0000 (15:50 +0000)]
Fix reversed condition in r1086918

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

14 years agoFix Eclipse/FindBugs warnings apart from those that trigger bug 50984
markt [Wed, 30 Mar 2011 15:41:02 +0000 (15:41 +0000)]
Fix Eclipse/FindBugs warnings apart from those that trigger bug 50984

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

14 years agoFollowup to r1086950: Simplify code
kkolinko [Wed, 30 Mar 2011 14:56:09 +0000 (14:56 +0000)]
Followup to r1086950: Simplify code

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

14 years agoCorrect a typo
kkolinko [Wed, 30 Mar 2011 14:35:03 +0000 (14:35 +0000)]
Correct a typo

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

14 years agoCorrectly track changes to context.xml files and trigger redeployment when copyXML...
markt [Wed, 30 Mar 2011 14:33:30 +0000 (14:33 +0000)]
Correctly track changes to context.xml files and trigger redeployment when copyXML is set to false

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

14 years agoImplment Filip's idea for a configurable close method
markt [Wed, 30 Mar 2011 13:35:12 +0000 (13:35 +0000)]
Implment Filip's idea for a configurable close method

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

14 years agoCorrect fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50991
markt [Wed, 30 Mar 2011 12:48:13 +0000 (12:48 +0000)]
Correct fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50991
Stop resource after app has finished with them but before they are unbound

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

14 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50991
markt [Wed, 30 Mar 2011 12:26:39 +0000 (12:26 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50991
Stop the resources after they have been unbound rather than before

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

14 years agoProtect the DefaultServlet against Filters etc writing to the response which will...
markt [Wed, 30 Mar 2011 12:04:48 +0000 (12:04 +0000)]
Protect the DefaultServlet against Filters etc writing to the response which will a) break partial get support and b) mean setting on content length will result in a truncated response.
This also fixers some TCK failures since the TCK sometimes writes to the response with a filter.

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

14 years agoCorrect fix for http://issues.apache.org/bugzilla/show_bug.cgi?id=50928
markt [Tue, 29 Mar 2011 22:39:36 +0000 (22:39 +0000)]
Correct fix for issues.apache.org/bugzilla/show_bug.cgi?id=50928
Default for keyPass is keystorePass

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

14 years agoHTTP range requests cannot be reliably served when a Writer is in use so prevent...
markt [Tue, 29 Mar 2011 22:12:00 +0000 (22:12 +0000)]
HTTP range requests cannot be reliably served when a Writer is in use so prevent the DefaultServlet from attempting to do so.
This is kkolinko's patch that stemmed from a private discussion about a TCK test.

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

14 years agoUpdate changelog for SPNEGO. Add note to docs about major todo areas.
markt [Tue, 29 Mar 2011 22:09:00 +0000 (22:09 +0000)]
Update changelog for SPNEGO. Add note to docs about major todo areas.

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

14 years agoFix some TODOs
markt [Tue, 29 Mar 2011 20:10:48 +0000 (20:10 +0000)]
Fix some TODOs

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

14 years agoPart 2 of SPNEGO/Windows authentication support.
markt [Tue, 29 Mar 2011 20:05:04 +0000 (20:05 +0000)]
Part 2 of SPNEGO/Windows authentication support.
Authorisation support. Works essentially the same way as CLIENT-CERT, i.e. the Realm doesn't actually authenticate the user but it does create the Principal and add the roles.

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

14 years agoPart 1 of SPNEGO/Windows authentication support.
markt [Tue, 29 Mar 2011 19:08:43 +0000 (19:08 +0000)]
Part 1 of SPNEGO/Windows authentication support.
This adds authentication support but not authorisation. Some Realm refactoring is required to get authorisation working.
SPNEGO is tricky to configure correctly. Some things I know will break it, some I suspect might. There is a long list of questions in the Javadoc that need to be tested.
This authenticator started off as a patch by Michael Osipov.

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

14 years agoAdd domain configuration that is known to work
markt [Tue, 29 Mar 2011 14:51:17 +0000 (14:51 +0000)]
Add domain configuration that is known to work

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

14 years agoProtect against things going wrong during access logging. An un-handled exception...
markt [Mon, 28 Mar 2011 19:19:23 +0000 (19:19 +0000)]
Protect against things going wrong during access logging. An un-handled exception here could trigger some unexpected code paths.
Possible contributing factor to https://issues.apache.org/bugzilla/show_bug.cgi?id=50957 ?

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

14 years agoMove the processor.recycle calls to just before the point where the processor is...
markt [Mon, 28 Mar 2011 19:15:06 +0000 (19:15 +0000)]
Move the processor.recycle calls to just before the point where the processor is returned to the pool. This ensures returned processors are recycled (this could have been skipped on some exception paths)
Possible contributing factor to https://issues.apache.org/bugzilla/show_bug.cgi?id=50957 ?

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

14 years agoAlways recycle unless it is an async request.
markt [Mon, 28 Mar 2011 19:10:31 +0000 (19:10 +0000)]
Always recycle unless it is an async request.
Possible contributing factor to https://issues.apache.org/bugzilla/show_bug.cgi?id=50957 ?

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

14 years agoRemove unused code
markt [Mon, 28 Mar 2011 12:16:47 +0000 (12:16 +0000)]
Remove unused code

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

14 years agoRemove constant only used by tests
markt [Mon, 28 Mar 2011 12:09:24 +0000 (12:09 +0000)]
Remove constant only used by tests

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

14 years agoUpdate based on feedback
markt [Mon, 28 Mar 2011 08:49:49 +0000 (08:49 +0000)]
Update based on feedback
Fix typos

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

14 years agoFollowup to r1085764
kkolinko [Sun, 27 Mar 2011 22:02:24 +0000 (22:02 +0000)]
Followup to r1085764
Add the pages to the index page as well.

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

14 years agoUpdate the docs regarding the shutdown port number. It is a followup to r938430.
kkolinko [Sun, 27 Mar 2011 20:58:13 +0000 (20:58 +0000)]
Update the docs regarding the shutdown port number. It is a followup to r938430.
As Steven Schlansker noted on the users list, disabling the port affects un*x systems,
as kill -9 is not a clean shutdown.

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

14 years agoAdd some Windows authentication notes to the docs
markt [Sat, 26 Mar 2011 16:45:26 +0000 (16:45 +0000)]
Add some Windows authentication notes to the docs

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

14 years agoDon't register Contexts that fail to start with the Mapper.
markt [Fri, 25 Mar 2011 21:59:07 +0000 (21:59 +0000)]
Don't register Contexts that fail to start with the Mapper.

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

14 years agoAdd another non-Java J2SE package. This is required for SPNEGO support.
markt [Fri, 25 Mar 2011 18:18:35 +0000 (18:18 +0000)]
Add another non-Java J2SE package. This is required for SPNEGO support.

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

14 years agoSecurely seed the SecureRandom instance used for UUID generation and report excessive...
markt [Fri, 25 Mar 2011 12:20:39 +0000 (12:20 +0000)]
Securely seed the SecureRandom instance used for UUID generation and report excessive creation time (greater than 100ms) at INFO level.

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

14 years agoNo need to specify a default
markt [Fri, 25 Mar 2011 11:58:51 +0000 (11:58 +0000)]
No need to specify a default

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

14 years agoNo need to specify a default
markt [Fri, 25 Mar 2011 11:53:36 +0000 (11:53 +0000)]
No need to specify a default

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

14 years agoInclude the seed time when calculating the time taken to create SecureRandom instance...
markt [Fri, 25 Mar 2011 11:50:27 +0000 (11:50 +0000)]
Include the seed time when calculating the time taken to create SecureRandom instances for session ID generation, report excessive times (greater than 100ms) at INFO level and provide a value for the message key so a meaningful message appears in the logs.

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

14 years agoRemove call to System.exit() reported by Veracode and related code clean-up
markt [Fri, 25 Mar 2011 11:20:50 +0000 (11:20 +0000)]
Remove call to System.exit() reported by Veracode and related code clean-up

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

14 years agoFix string comparison - reported by Veracode
markt [Fri, 25 Mar 2011 09:55:29 +0000 (09:55 +0000)]
Fix string comparison - reported by Veracode

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

14 years agoRe-flow.
markt [Thu, 24 Mar 2011 14:31:50 +0000 (14:31 +0000)]
Re-flow.
Add a note about failed requests

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

14 years agoAdd recent changes
markt [Thu, 24 Mar 2011 13:28:17 +0000 (13:28 +0000)]
Add recent changes

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

14 years agoFix the main interfaces now Tomcat 7 is stable.
markt [Thu, 24 Mar 2011 13:27:39 +0000 (13:27 +0000)]
Fix the main interfaces now Tomcat 7 is  stable.

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

14 years agoRemove unused code
markt [Thu, 24 Mar 2011 13:25:52 +0000 (13:25 +0000)]
Remove unused code

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

14 years agoResolve some TODOs for "swallowAbortedUploads"
markt [Thu, 24 Mar 2011 13:24:28 +0000 (13:24 +0000)]
Resolve some TODOs for "swallowAbortedUploads"

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

14 years agoUpdates based on recent user list questions
markt [Thu, 24 Mar 2011 11:55:02 +0000 (11:55 +0000)]
Updates based on recent user list questions

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

14 years agoRename, no functional change
markt [Wed, 23 Mar 2011 00:36:16 +0000 (00:36 +0000)]
Rename, no functional change

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

14 years agoRename, no functional change
markt [Wed, 23 Mar 2011 00:27:00 +0000 (00:27 +0000)]
Rename, no functional change

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

14 years agoRename, no functional change
markt [Wed, 23 Mar 2011 00:17:33 +0000 (00:17 +0000)]
Rename, no functional change

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

14 years agoRemove unnecessary casts
markt [Tue, 22 Mar 2011 17:58:15 +0000 (17:58 +0000)]
Remove unnecessary casts

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

14 years agoTweak wording, try to make clearer
markt [Tue, 22 Mar 2011 13:32:12 +0000 (13:32 +0000)]
Tweak wording, try to make clearer

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

14 years agoRemove unused code
markt [Tue, 22 Mar 2011 09:55:10 +0000 (09:55 +0000)]
Remove unused code

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

14 years agoAdd another false positive
markt [Tue, 22 Mar 2011 09:50:04 +0000 (09:50 +0000)]
Add another false positive

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