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

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

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

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

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

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

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

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

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

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

15 years agoMove encoding outside the loop
markt [Wed, 19 May 2010 13:03:57 +0000 (13:03 +0000)]
Move encoding outside the loop

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

15 years agorevert r946149
kkolinko [Wed, 19 May 2010 12:50:34 +0000 (12:50 +0000)]
revert r946149
Those "blank lines" must be there, because they separate sections of the manifest.

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

15 years agoRemove blank lines
markt [Wed, 19 May 2010 12:21:11 +0000 (12:21 +0000)]
Remove blank lines

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

15 years agoSync Windows installer config files with 'normal' versions
markt [Wed, 19 May 2010 12:19:51 +0000 (12:19 +0000)]
Sync Windows installer config files with 'normal' versions

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

15 years agoOtherwise it will fail with java 1.6.0_18 +.
jfclere [Wed, 19 May 2010 12:10:32 +0000 (12:10 +0000)]
Otherwise it will fail with java 1.6.0_18 +.

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

15 years agoClean-up
markt [Wed, 19 May 2010 10:33:17 +0000 (10:33 +0000)]
Clean-up

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

15 years agoMake Log and StringManager instances private to the class.
markt [Wed, 19 May 2010 10:24:53 +0000 (10:24 +0000)]
Make Log and StringManager instances private to the class.
This fixes:
- messages for one class being logged via the logger of another
- messages not being found since the class is in a different packager to the super class

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

15 years agoFix Eclipse warnings, line-length
markt [Wed, 19 May 2010 10:12:00 +0000 (10:12 +0000)]
Fix Eclipse warnings, line-length

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

15 years agoA simple testcase that prints version info
kkolinko [Wed, 19 May 2010 03:57:04 +0000 (03:57 +0000)]
A simple testcase that prints version info

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

15 years agore-add all-in-one testcase,
kkolinko [Wed, 19 May 2010 03:44:51 +0000 (03:44 +0000)]
re-add all-in-one testcase,
in case if it matters for the failure that was observed by Gump

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

15 years agoAdd missing keyword
markt [Tue, 18 May 2010 21:20:50 +0000 (21:20 +0000)]
Add missing keyword

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

15 years agoMake list of user roles immutable
markt [Tue, 18 May 2010 19:42:06 +0000 (19:42 +0000)]
Make list of user roles immutable
Modify a copy in getRoles()

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

15 years agoOnly redirect stdout
markt [Tue, 18 May 2010 19:22:50 +0000 (19:22 +0000)]
Only redirect stdout

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

15 years agoFix an Eclipse warning
markt [Tue, 18 May 2010 18:51:47 +0000 (18:51 +0000)]
Fix an Eclipse warning

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

15 years agoDocument recompileOnFail
markt [Tue, 18 May 2010 18:33:24 +0000 (18:33 +0000)]
Document recompileOnFail

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

15 years agoClear results of SCI scan on reload
markt [Tue, 18 May 2010 16:04:45 +0000 (16:04 +0000)]
Clear results of SCI scan on reload

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

15 years agoOnly register the MapperListener once per component and remove it as soon as it is...
markt [Tue, 18 May 2010 15:58:58 +0000 (15:58 +0000)]
Only register the MapperListener once per component and remove it as soon as it is no longer required.

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

15 years agoRe-factor test to get a clearer idea of why Gump is failing
markt [Tue, 18 May 2010 13:35:35 +0000 (13:35 +0000)]
Re-factor test to get a clearer idea of why Gump is failing

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

15 years agoDo not abort testing after the first failure,
kkolinko [Tue, 18 May 2010 01:07:10 +0000 (01:07 +0000)]
Do not abort testing after the first failure,
but report about existence of failures after all the tests were run.

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

15 years agoFix tests for a pure Ant run
markt [Mon, 17 May 2010 20:20:42 +0000 (20:20 +0000)]
Fix tests for a pure Ant run

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

