tomcat7.0
16 years agoFix some Eclipse warnings. Could remove the unused parameters but that would break...
markt [Fri, 7 Aug 2009 12:24:54 +0000 (12:24 +0000)]
Fix some Eclipse warnings. Could remove the unused parameters but that would break the pattern of method signatures

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

16 years agoModify the embedded target so the extras package can be used if log4j logging is...
markt [Fri, 7 Aug 2009 10:49:54 +0000 (10:49 +0000)]
Modify the embedded target so the extras package can be used if log4j logging is required.

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

16 years agoNeed to figure out how to set the context class loader here
fhanik [Thu, 6 Aug 2009 22:59:25 +0000 (22:59 +0000)]
Need to figure out how to set the context class loader here

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

16 years agoclarify name
fhanik [Thu, 6 Aug 2009 22:44:35 +0000 (22:44 +0000)]
clarify name

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

16 years agoAdd in handling of async supported for filters during regular invokation and a dispatch
fhanik [Thu, 6 Aug 2009 22:19:08 +0000 (22:19 +0000)]
Add in handling of async supported for filters during regular invokation and a dispatch

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

16 years agoOne more use case
fhanik [Thu, 6 Aug 2009 19:34:34 +0000 (19:34 +0000)]
One more use case

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

16 years agoIf dispatch is called on a worker thread, simply execute it, instead of throwing...
fhanik [Thu, 6 Aug 2009 16:25:04 +0000 (16:25 +0000)]
If dispatch is called on a worker thread, simply execute it, instead of throwing exception. No need to hand off to container

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

16 years agoAnother use case
fhanik [Thu, 6 Aug 2009 16:10:34 +0000 (16:10 +0000)]
Another use case

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

16 years agoTLD handling improvements
markt [Thu, 6 Aug 2009 13:08:31 +0000 (13:08 +0000)]
TLD handling improvements
- make non standard behaviour configurable
- add a few more log messages
- sync method names

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

