tomcat7.0
15 years agoTypo
markt [Wed, 13 Oct 2010 15:02:32 +0000 (15:02 +0000)]
Typo

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

15 years agoRe-implement the fix for
kkolinko [Wed, 13 Oct 2010 14:55:27 +0000 (14:55 +0000)]
Re-implement the fix for
https://issues.apache.org/bugzilla/show_bug.cgi?id=49428

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

15 years agoRevert r964780 that was a fix for
kkolinko [Wed, 13 Oct 2010 14:03:23 +0000 (14:03 +0000)]
Revert r964780 that was a fix for
https://issues.apache.org/bugzilla/show_bug.cgi?id=49428

See Re:r964780 thread on dev@ or TC 6.0 STATUS file.

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

15 years agoBetter fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49922
markt [Wed, 13 Oct 2010 11:10:30 +0000 (11:10 +0000)]
Better fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49922
Revert my approach and go with patch suggested by heyoulin.
Extend test cases

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

15 years agoRestore credits removed by r1003846
kkolinko [Tue, 12 Oct 2010 14:57:12 +0000 (14:57 +0000)]
Restore credits removed by r1003846

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

15 years agoStop async requests hanging - side effect of r1006358
markt [Tue, 12 Oct 2010 14:09:59 +0000 (14:09 +0000)]
Stop async requests hanging - side effect of r1006358

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50044 for NIO connector
markt [Tue, 12 Oct 2010 12:10:43 +0000 (12:10 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50044 for NIO connector

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50044 for APR connector
markt [Sun, 10 Oct 2010 22:10:27 +0000 (22:10 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50044 for APR connector

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

15 years agoOnly call asyncPostProcess for async requests
markt [Sun, 10 Oct 2010 19:14:13 +0000 (19:14 +0000)]
Only call asyncPostProcess for async requests

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50066
markt [Sun, 10 Oct 2010 18:16:00 +0000 (18:16 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50066
Fix building of recursive tag files when the file depends on a JAR file. Patch provided by Sylvain Laurent.

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

15 years agoImprove error handling in TLD processing and handle the case when there is no web.xml
markt [Sun, 10 Oct 2010 18:09:43 +0000 (18:09 +0000)]
Improve error handling in TLD processing and handle the case when there is no web.xml

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50063
markt [Sun, 10 Oct 2010 09:58:24 +0000 (09:58 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50063
Fix apps with meta-data complete returning 404s

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50027
markt [Fri, 8 Oct 2010 21:46:05 +0000 (21:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50027
Avoid NPE on start when a Context is defined in server.xml with one or more JNDI resources.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50059
markt [Fri, 8 Oct 2010 21:37:19 +0000 (21:37 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50059
Always make JAR resources available

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50017
markt [Fri, 8 Oct 2010 14:16:23 +0000 (14:16 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50017
Code clean-up. No functional change.
Patch provided by sebb

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50016
markt [Fri, 8 Oct 2010 14:02:05 +0000 (14:02 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50016
Re-factor isUserInRole() and login() / logout() methods to support JACC implementations and to improve encapsulation.
Patch provided by David Jencks.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50015
markt [Fri, 8 Oct 2010 13:22:04 +0000 (13:22 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50015
Re-factor dynamic servlet security implementation to make extensions, such as JACC implementations, simpler. Patch provided by David Jencks.

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

15 years agoAdditional fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48716
markt [Fri, 8 Oct 2010 12:21:55 +0000 (12:21 +0000)]
Additional fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48716
Don't call reset if the default LngManager is in use

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50013
markt [Fri, 8 Oct 2010 12:10:28 +0000 (12:10 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50013
Correctly package classes from org.apache.tomcat.util.file and add the tomcat-util.jar to the class path for the Ant tasks. Based on a patch provided by Sylvain Laurent.

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

15 years agoUpdate change log
markt [Fri, 8 Oct 2010 11:59:22 +0000 (11:59 +0000)]
Update change log

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

15 years agoAdd test cases for:
markt [Fri, 8 Oct 2010 11:57:57 +0000 (11:57 +0000)]
Add test cases for:
- https://issues.apache.org/bugzilla/show_bug.cgi?id=49994
- https://issues.apache.org/bugzilla/show_bug.cgi?id=23950
Based on the original test case for bug 23950 provided by Eli Miller

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49994
markt [Fri, 8 Oct 2010 11:57:04 +0000 (11:57 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49994
Lookup of JNDI references should return a new object instance each time

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

15 years agoMinor fixes to DefaultServlet docs
timw [Fri, 8 Oct 2010 08:11:24 +0000 (08:11 +0000)]
Minor fixes to DefaultServlet docs

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49987
markt [Thu, 7 Oct 2010 21:53:55 +0000 (21:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49987
Fix thread safety issue with population of servlet context initialization parameters.

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

15 years agoFix some failing tests. No regression in Tomcat/Jasper, just need to take account...
markt [Thu, 7 Oct 2010 15:33:46 +0000 (15:33 +0000)]
Fix some failing tests. No regression in Tomcat/Jasper, just need to take account of changes in test framework.

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

15 years agoFix some failing tests. No regression in Tomcat/Jasper, just need to take account...
markt [Thu, 7 Oct 2010 15:12:21 +0000 (15:12 +0000)]
Fix some failing tests. No regression in Tomcat/Jasper, just need to take account of changes in test framework.

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

15 years agoAdd latest fix
markt [Thu, 7 Oct 2010 14:35:27 +0000 (14:35 +0000)]
Add latest fix

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49986
markt [Thu, 7 Oct 2010 14:34:29 +0000 (14:34 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49986
Thread safety issues in JSP reload process. (timw)

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

15 years agoFix warnings
markt [Thu, 7 Oct 2010 14:32:29 +0000 (14:32 +0000)]
Fix warnings

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

15 years agoAdd bug reference - looks like this one was reported and fixed independently.
markt [Thu, 7 Oct 2010 14:25:43 +0000 (14:25 +0000)]
Add bug reference - looks like this one was reported and fixed independently.

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

15 years agoCouple of updates.
markt [Thu, 7 Oct 2010 14:21:55 +0000 (14:21 +0000)]
Couple of updates.

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

15 years agoFix import order
markt [Thu, 7 Oct 2010 14:21:11 +0000 (14:21 +0000)]
Fix import order

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49978
markt [Thu, 7 Oct 2010 14:13:44 +0000 (14:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49978
Don't try to create directories that already exist

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49972
markt [Thu, 7 Oct 2010 14:05:51 +0000 (14:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49972
Address potential thread safety issues.

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

15 years agoSet not maxThreads but minSpareThreads to corePoolSize, if AbstractEndpoint.setMinSp...
kfujino [Thu, 7 Oct 2010 09:19:00 +0000 (09:19 +0000)]
Set not maxThreads  but minSpareThreads to corePoolSize, if AbstractEndpoint.setMinSpareThreads is called.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50054
kfujino [Thu, 7 Oct 2010 08:54:51 +0000 (08:54 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50054
Correctly handle the setting of minSpareThreads in AJP connector.
Other attributes (acceptorThreadCount etc.) are correctly set by this fix.

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

15 years agoSetting native line encoding.
timw [Thu, 7 Oct 2010 00:53:21 +0000 (00:53 +0000)]
Setting native line encoding.
No functional change

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

15 years agoAdding license headers.
timw [Thu, 7 Oct 2010 00:50:28 +0000 (00:50 +0000)]
Adding license headers.
No functional change

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49957
markt [Wed, 6 Oct 2010 22:54:13 +0000 (22:54 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49957
Correct regression due to Lifecycle re-factoring that cleared all work directories (with compiled JSPs and persisted sessions) when Tomcat was stopped.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49956
markt [Wed, 6 Oct 2010 21:58:37 +0000 (21:58 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49956
Handle case when @Resource annotation uses the full JNDI name for a resource.
Based on a patch by Gurkan Erdogdu.

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

15 years agoFix indent
markt [Wed, 6 Oct 2010 21:51:27 +0000 (21:51 +0000)]
Fix indent

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

15 years agoWhitespace police
markt [Wed, 6 Oct 2010 21:50:10 +0000 (21:50 +0000)]
Whitespace police

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

15 years agoFix comment typo
markt [Wed, 6 Oct 2010 21:47:27 +0000 (21:47 +0000)]
Fix comment typo
Better error message when a SCL can not be added since the listeners have already been called.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49952
markt [Wed, 6 Oct 2010 21:46:43 +0000 (21:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49952
Allow ServletContainerInitializers to add listeners to a web application.
Patch provided by David Jencks.

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

15 years ago7.0.3 not released. Missing license header in src file.
markt [Wed, 6 Oct 2010 21:25:23 +0000 (21:25 +0000)]
7.0.3 not released. Missing license header in src file.

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

15 years agoColleague at $work reported issues path parameters and extension mapping so add some...
markt [Wed, 6 Oct 2010 15:09:37 +0000 (15:09 +0000)]
Colleague at $work reported issues path parameters and extension mapping so add some tests. Looks OK.

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

15 years agoAdding unit tests for DefaultServlet and WebdavServlet to test basic serving/mounting...
timw [Wed, 6 Oct 2010 08:37:56 +0000 (08:37 +0000)]
Adding unit tests for DefaultServlet and WebdavServlet to test basic serving/mounting behaviour and protection of special paths

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

15 years agoMaking TomcatBaseTest.getUrl() work for get requests that return 404 responses
timw [Wed, 6 Oct 2010 08:36:20 +0000 (08:36 +0000)]
Making TomcatBaseTest.getUrl() work for get requests that return 404 responses

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

15 years agoCorrecting JavaDoc for HTTP methods.
timw [Wed, 6 Oct 2010 07:24:46 +0000 (07:24 +0000)]
Correcting JavaDoc for HTTP methods.
No functional change

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

15 years agoMore fixes for https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
timw [Wed, 6 Oct 2010 07:22:46 +0000 (07:22 +0000)]
More fixes for https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
Calculating complete resource path when accessed via RequestDispatcher.include()

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

15 years agoRemove @SuppressWarnings that is no more needed
kkolinko [Wed, 6 Oct 2010 01:06:27 +0000 (01:06 +0000)]
Remove @SuppressWarnings that is no more needed

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

15 years agoAmending the fix for
kkolinko [Wed, 6 Oct 2010 01:03:29 +0000 (01:03 +0000)]
Amending the fix for
https://issues.apache.org/bugzilla/show_bug.cgi?id=49669
Do not depend on the deprecated class. Use reflection instead.

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

15 years agoTurn the commented out test code into a unit test.
markt [Tue, 5 Oct 2010 15:32:41 +0000 (15:32 +0000)]
Turn the commented out test code into a unit test.

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

15 years agoSimplify. Path is stored in MapElement.name
markt [Tue, 5 Oct 2010 14:43:26 +0000 (14:43 +0000)]
Simplify. Path is stored in MapElement.name

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

15 years agoMake sure copyright year is replaced for root webapp
markt [Tue, 5 Oct 2010 08:00:08 +0000 (08:00 +0000)]
Make sure copyright year is replaced for root webapp

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

15 years agoMake sure copyright year is replaced for root webapp
markt [Tue, 5 Oct 2010 07:55:04 +0000 (07:55 +0000)]
Make sure copyright year is replaced for root webapp

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

15 years agotypo
markt [Tue, 5 Oct 2010 07:45:04 +0000 (07:45 +0000)]
typo

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

15 years agoCorrect fix fot 49669
markt [Tue, 5 Oct 2010 07:30:54 +0000 (07:30 +0000)]
Correct fix fot 49669

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

15 years agoUpdating changelog with fix for https://issues.apache.org/bugzilla/show_bug.cgi?id...
timw [Tue, 5 Oct 2010 02:57:25 +0000 (02:57 +0000)]
Updating changelog with fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=50026

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

15 years agoAdd missing AL2 header
markt [Mon, 4 Oct 2010 22:00:38 +0000 (22:00 +0000)]
Add missing AL2 header

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49945
markt [Mon, 4 Oct 2010 21:24:55 +0000 (21:24 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49945
More JMX improvements.
Patch provided by Chamith Buddhika.

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

15 years agoMore fixes for https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
timw [Mon, 4 Oct 2010 20:37:11 +0000 (20:37 +0000)]
More fixes for https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
Calculating path prefix used in listings correctly so links in listings produced by WebdavServlet mounted to a subpath are correct.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50026 for WebdavServlet
timw [Mon, 4 Oct 2010 20:33:57 +0000 (20:33 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50026 for WebdavServlet
Factored checking of special WEB-INF and META-INF paths into service to trap requests for GET methods handled by DefaultServlet (which does not check access).
Retained checking of special paths in handlers for copy, delete, move (copy + delete), and in enumeration of resources (propfind).

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
timw [Mon, 4 Oct 2010 20:19:09 +0000 (20:19 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
Always calculate path of resource to be served relative to the context root.
This invokes the standard protection of WEB-INF and META-INF directories.
This is a breaking change for the unofficial use of DefaultServlet to remount the webapp base under a new path.

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

15 years agoReduce code duplication. Convert file names to a context path in a single method.
markt [Mon, 4 Oct 2010 14:50:41 +0000 (14:50 +0000)]
Reduce code duplication. Convert file names to a context path in a single method.

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

15 years agoRemove duplicate method. Rename remaining method.
markt [Mon, 4 Oct 2010 14:18:14 +0000 (14:18 +0000)]
Remove duplicate method. Rename remaining method.

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

15 years agoRemove todo for bad idea
markt [Mon, 4 Oct 2010 13:47:25 +0000 (13:47 +0000)]
Remove todo for bad idea

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

15 years agoUse absolute time spend to unlockAccept and lower down the timeout to 30 secs
mturk [Mon, 4 Oct 2010 09:37:11 +0000 (09:37 +0000)]
Use absolute time spend to unlockAccept and lower down the timeout to 30 secs

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

15 years agoMladen fixed 49923
markt [Mon, 4 Oct 2010 09:30:13 +0000 (09:30 +0000)]
Mladen fixed 49923

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

15 years agoFix 49923 by making sure timeouts can't be negative
mturk [Mon, 4 Oct 2010 09:22:03 +0000 (09:22 +0000)]
Fix 49923 by making sure timeouts can't be negative

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

15 years agoUse better explanation
mturk [Mon, 4 Oct 2010 08:55:12 +0000 (08:55 +0000)]
Use better explanation

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

15 years agoAdd log.warn if unlockAccept fails to wakeup the listening socket
mturk [Mon, 4 Oct 2010 08:52:11 +0000 (08:52 +0000)]
Add log.warn if unlockAccept fails to wakeup the listening socket

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

15 years agoTo avoid NoSuchMethodException,
kfujino [Mon, 4 Oct 2010 06:47:17 +0000 (06:47 +0000)]
To avoid NoSuchMethodException,
xmlValidation and xmlNamespaceAware are removed from the createStandardHost definition of mbeans-descriptors.xml.
xmlValidation and xmlNamespaceAware are attributes of not Host but Contex.

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

15 years agoSimplify instantiating parent loggers. No need to instantiate all of them all at...
markt [Sun, 3 Oct 2010 22:11:04 +0000 (22:11 +0000)]
Simplify instantiating parent loggers. No need to instantiate all of them all at once since Logger.getLogger() will result in a call to this method.

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

15 years agoTweak generics. fix a handful of warnings.
markt [Sun, 3 Oct 2010 21:58:42 +0000 (21:58 +0000)]
Tweak generics. fix a handful of warnings.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49937
markt [Sun, 3 Oct 2010 20:53:49 +0000 (20:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49937
Use InstanceManager to create AsyncListeners so annotations are processed. Based on a patch by David Jencks.

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

15 years agoADd missing entry
markt [Sun, 3 Oct 2010 19:23:27 +0000 (19:23 +0000)]
ADd missing entry

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

15 years agoCorrect fix version. I think a few more of these need correcting. Checking now...
markt [Sun, 3 Oct 2010 19:18:20 +0000 (19:18 +0000)]
Correct fix version. I think a few more of these need correcting. Checking now...

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

15 years agoImprove handling of setting primitive values on beans.
markt [Sun, 3 Oct 2010 19:16:32 +0000 (19:16 +0000)]
Improve handling of setting primitive values on beans.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49922
markt [Sun, 3 Oct 2010 17:27:42 +0000 (17:27 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49922
Don't map filter twice if filter matches multiple mapping.

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

15 years agoCorrect changelog entry for r1003923
kkolinko [Sun, 3 Oct 2010 17:03:05 +0000 (17:03 +0000)]
Correct changelog entry for r1003923
7.0.3 was cut from r1003911, so this one will be in 7.0.4 as Mark noted in BZ
Correct a typo in the bug number. It is BZ 49998

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49998
timw [Sun, 3 Oct 2010 06:53:15 +0000 (06:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49998
Handle single quoted attributes in detection of jsp:root element in XML syntax JSP files.

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

15 years agoBump version
markt [Sat, 2 Oct 2010 22:15:50 +0000 (22:15 +0000)]
Bump version

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

15 years agoFix NPE and TCK failures caused by previous fix for bug 49799.
markt [Sat, 2 Oct 2010 21:14:37 +0000 (21:14 +0000)]
Fix NPE and TCK failures caused by previous fix for bug 49799.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49985
markt [Sat, 2 Oct 2010 18:53:30 +0000 (18:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49985
Make thread safe

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

15 years agoRevert r1003552 & r1003550 as it had a significant negative performance impact (order...
markt [Sat, 2 Oct 2010 17:57:42 +0000 (17:57 +0000)]
Revert r1003552 & r1003550 as it had a significant negative performance impact (orders of magnitude) on Windows during testing.

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

15 years agoCreate service-install.log file during installation with params that were used to...
mturk [Sat, 2 Oct 2010 17:32:14 +0000 (17:32 +0000)]
Create service-install.log file during installation with params that were used to invoke commons daemon

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49916
markt [Fri, 1 Oct 2010 17:29:03 +0000 (17:29 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49916
Switch to using an initialisation parameter to pass JSP file information from Catalina to Jasper. This simplifies the Catalina code as well as making it easier for Geronimo and others to integrate Jasper.
Patch provided by David Jencks.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49915
markt [Fri, 1 Oct 2010 16:49:29 +0000 (16:49 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49915
Make error more obvious, particularly when accessed via JConsole, if StandardServer.storeConfig() is called when there is no StoreConfig implementation present.

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

15 years agoUpdate changelog
markt [Fri, 1 Oct 2010 16:34:37 +0000 (16:34 +0000)]
Update changelog

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49905
markt [Fri, 1 Oct 2010 16:32:31 +0000 (16:32 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49905
Prevent memory leak when using aysnc session replication

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

15 years ago-e doesn't exist on Solaris
markt [Fri, 1 Oct 2010 15:08:23 +0000 (15:08 +0000)]
-e doesn't exist on Solaris

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

15 years agoAdd a TODO
markt [Fri, 1 Oct 2010 14:58:43 +0000 (14:58 +0000)]
Add a TODO

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

15 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=49890
markt [Fri, 1 Oct 2010 14:54:53 +0000 (14:54 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=49890
Detect when the JVM bug occurs and log an error asking for more information.

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

15 years agogetKeyCount() didn't do anything due to local variable definition
markt [Fri, 1 Oct 2010 14:36:31 +0000 (14:36 +0000)]
getKeyCount() didn't do anything due to local variable definition

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49861
markt [Fri, 1 Oct 2010 11:37:05 +0000 (11:37 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49861
Don't use commas when logging RMI port values

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

15 years agoFix Eclipse warnings
markt [Fri, 1 Oct 2010 11:15:56 +0000 (11:15 +0000)]
Fix Eclipse warnings

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49667
markt [Fri, 1 Oct 2010 11:10:51 +0000 (11:10 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49667
Ensure JDBC leak prevention code doesn't trigger the very memory leak it is meant to be fixing.

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49860
markt [Fri, 1 Oct 2010 10:21:58 +0000 (10:21 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49860
Add support for trailing headers

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

15 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=49856
markt [Thu, 30 Sep 2010 21:47:46 +0000 (21:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49856
Add an executorName attribute to Connectors so it is possible to trace ThreadPool to Connector to Executor via JMX.

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