15 years agoFix Eclipse warnings.
markt [Mon, 17 May 2010 17:45:53 +0000 (17:45 +0000)]
Fix Eclipse warnings.
Reduce line length.

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

15 years agoSimplify test
markt [Mon, 17 May 2010 17:41:30 +0000 (17:41 +0000)]
Simplify test

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

15 years agoFix Eclipse warning in webapps
markt [Mon, 17 May 2010 17:38:35 +0000 (17:38 +0000)]
Fix Eclipse warning in webapps

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

15 years agoReturn version to 7.0.0-dev
markt [Mon, 17 May 2010 17:27:38 +0000 (17:27 +0000)]
Return version to 7.0.0-dev

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

15 years agoPrepare for 7.0.0-RC2
markt [Mon, 17 May 2010 17:25:35 +0000 (17:25 +0000)]
Prepare for 7.0.0-RC2

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

15 years agoDon't recommend a version that hasn't been released
markt [Mon, 17 May 2010 17:24:18 +0000 (17:24 +0000)]
Don't recommend a version that hasn't been released

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

15 years agoFix a bug in ByteChunk.indexOf(String, ...)
kkolinko [Mon, 17 May 2010 16:28:44 +0000 (16:28 +0000)]
Fix a bug in ByteChunk.indexOf(String, ...)

The problem is that the method could not find a string which length is 1,
as the only successful exit from the method was from inside the loop that
checks the second and subsequent characters.

I added the testcase for this in r945230.
In the test the bc.indexOf("o", 0, 1, 5) call returned -1, instead of 7.

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

15 years agoTests for ByteChunk indexOf/find* methods.
kkolinko [Mon, 17 May 2010 16:24:43 +0000 (16:24 +0000)]
Tests for ByteChunk indexOf/find* methods.

It caught a bug in implementation of ByteChunk.indexOf(String, ...) when searching for a single-character string. I will commit a fix soon.

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

15 years agoFix some Eclipse warnings
markt [Mon, 17 May 2010 13:56:16 +0000 (13:56 +0000)]
Fix some Eclipse warnings

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

15 years agoRemove the dependency on MBean notifications for the mapper
markt [Mon, 17 May 2010 13:55:29 +0000 (13:55 +0000)]
Remove the dependency on MBean notifications for the mapper
Unit tests pass.
Fixes an issue with the TCK and welcome files.

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

15 years agocleanup code added in r945074
kkolinko [Mon, 17 May 2010 13:32:08 +0000 (13:32 +0000)]
cleanup code added in r945074

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

15 years agoMore clean-up:
markt [Mon, 17 May 2010 11:33:01 +0000 (11:33 +0000)]
More clean-up:
- findCharXXX to findByteXXX
- whitespace
- make code consistent where possible

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

15 years agoWrap debug message is usual tyest
markt [Mon, 17 May 2010 10:47:50 +0000 (10:47 +0000)]
Wrap debug message is usual tyest

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

15 years agoAdd some debug logging for state changes
markt [Mon, 17 May 2010 10:47:03 +0000 (10:47 +0000)]
Add some debug logging for state changes

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

15 years agoCorrect example
markt [Mon, 17 May 2010 10:36:25 +0000 (10:36 +0000)]
Correct example

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

15 years agoAlign comment and example
markt [Mon, 17 May 2010 10:35:04 +0000 (10:35 +0000)]
Align comment and example

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

15 years agoFix comments
markt [Mon, 17 May 2010 10:29:04 +0000 (10:29 +0000)]
Fix comments

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

15 years agofindChar is inconsistent in that it only supports characters in the range 0-127 while...
markt [Mon, 17 May 2010 08:26:43 +0000 (08:26 +0000)]
findChar is inconsistent in that it only supports characters in the range 0-127 while all the other methods support all single byte characters.
It isn't used within the Tomcat codebase. Make it's behaviour consistent with the other character search methods.

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

15 years agoImprove comments, make param names consistent, clean up formatting.
markt [Mon, 17 May 2010 08:20:00 +0000 (08:20 +0000)]
Improve comments, make param names consistent, clean up formatting.
No functional change.

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