16 years agoMinor tweaks that will make a later proposal (will follow when I have done some more...
markt [Thu, 6 Aug 2009 11:15:44 +0000 (11:15 +0000)]
Minor tweaks that will make a later proposal (will follow when I have done some more testing) easier.

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

16 years agoremove non used import
fhanik [Thu, 6 Aug 2009 02:55:17 +0000 (02:55 +0000)]
remove non used import

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

16 years agoFix links
fhanik [Thu, 6 Aug 2009 00:16:18 +0000 (00:16 +0000)]
Fix links

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

16 years agopath adjustments
fhanik [Wed, 5 Aug 2009 23:58:18 +0000 (23:58 +0000)]
path adjustments

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

16 years agoStart by working on use cases
fhanik [Wed, 5 Aug 2009 23:20:57 +0000 (23:20 +0000)]
Start by working on use cases

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

16 years agomore work on the complete
fhanik [Wed, 5 Aug 2009 21:16:47 +0000 (21:16 +0000)]
more work on the complete

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

16 years agoa little more on the timeout part
fhanik [Wed, 5 Aug 2009 20:55:50 +0000 (20:55 +0000)]
a little more on the timeout part

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47612
fhanik [Wed, 5 Aug 2009 16:19:34 +0000 (16:19 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47612
patch provided by sebb
Abstract classes, private-> protected for subclass access

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

16 years agopatch by sebb for
fhanik [Wed, 5 Aug 2009 16:10:05 +0000 (16:10 +0000)]
patch by sebb for
https://issues.apache.org/bugzilla/show_bug.cgi?id=47577

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

16 years agoapply patch from sebb for https://issues.apache.org/bugzilla/show_bug.cgi?id=47452
fhanik [Wed, 5 Aug 2009 16:05:39 +0000 (16:05 +0000)]
apply patch from sebb for https://issues.apache.org/bugzilla/show_bug.cgi?id=47452

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

16 years agoAdd in support for XA drivers and connections.
fhanik [Wed, 5 Aug 2009 15:42:55 +0000 (15:42 +0000)]
Add in support for XA drivers and connections.
Update version

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

16 years agoHaving fixed the typo, fix all the places it was referenced
markt [Tue, 4 Aug 2009 22:54:25 +0000 (22:54 +0000)]
Having fixed the typo, fix all the places it was referenced

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

16 years agoFix the typo Costin spotted
markt [Tue, 4 Aug 2009 22:49:46 +0000 (22:49 +0000)]
Fix the typo Costin spotted

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

16 years agoCorrect JavaDocs.
markt [Mon, 3 Aug 2009 17:32:18 +0000 (17:32 +0000)]
Correct JavaDocs.
Patch by Xie Xiaodong (GSOC 2009)

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

16 years agoRemove unused imports
markt [Mon, 3 Aug 2009 12:30:25 +0000 (12:30 +0000)]
Remove unused imports

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

16 years agoFix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47583
markt [Thu, 30 Jul 2009 19:40:54 +0000 (19:40 +0000)]
Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47583
Fix timing related failures.
Patch suggested by sebb

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

16 years agoPartial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47577
markt [Thu, 30 Jul 2009 19:21:04 +0000 (19:21 +0000)]
Partial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47577
A handful of generics fixes.

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

16 years agoPartial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47577
markt [Thu, 30 Jul 2009 19:10:02 +0000 (19:10 +0000)]
Partial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47577
Cosmetic fixes. Main benefit is noise reduction in Eclipse error list

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

16 years agoPartial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47577
markt [Thu, 30 Jul 2009 18:29:30 +0000 (18:29 +0000)]
Partial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47577
Imports / casts

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

16 years agoPartial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47577
markt [Thu, 30 Jul 2009 18:25:37 +0000 (18:25 +0000)]
Partial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47577
Remove unused imports.

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

16 years agohttps://issues.apache.org/bugzilla/show_bug.cgi?id=47576
markt [Thu, 30 Jul 2009 18:13:36 +0000 (18:13 +0000)]
https://issues.apache.org/bugzilla/show_bug.cgi?id=47576
Fix exception name in Javadoc
Patch provided by sebb

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47569
markt [Thu, 30 Jul 2009 18:10:35 +0000 (18:10 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47569
Use the new base class so tests clean up after themselves

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

16 years agoMove the instance creation and clean-up to a base class so it can be re-used.
markt [Thu, 30 Jul 2009 18:09:12 +0000 (18:09 +0000)]
Move the instance creation and clean-up to a base class so it can be re-used.

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

16 years agoAdd missing test
markt [Thu, 30 Jul 2009 17:54:20 +0000 (17:54 +0000)]
Add missing test
Re-arrange to try and make it easier to see what is what

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

16 years agoFix warning
markt [Thu, 30 Jul 2009 07:02:51 +0000 (07:02 +0000)]
Fix warning

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47568
markt [Thu, 30 Jul 2009 07:01:13 +0000 (07:01 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47568
Create the tmp dir where intended
Remove it when we are done

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

16 years agoFollow up to https://issues.apache.org/bugzilla/show_bug.cgi?id=47567
markt [Thu, 30 Jul 2009 06:35:54 +0000 (06:35 +0000)]
Follow up to https://issues.apache.org/bugzilla/show_bug.cgi?id=47567
Add descriptions to the extras build script

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47567
markt [Thu, 30 Jul 2009 06:29:50 +0000 (06:29 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47567
Add some descriptions to the build file.

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

16 years agoAdd thumbnail databases to svn ignore for
rjung [Sat, 25 Jul 2009 18:34:46 +0000 (18:34 +0000)]
Add thumbnail databases to svn ignore for
all trunk (and related) folders containing images.

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

16 years agoAdd missing files to distribution
fhanik [Fri, 24 Jul 2009 23:08:32 +0000 (23:08 +0000)]
Add missing files to distribution

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

16 years agoup the version
fhanik [Fri, 24 Jul 2009 19:15:31 +0000 (19:15 +0000)]
up the version

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

16 years agoRemove a non occuring condition
fhanik [Fri, 24 Jul 2009 19:13:44 +0000 (19:13 +0000)]
Remove a non occuring condition

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=41824
markt [Fri, 24 Jul 2009 19:06:54 +0000 (19:06 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41824
Need to use canonical rather than binary form when writing code

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

16 years agoTemporarily use a mirror, while there is a problem with downloads.sourceforge.net
kkolinko [Fri, 24 Jul 2009 18:40:55 +0000 (18:40 +0000)]
Temporarily use a mirror, while there is a problem with downloads.sourceforge.net
https://sourceforge.net/apps/trac/sourceforge/ticket/2628

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

16 years agoUpdate to NSIS 2.45
kkolinko [Fri, 24 Jul 2009 18:31:58 +0000 (18:31 +0000)]
Update to NSIS 2.45
https://issues.apache.org/bugzilla/show_bug.cgi?id=47566

This version adds support for the upcoming release of Microsoft Windows 7
Release notes: http://sourceforge.net/project/shownotes.php?release_id=688043

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

16 years agoupdate test cases
fhanik [Fri, 24 Jul 2009 15:25:17 +0000 (15:25 +0000)]
update test cases

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

16 years agoAdd in Linux special case for performance optimization around locking.
fhanik [Fri, 24 Jul 2009 15:24:52 +0000 (15:24 +0000)]
Add in Linux special case for performance optimization around locking.
Set default queue to be the fair one
Remove unused code

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

16 years agoCorrect build.properties.default file name in
rjung [Fri, 24 Jul 2009 12:14:05 +0000 (12:14 +0000)]
Correct build.properties.default file name in
more build files and explain more explicit how
the customization files work.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46907
markt [Thu, 23 Jul 2009 17:48:56 +0000 (17:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46907
Debug logging should not cause the input stream to be swallowed
There are better, less intrusive ways to read request bodies

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

16 years agoPreparatory work for https://issues.apache.org/bugzilla/show_bug.cgi?id=40881
markt [Thu, 23 Jul 2009 17:39:51 +0000 (17:39 +0000)]
Preparatory work for https://issues.apache.org/bugzilla/show_bug.cgi?id=40881
As proposed on the dev list, remove the Realm from GenericPrincipal

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

16 years agoFix unused import
markt [Thu, 23 Jul 2009 17:17:11 +0000 (17:17 +0000)]
Fix unused import

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

16 years agoCorrect the file name
markt [Thu, 23 Jul 2009 17:15:55 +0000 (17:15 +0000)]
Correct the file name

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

16 years agoMoved and renamed TestELParser class.
kkolinko [Thu, 23 Jul 2009 13:15:41 +0000 (13:15 +0000)]
Moved and renamed TestELParser class.
Some more EL tests to be added later.

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

16 years agoAdd proxy caching configuration information to valves docs
markt [Thu, 23 Jul 2009 09:43:52 +0000 (09:43 +0000)]
Add proxy caching configuration information to valves docs

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

16 years agofix recursive loops
fhanik [Wed, 22 Jul 2009 19:48:56 +0000 (19:48 +0000)]
fix recursive loops

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

16 years agoRestore the @Overrides. Eclipse on my Mac wasn't configured right. Sorry for the...
markt [Wed, 22 Jul 2009 14:29:09 +0000 (14:29 +0000)]
Restore the @Overrides. Eclipse on my Mac wasn't configured right. Sorry for the noise.

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

16 years agoReorder the start sequence
fhanik [Tue, 21 Jul 2009 23:05:47 +0000 (23:05 +0000)]
Reorder the start sequence

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

16 years agoDocument Linux performance/overhead of using multi lock mechanism
fhanik [Tue, 21 Jul 2009 16:20:11 +0000 (16:20 +0000)]
Document Linux performance/overhead of using multi lock mechanism

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

16 years agoAllow to run perf test as a one off
fhanik [Tue, 21 Jul 2009 16:19:34 +0000 (16:19 +0000)]
Allow to run perf test as a one off

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

16 years agoremove not used classpath entries in the default setting
fhanik [Tue, 21 Jul 2009 13:13:10 +0000 (13:13 +0000)]
remove not used classpath entries in the default setting

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

16 years agoWe can call dispatch after we dispatched.
fhanik [Tue, 21 Jul 2009 13:11:04 +0000 (13:11 +0000)]
We can call dispatch after we dispatched.

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

16 years agoMore @Override complaints on Mac
markt [Tue, 21 Jul 2009 06:48:03 +0000 (06:48 +0000)]
More @Override complaints on Mac

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

16 years agoMac compiler doesn't like @Override on methods implementing an interface.
markt [Tue, 21 Jul 2009 06:45:24 +0000 (06:45 +0000)]
Mac compiler doesn't like @Override on methods implementing an interface.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47518
markt [Tue, 21 Jul 2009 06:24:58 +0000 (06:24 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47518
Fix reference to old method in Valve Javadoc
Patch by Christopher Schultz

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

16 years agoSync up the Catalina and Jasper TLD scanning code prior to adding some optional exten...
markt [Mon, 20 Jul 2009 21:37:30 +0000 (21:37 +0000)]
Sync up the Catalina and Jasper TLD scanning code prior to adding some optional extensions for the embedded use case.
A couple of options from the Jasper side have been removed as they were only ever used with one value.
The JSP 2.1 TCK passes with these changes.

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

16 years agoWhy do I always spot comment typos 2s after I commit a change?
markt [Mon, 20 Jul 2009 21:24:45 +0000 (21:24 +0000)]
Why do I always spot comment typos 2s after I commit a change?

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

16 years agoMake sure the duplicateUri flag is reset each time a TLD file is parsed. This was...
markt [Mon, 20 Jul 2009 21:22:33 +0000 (21:22 +0000)]
Make sure the duplicateUri flag is reset each time a TLD file is parsed. This was causing seemly random TCK failures depending on the order the tests were run in.

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

16 years agoRevert the TldConfig part of r795860. It appears to have introduced intermittent...
markt [Mon, 20 Jul 2009 16:28:27 +0000 (16:28 +0000)]
Revert the TldConfig part of r795860. It appears to have introduced intermittent TCK failures.

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

16 years agoSync the TLD file scanning code for WEB-INF between Catalina and Jasper
markt [Mon, 20 Jul 2009 14:39:17 +0000 (14:39 +0000)]
Sync the TLD file scanning code for WEB-INF between Catalina and Jasper
- Based on the Jasper algorithm
- Uses additional checks from Catalina (Jasper now ignores TLD files in WEB-INF/lib and WEB-INF classes)
- Adds comments noting the need to keep the two implementations in sync

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

16 years agoresourcePath doesn't end in / so need to use exact match to ensure on WEB-INF/lib...
markt [Mon, 20 Jul 2009 13:43:45 +0000 (13:43 +0000)]
resourcePath doesn't end in / so need to use exact match to ensure on WEB-INF/lib gets excluded and not WEB-INF/libxtz

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

16 years agoAdd a note about keeping processing order in sync.
markt [Mon, 20 Jul 2009 13:20:07 +0000 (13:20 +0000)]
Add a note about keeping processing order in sync.

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

16 years agoAlign the processing order. Need to scan WEB-INF before we scan all the JARs in the...
markt [Mon, 20 Jul 2009 13:17:37 +0000 (13:17 +0000)]
Align the processing order. Need to scan WEB-INF before we scan all the JARs in the class loader hierarchy

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

16 years agoBetter method name
markt [Mon, 20 Jul 2009 13:15:51 +0000 (13:15 +0000)]
Better method name

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

16 years agoIf TLDs are defined in web.xml, duplicates are expected so only log at debug
markt [Mon, 20 Jul 2009 11:08:24 +0000 (11:08 +0000)]
If TLDs are defined in web.xml, duplicates are expected so only log at debug

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

16 years agoAlign tag library URIs in web.xml, TLDs and JSPs.
markt [Mon, 20 Jul 2009 11:00:50 +0000 (11:00 +0000)]
Align tag library URIs in web.xml, TLDs and JSPs.
Note that the inconsistencies didn't break anything as the TLD scanning found all the various URIs

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

16 years agoTab police
markt [Mon, 20 Jul 2009 10:56:09 +0000 (10:56 +0000)]
Tab police

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

16 years agoUse an import
markt [Mon, 20 Jul 2009 10:15:34 +0000 (10:15 +0000)]
Use an import

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

16 years agoDuring a release, arguments are null
fhanik [Mon, 20 Jul 2009 01:45:18 +0000 (01:45 +0000)]
During a release, arguments are null

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

16 years agoAdd missing interface. Invalidates the 1.0.6 tag
fhanik [Mon, 20 Jul 2009 01:41:25 +0000 (01:41 +0000)]
Add missing interface. Invalidates the 1.0.6 tag

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

16 years agostart implementing concurrency around the state machine
fhanik [Mon, 20 Jul 2009 01:20:02 +0000 (01:20 +0000)]
start implementing concurrency around the state machine
startAsync and complete() are to be thread safe operations

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47413
kkolinko [Sun, 19 Jul 2009 02:52:32 +0000 (02:52 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47413
First part of a composite expression "${a}${b}" was not coerced to String

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

16 years agoRewrote (reworded) the Javadoc comment for JvmRouteBinderValve class.
kkolinko [Sun, 19 Jul 2009 01:12:50 +0000 (01:12 +0000)]
Rewrote (reworded) the Javadoc comment for JvmRouteBinderValve class.

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

16 years agoFixed https://issues.apache.org/bugzilla/show_bug.cgi?id=41564
markt [Sat, 18 Jul 2009 11:53:41 +0000 (11:53 +0000)]
Fixed https://issues.apache.org/bugzilla/show_bug.cgi?id=41564
Updated Tomcat6 to Tomcat 7
I couldn't see anything obviously obsolete so I removed the warning.

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

16 years agoimplement AsyncContext.dispatch and AsyncContext.start methods
fhanik [Fri, 17 Jul 2009 22:47:13 +0000 (22:47 +0000)]
implement AsyncContext.dispatch and AsyncContext.start methods

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

16 years agothe dispatcher type should be ASYNC when we are doing a dispatch
fhanik [Fri, 17 Jul 2009 22:37:54 +0000 (22:37 +0000)]
the dispatcher type should be ASYNC when we are doing a dispatch

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

16 years agoAdd notes
fhanik [Fri, 17 Jul 2009 21:54:34 +0000 (21:54 +0000)]
Add notes

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

16 years agoAsync patches phase 1 - Async means the container thread can back out. This means...
fhanik [Fri, 17 Jul 2009 21:32:00 +0000 (21:32 +0000)]
Async patches phase 1 - Async means the container thread can back out. This means that valves need to be async aware. For example, access log valve, can no longer log upon exit of the method since the thread can back out based on async behavior.

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

16 years agovery simple async example
fhanik [Fri, 17 Jul 2009 21:14:13 +0000 (21:14 +0000)]
very simple async example

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=41661
markt [Fri, 17 Jul 2009 20:12:49 +0000 (20:12 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41661
Thread safety issue with JspConfig.init(). There is one JspConfig object per context and as per 41661, issues have been seen with this on real systems.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=41059
markt [Fri, 17 Jul 2009 17:19:59 +0000 (17:19 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41059
Reduce one possible source of errors if using ENABLE_CLEAR_REFERENCES=true
Patch by Curt Arnold

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

16 years agoPart 1 of a series of commits to align the Catalina and Jasper TLD scanning code...
markt [Fri, 17 Jul 2009 16:57:30 +0000 (16:57 +0000)]
Part 1 of a series of commits to align the Catalina and Jasper TLD scanning code and to provide additional features when embedding. This first commit modifies the Catalina code to:
- better match the spec
- improve logging
The JSP TCK passes with this patch applied

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

16 years agoMake info message less harsh
markt [Fri, 17 Jul 2009 11:21:32 +0000 (11:21 +0000)]
Make info message less harsh

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=40551
markt [Thu, 16 Jul 2009 20:07:19 +0000 (20:07 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=40551
Enable the JvmRouteBinderValve to work with PersistentManagers as well as clusters

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

16 years agoAdd the docs I forgot in the previous GSOC commit
markt [Thu, 16 Jul 2009 19:36:03 +0000 (19:36 +0000)]
Add the docs I forgot in the previous GSOC commit

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

16 years agoMore GSOC work from Xie Xiadong
markt [Thu, 16 Jul 2009 19:34:49 +0000 (19:34 +0000)]
More GSOC work from Xie Xiadong
Initial implementation of RemoteHost and RemoteAddr filters.

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

16 years agoRefactor the dispatcher types from int and Integer to the one supplied by the Servlet...
fhanik [Thu, 16 Jul 2009 17:44:46 +0000 (17:44 +0000)]
Refactor the dispatcher types from int and Integer to the one supplied by the Servlet specification.

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

16 years agoMake clear this isn't the complete list if tag libraries for the app.
markt [Thu, 16 Jul 2009 16:16:40 +0000 (16:16 +0000)]
Make clear this isn't the complete list if tag libraries for the app.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47515
fhanik [Thu, 16 Jul 2009 14:12:16 +0000 (14:12 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47515
Patch submitted by Ryuichi Yoshihara

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

16 years agoConstants should be just that.
markt [Thu, 16 Jul 2009 13:52:24 +0000 (13:52 +0000)]
Constants should be just that.

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

16 years agoRemove commons logging reference - this copy of the digester doesn't use it.
markt [Thu, 16 Jul 2009 13:06:38 +0000 (13:06 +0000)]
Remove commons logging reference - this copy of the digester doesn't use it.

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

16 years agoRemainder of fix in trunk for 47444
markt [Wed, 15 Jul 2009 07:15:10 +0000 (07:15 +0000)]
Remainder of fix in trunk for 47444
Update references to Jakarta in Javadoc and JspC

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