15 years agoRevert r944918
markt [Mon, 17 May 2010 07:51:31 +0000 (07:51 +0000)]
Revert r944918

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

15 years agoRefactor XML validation error handling. Error reporting in web.xml and web-fragment...
markt [Sun, 16 May 2010 22:29:29 +0000 (22:29 +0000)]
Refactor XML validation error handling. Error reporting in web.xml and web-fragment.xml now includes source info.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49299
markt [Sun, 16 May 2010 21:47:26 +0000 (21:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49299
Implement the requirements of section 7.1.1 of the Servlet 3.0 spec that require the path parameter to change name as well.
Remove the option to set the default via a system property for the sake of simplicity.

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

15 years agoRole name change. Be explicit about the URL that the role is used with.
markt [Sun, 16 May 2010 21:43:15 +0000 (21:43 +0000)]
Role name change. Be explicit about the URL that the role is used with.

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

15 years agoCode clean-up
markt [Sun, 16 May 2010 21:31:57 +0000 (21:31 +0000)]
Code clean-up

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

15 years agoCode cleanup. No functional change
markt [Sun, 16 May 2010 15:45:31 +0000 (15:45 +0000)]
Code cleanup. No functional change

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

15 years agoTabs -> 8 spaces
markt [Sun, 16 May 2010 14:49:16 +0000 (14:49 +0000)]
Tabs -> 8 spaces
Format long lines

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

15 years agoCode cleanup.
markt [Sun, 16 May 2010 14:26:19 +0000 (14:26 +0000)]
Code cleanup.

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

15 years agoMinor code cleanup. No functional change
markt [Sun, 16 May 2010 14:20:11 +0000 (14:20 +0000)]
Minor code cleanup. No functional change

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49290
markt [Sat, 15 May 2010 22:52:18 +0000 (22:52 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49290
Allow Tomcat to start when using a JarScanner with scanAllDirectories=true
Patch by Larry Issacs (with minor tweaks)

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

15 years agoFix auto-deploy issues caused by Lifecycle refactoring.
markt [Sat, 15 May 2010 22:40:16 +0000 (22:40 +0000)]
Fix auto-deploy issues caused by Lifecycle refactoring.

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

15 years agoRevert r944511
markt [Sat, 15 May 2010 20:23:06 +0000 (20:23 +0000)]
Revert r944511

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

15 years agoList array elements in the JMX proxy output of the
rjung [Sat, 15 May 2010 12:59:21 +0000 (12:59 +0000)]
List array elements in the JMX proxy output of the
Manager application.

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

15 years agoTCK failures: Fix remaining failures with APR/native and a security Manager
markt [Fri, 14 May 2010 23:43:51 +0000 (23:43 +0000)]
TCK failures: Fix remaining failures with APR/native and a security Manager

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

15 years agoCheck whether context is null.
rjung [Fri, 14 May 2010 23:14:51 +0000 (23:14 +0000)]
Check whether context is null.

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

15 years agoBetter handling for public ID when validation is enabled
markt [Fri, 14 May 2010 20:57:34 +0000 (20:57 +0000)]
Better handling for public ID when validation is enabled

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

15 years agoBetter comment
markt [Fri, 14 May 2010 19:32:17 +0000 (19:32 +0000)]
Better comment

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

15 years agoRemove whitespace
markt [Fri, 14 May 2010 19:19:42 +0000 (19:19 +0000)]
Remove whitespace

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

15 years agoAdd the new contextName property of WebappClassLoader
rjung [Fri, 14 May 2010 18:59:22 +0000 (18:59 +0000)]
Add the new contextName property of WebappClassLoader
to its toString() and expose a read only via JMX.

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

15 years agoAdd Token Poller protection to our list
rjung [Fri, 14 May 2010 17:33:40 +0000 (17:33 +0000)]
Add Token Poller protection to our list
of special leak protection.
It initializes Java Cryptography Architecture
early during startup to prevent the occasional
Token Poller thread being started with the web app
class loader as TCCL.

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

15 years agoPreparation be fore adding a new leak prevention feature:
rjung [Fri, 14 May 2010 17:31:50 +0000 (17:31 +0000)]
Preparation be fore adding a new leak prevention feature:
change order of features to alphabetic like in listener docs.
Makes checking easier.

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

15 years agoFix change fragment absolute-ordering at web.xml with manager redeploy! (Add test...
pero [Fri, 14 May 2010 15:03:35 +0000 (15:03 +0000)]
Fix change fragment absolute-ordering at web.xml with manager redeploy! (Add test fragment samples)

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

15 years agoFix change fragment absolute-ordering at web.xml with manager redeploy!
pero [Fri, 14 May 2010 15:00:06 +0000 (15:00 +0000)]
Fix change fragment absolute-ordering at web.xml with manager redeploy!

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

15 years agoWarn to be used wrong fragment name at web.xml!
pero [Fri, 14 May 2010 12:07:00 +0000 (12:07 +0000)]
Warn to be used wrong fragment name at web.xml!

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

15 years agoFix copy/paste error
markt [Thu, 13 May 2010 21:17:44 +0000 (21:17 +0000)]
Fix copy/paste error
Add whitespace to aid readability

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

15 years agoWhitespace tweaks
markt [Thu, 13 May 2010 20:51:10 +0000 (20:51 +0000)]
Whitespace tweaks

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

15 years agoEssentially revert r943726
markt [Thu, 13 May 2010 20:04:05 +0000 (20:04 +0000)]
Essentially revert r943726
Children may be added prior to calling Context.start() and they *do* need to be started in that case.

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

15 years agoUpdate to JSTL 1.1.2 to fix numerous XML validation issues with TLD files
markt [Thu, 13 May 2010 12:22:05 +0000 (12:22 +0000)]
Update to JSTL 1.1.2 to fix numerous XML validation issues with TLD files

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

15 years agoIdentify source of TLD validation errors to aid debugging
markt [Thu, 13 May 2010 12:19:43 +0000 (12:19 +0000)]
Identify source of TLD validation errors to aid debugging

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

15 years agoSimplify xml validation configuration. It is now configurable per context and can...
markt [Thu, 13 May 2010 09:04:39 +0000 (09:04 +0000)]
Simplify xml validation configuration. It is now configurable per context and can be set per host using a host-level context.xml file so remove the attributes on the host.
If running with STRICT_SERVLET_COMPLIANCE, enable validation by default.

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

15 years agoRemove some stuff we have already done.
markt [Wed, 12 May 2010 23:08:10 +0000 (23:08 +0000)]
Remove some stuff we have already done.

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

15 years agoRemove completed item
markt [Wed, 12 May 2010 23:01:57 +0000 (23:01 +0000)]
Remove completed item

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

15 years agoFix HTML niggles.
markt [Wed, 12 May 2010 22:40:54 +0000 (22:40 +0000)]
Fix HTML niggles.

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

15 years agoWrappers are started when added to the Context (since the Context is already starting...
markt [Wed, 12 May 2010 22:32:22 +0000 (22:32 +0000)]
Wrappers are started when added to the Context (since the Context is already starting). Don't try and start them twice.

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

15 years agoFix TCK failure
markt [Wed, 12 May 2010 20:03:40 +0000 (20:03 +0000)]
Fix TCK failure
Restore initialisation of logger that was triggering an NPE

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

15 years agoRemove unused imports
markt [Wed, 12 May 2010 19:50:07 +0000 (19:50 +0000)]
Remove unused imports

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

15 years agoMultiple TCK failures. Child containers are started during the STARTING_PREP state...
markt [Wed, 12 May 2010 19:49:26 +0000 (19:49 +0000)]
Multiple TCK failures. Child containers are started during the STARTING_PREP state so if a child whilst the container is in that state, it must also be started.

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

15 years agoFix remaining issue described in https://issues.apache.org/bugzilla/show_bug.cgi...
markt [Wed, 12 May 2010 11:10:03 +0000 (11:10 +0000)]
Fix remaining issue described in https://issues.apache.org/bugzilla/show_bug.cgi?id=49218
doLookup should return null if the resource cannot be found and should not throw an exception
Fixes a potential infinite loop in VirtualDirContext

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49221
markt [Wed, 12 May 2010 10:31:04 +0000 (10:31 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49221
Ensure case conversion behaves as expected
Patch provided by sebb

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49224
markt [Wed, 12 May 2010 10:29:06 +0000 (10:29 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49224
Only try setting the username and password if they are non-null
Patch provided by Matt Passell

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

15 years agoFix remainder of https://issues.apache.org/bugzilla/show_bug.cgi?id=49181
markt [Wed, 12 May 2010 10:24:00 +0000 (10:24 +0000)]
Fix remainder of https://issues.apache.org/bugzilla/show_bug.cgi?id=49181
Add additional check to prevent adding Servlet context listeners once the calls to the Servlet Context listeners start

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

15 years agoChange role name for Manager GUI access to manager-gui to align with planned changes...
markt [Tue, 11 May 2010 21:02:19 +0000 (21:02 +0000)]
Change role name for Manager GUI access to manager-gui to align with planned changes to Tomcat 5/6

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49226
markt [Tue, 11 May 2010 20:05:15 +0000 (20:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49226
Ensure case conversion behaves as expected
Patch provided by sebb

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49227
markt [Tue, 11 May 2010 19:51:45 +0000 (19:51 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49227
Ensure case conversion behaves as expected
Patch provided by sebb

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

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=49228
markt [Tue, 11 May 2010 15:53:10 +0000 (15:53 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=49228
Use English Locale since other Locale's may give add results

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

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=49235
markt [Tue, 11 May 2010 15:48:36 +0000 (15:48 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=49235
Fix handlesTypes with annotations. The annotated class should be reported, not the annotation class.

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

15 years agoNPE protection
markt [Tue, 11 May 2010 13:09:43 +0000 (13:09 +0000)]
NPE protection

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

15 years agoFix typos
markt [Tue, 11 May 2010 13:01:50 +0000 (13:01 +0000)]
Fix typos

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

15 years agoNo need to remove LifecycleListeners from destroyed components
markt [Tue, 11 May 2010 11:06:02 +0000 (11:06 +0000)]
No need to remove LifecycleListeners from destroyed components

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

15 years agoContainerListener != LifecycleListener. Use the correct one.
markt [Tue, 11 May 2010 10:18:55 +0000 (10:18 +0000)]
ContainerListener != LifecycleListener. Use the correct one.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49240
markt [Tue, 11 May 2010 09:46:42 +0000 (09:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49240
If a class can't be loaded, don't scan HandlesTypes for it
Also handle NoClassDefFoundError
Patch provided by pid

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49269
markt [Tue, 11 May 2010 08:01:52 +0000 (08:01 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49269
Set maxIdle to maxActive by default to prevent warning on start when maxIdle > maxActive
Patch provided by Matt Passell

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

15 years agoExtend Lifecycle/MBean refactoring to ContainerBase
markt [Mon, 10 May 2010 16:17:22 +0000 (16:17 +0000)]
Extend Lifecycle/MBean refactoring to ContainerBase

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

15 years agoMake sure Tomcat instance is closed down correctly (prevents warnings in the logs).
markt [Mon, 10 May 2010 15:44:52 +0000 (15:44 +0000)]
Make sure Tomcat instance is closed down correctly (prevents warnings in the logs).

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

15 years agoAllow the transition from NEW to DESTROYED for objects that are never started.
markt [Mon, 10 May 2010 15:41:58 +0000 (15:41 +0000)]
Allow the transition from NEW to DESTROYED for objects that are never started.

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

15 years agoFix FindBugs warning
markt [Sun, 9 May 2010 16:12:41 +0000 (16:12 +0000)]
Fix FindBugs warning

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