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

16 years agoRemove Jakarta references from the docs.
markt [Wed, 15 Jul 2009 07:03:17 +0000 (07:03 +0000)]
Remove Jakarta references from the docs.
Update those sections of the docs as necessary.

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

16 years agoTab police
markt [Wed, 15 Jul 2009 07:02:37 +0000 (07:02 +0000)]
Tab police

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

16 years agoRemove commented out reference to the balancer web-app. This is not included in trunk.
markt [Wed, 15 Jul 2009 06:55:25 +0000 (06:55 +0000)]
Remove commented out reference to the balancer web-app. This is not included in trunk.

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

16 years agoPartial fix for bug 47444.
markt [Wed, 15 Jul 2009 06:53:20 +0000 (06:53 +0000)]
Partial fix for bug 47444.
Update taglib URIs in examples, removing Jakarta references

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

16 years agoStart working on async, fairly similar to comet but much more convulated.
fhanik [Wed, 15 Jul 2009 00:33:14 +0000 (00:33 +0000)]
Start working on async, fairly similar to comet but much more convulated.
I'm gonna do checkins in fairly small chunks so folks can tag along and help out. Instead of doing one giant checkin

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

16 years agoJNDI lookup errors often only include part of the name being looked up.
markt [Tue, 14 Jul 2009 21:52:14 +0000 (21:52 +0000)]
JNDI lookup errors often only include part of the name being looked up.
Provide debug logging that includes the complete name and how it was requested.

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

16 years agoAdd experimental new queue, runs faster but is not yet complete and needs some work...
fhanik [Tue, 14 Jul 2009 17:49:03 +0000 (17:49 +0000)]
Add experimental new queue, runs faster but is not yet complete and needs some work around concurrency, iterators and remove operations

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=40380
markt [Tue, 14 Jul 2009 17:22:47 +0000 (17:22 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=40380
Correct synchronisation of expire()
Should now only run one per session

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

16 years agoImplements, doesn't override
markt [Tue, 14 Jul 2009 17:18:21 +0000 (17:18 +0000)]
Implements, doesn't override

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

16 years agoFix typo
markt [Tue, 14 Jul 2009 15:38:07 +0000 (15:38 +0000)]
Fix typo

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

16 years agoMore doco
fhanik [Tue, 14 Jul 2009 15:22:05 +0000 (15:22 +0000)]
More doco

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

16 years agomore javadoc
fhanik [Tue, 14 Jul 2009 14:53:20 +0000 (14:53 +0000)]
more javadoc

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

16 years agoPatch by arielandres@hotmail.com
fhanik [Tue, 14 Jul 2009 14:46:34 +0000 (14:46 +0000)]
Patch by arielandres@hotmail.com
Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47524

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

16 years agoAllow encoding to be specified for JULI FileHandler, and its subclasses (AsyncFileHan...
kkolinko [Tue, 14 Jul 2009 12:23:43 +0000 (12:23 +0000)]
Allow encoding to be specified for JULI FileHandler, and its subclasses (AsyncFileHandler).

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

16 years agoSome initial implementations for the 3.0 dynamic registration methods. Moving back...
costin [Tue, 14 Jul 2009 05:38:02 +0000 (05:38 +0000)]
Some initial implementations for the 3.0 dynamic registration methods. Moving back web.xml config to separate package - with annotations requiring scanning of all files it needs to be done at deploy time - so it'll be better to just load a .ser file at startup.

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

16 years agoFix
fhanik [Tue, 14 Jul 2009 01:15:29 +0000 (01:15 +0000)]
Fix

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

16 years agoFix test case
fhanik [Tue, 14 Jul 2009 00:21:17 +0000 (00:21 +0000)]
Fix test case

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

16 years agomore javadoc and corrections
fhanik [Tue, 14 Jul 2009 00:08:01 +0000 (00:08 +0000)]
more javadoc and corrections

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

16 years ago1. Ensure that any user defined CLASSPATH variables are not used on startup
kkolinko [Tue, 14 Jul 2009 00:01:01 +0000 (00:01 +0000)]
1. Ensure that any user defined CLASSPATH variables are not used on startup
(as is already implemented since rev.303663),
but now allow them to be specified in setenv.sh, in rare case when it is needed.

2. When preparing the CLASSPATH, do not treat the "debug" command specially,
because jdb does not need the tools.jar file.

3. Remove some wrong quotes in tool-wrapper.bat.

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

16 years agoremove not used methods
fhanik [Mon, 13 Jul 2009 22:29:16 +0000 (22:29 +0000)]
remove not used methods

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

16 years agoAdd tons of javadoc
fhanik [Mon, 13 Jul 2009 22:18:17 +0000 (22:18 +0000)]
Add tons of javadoc
Remove the finalizers, they behave way differently in the new JDK, so let the programmer be responsible for closures

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

16 years agoReplace o.a.catalina.util.StringManager with o.a.tomcat.util.res.StringManager
markt [Mon, 13 Jul 2009 22:03:12 +0000 (22:03 +0000)]
Replace o.a.catalina.util.StringManager with o.a.tomcat.util.res.StringManager
Catalina depends on o.a.tomcat.util already
Reduces duplicate code (which was also out of sync with latest updates)
The svn log for o.a.catalina.util.StringManager suggests this was the plan

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

16 years agoPrep required for the o.a.tomcat.util.res.StringManager to replace the o.a.c.util...
markt [Mon, 13 Jul 2009 21:49:14 +0000 (21:49 +0000)]
Prep required for the o.a.tomcat.util.res.StringManager to replace the o.a.c.util.StringManager
Adds handling for when classloaders common != server != shared

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

16 years agoRemove unused classes identified by the UCDetector plug-in
markt [Mon, 13 Jul 2009 20:20:59 +0000 (20:20 +0000)]
Remove unused classes identified by the UCDetector plug-in

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

16 years agoUpdate to commons pool 1.5.2 to get latest fixes
markt [Mon, 13 Jul 2009 19:45:32 +0000 (19:45 +0000)]
Update to commons pool 1.5.2 to get latest fixes

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

16 years agoExplicitely return value 0 if we return without error
rjung [Mon, 13 Jul 2009 19:16:49 +0000 (19:16 +0000)]
Explicitely return value 0 if we return without error
from setclasspath.bat. Otherwise errorlevel in catalina.bat
is not reset.

catalina.bat checks for non-zero errorlevel after
the call to setclasspath.bat and then fails silently,
because it assumes setclasspath.bat to log any error.

If there is an error above the call to setclasspath.bat,
catalina.bat fails without any message.

Since there is only very basic logic above the call
to setclasspath.bat, let us reset errorlevel to ignore errors.

Example: any "set myvar=" for an undefined variable myvar
sets errorlevel to 1, although it is a correct statement,
setting the variable to an empty value.

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

16 years agoTrack the TLD URIs processed for each webapp and don't process duplicates.
markt [Mon, 13 Jul 2009 16:43:26 +0000 (16:43 +0000)]
Track the TLD URIs processed for each webapp and don't process duplicates.
Because this tracks duplicate status in the RuleSet, each digester needs its own RuleSet rather than sharing the static one.

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

16 years agoClear props - stops weird TortoiseSvn behaviour
markt [Mon, 13 Jul 2009 14:55:27 +0000 (14:55 +0000)]
Clear props - stops weird TortoiseSvn behaviour

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

16 years agoAdd some ignores
markt [Mon, 13 Jul 2009 14:53:32 +0000 (14:53 +0000)]
Add some ignores

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

16 years agoCreate a package file for the JavaDoc main package
fhanik [Mon, 13 Jul 2009 14:50:49 +0000 (14:50 +0000)]
Create a package file for the JavaDoc main package

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

16 years agoAlternative fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=39194
markt [Sun, 12 Jul 2009 16:28:21 +0000 (16:28 +0000)]
Alternative fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=39194
Only add tools.jar to classpath when using debug option
Remove references to undocumented, half-implemented javac option
Remove unused environment variables

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

16 years agoRevert r791331 that fixed https://issues.apache.org/bugzilla/show_bug.cgi?id=39194
markt [Sun, 12 Jul 2009 16:07:58 +0000 (16:07 +0000)]
Revert r791331 that fixed https://issues.apache.org/bugzilla/show_bug.cgi?id=39194

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

16 years agofix assertion
fhanik [Fri, 10 Jul 2009 21:40:26 +0000 (21:40 +0000)]
fix assertion

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

16 years agoSome more concurrency testing
fhanik [Fri, 10 Jul 2009 21:38:16 +0000 (21:38 +0000)]
Some more concurrency testing

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

16 years agoFix a concurrency issue with connections being released and then trying to be reconnected
fhanik [Fri, 10 Jul 2009 21:02:43 +0000 (21:02 +0000)]
Fix a concurrency issue with connections being released and then trying to be reconnected

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

16 years agojavadoc
fhanik [Fri, 10 Jul 2009 19:48:26 +0000 (19:48 +0000)]
javadoc

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

16 years agocorrect dependency
fhanik [Fri, 10 Jul 2009 18:17:37 +0000 (18:17 +0000)]
correct dependency

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

16 years agojavadoc corrections
fhanik [Fri, 10 Jul 2009 18:10:30 +0000 (18:10 +0000)]
javadoc corrections

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

16 years agoremove dbcp
fhanik [Fri, 10 Jul 2009 17:16:25 +0000 (17:16 +0000)]
remove dbcp
add classpath to javadoc
start documenting DataSource

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

16 years agowere not using DBCP anywhere
fhanik [Fri, 10 Jul 2009 17:08:35 +0000 (17:08 +0000)]
were not using DBCP anywhere

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

16 years agocorrect counter behavior.
fhanik [Fri, 10 Jul 2009 16:42:00 +0000 (16:42 +0000)]
correct counter behavior.

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

16 years agoBetter notes for future reference
markt [Fri, 10 Jul 2009 16:28:41 +0000 (16:28 +0000)]
Better notes for future reference

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

16 years agoRevert r792945 - JSP.7.3.6.1 explicitly states locations without a leading '/' are...
markt [Fri, 10 Jul 2009 16:26:56 +0000 (16:26 +0000)]
Revert r792945 - JSP.7.3.6.1 explicitly states locations without a leading '/' are to be treated as relative to web.xml

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

16 years agoAdded some comments and more thread safety around the size of the pool
fhanik [Fri, 10 Jul 2009 16:25:14 +0000 (16:25 +0000)]
Added some comments and more thread safety around the size of the pool

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

16 years agoAdd documentation and clarification around JMX
fhanik [Fri, 10 Jul 2009 16:02:57 +0000 (16:02 +0000)]
Add documentation and clarification around JMX

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

16 years agoCorrect location of taglib element varies with spec version. WebRuleSet was using...
markt [Fri, 10 Jul 2009 15:53:59 +0000 (15:53 +0000)]
Correct location of taglib element varies with spec version. WebRuleSet was using 2.3 and earlier location. Update it to a) support 2.4 and later as well as 2.3 and earlier b) complain if taglib definition location is not consistent with declared spec version.

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

16 years agoAdd manifest to binary JAR
fhanik [Fri, 10 Jul 2009 15:03:43 +0000 (15:03 +0000)]
Add manifest to binary JAR
Fix XML error in doc

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

16 years agoAdd new jar to TLD exclusion list
markt [Fri, 10 Jul 2009 13:52:14 +0000 (13:52 +0000)]
Add new jar to TLD exclusion list

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

16 years agoServlet DTD and JSP spec are both quite clear that a <taglib-location> is <quote...
markt [Fri, 10 Jul 2009 13:27:01 +0000 (13:27 +0000)]
Servlet DTD and JSP spec are both quite clear that a <taglib-location> is <quote>a resource
relative to the root of the web application</quote>

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

16 years agoFix infinite loop. Spotted by GSOC student Xie Xiaodong.
markt [Fri, 10 Jul 2009 10:13:11 +0000 (10:13 +0000)]
Fix infinite loop. Spotted by GSOC student Xie Xiaodong.

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

16 years agoNeeds to be volatile as it is used in double checked locking
markt [Fri, 10 Jul 2009 10:10:18 +0000 (10:10 +0000)]
Needs to be volatile as it is used in double checked locking

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

16 years agoRemove unused properties:
kkolinko [Thu, 9 Jul 2009 23:15:09 +0000 (23:15 +0000)]
Remove unused properties:
build.xml uses them, but dist.xml and extras.xml do not

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

16 years agoRemove build-webapps-precompile target from dist.xml
kkolinko [Thu, 9 Jul 2009 22:58:13 +0000 (22:58 +0000)]
Remove build-webapps-precompile target from dist.xml
Discussion: http://markmail.org/thread/ymgbgqm3lav6rnjh

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47149
kkolinko [Thu, 9 Jul 2009 22:53:56 +0000 (22:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47149
Explicitly specify encoding for the source files

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

16 years agoReduce coupling between StandardSession and JAAS as per Filip's suggestion
markt [Thu, 9 Jul 2009 08:35:39 +0000 (08:35 +0000)]
Reduce coupling between StandardSession and JAAS as per Filip's suggestion

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

16 years agoremove dependency on the modeler so that the pool can run outside of tomcat and still...
fhanik [Wed, 8 Jul 2009 22:34:40 +0000 (22:34 +0000)]
remove dependency on the modeler so that the pool can run outside of tomcat and still have jmx query notifications.

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

16 years agoAdd a manifest template for an osgi bundle
fhanik [Wed, 8 Jul 2009 16:31:20 +0000 (16:31 +0000)]
Add a manifest template for an osgi bundle

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

16 years agoDocument a missing option
markt [Wed, 8 Jul 2009 12:49:12 +0000 (12:49 +0000)]
Document a missing option

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

16 years agoImprove shutdown time for NIO connectors, to block in a minimal fashion, yet leave...
fhanik [Tue, 7 Jul 2009 17:21:15 +0000 (17:21 +0000)]
Improve shutdown time for NIO connectors, to block in a minimal fashion, yet leave the pollers time to close out their connections

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

16 years agoWhen shutting down, to so immediately
fhanik [Tue, 7 Jul 2009 17:08:31 +0000 (17:08 +0000)]
When shutting down, to so immediately

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

16 years agoAdd milliseconds, seconds is not granular enough for log entries
fhanik [Tue, 7 Jul 2009 17:08:05 +0000 (17:08 +0000)]
Add milliseconds, seconds is not granular enough for log entries

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=39231
markt [Tue, 7 Jul 2009 16:33:02 +0000 (16:33 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39231
The JAAS contract for LoginModule says we have to call logout(). This won't always work (eg if there is no session) but is a reasonable effort.

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

16 years agoRemove standardSession strings not used by DeltaSession
kkolinko [Tue, 7 Jul 2009 10:50:40 +0000 (10:50 +0000)]
Remove standardSession strings not used by DeltaSession

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

16 years agoUpper case was a red herring.
markt [Mon, 6 Jul 2009 22:52:31 +0000 (22:52 +0000)]
Upper case was a red herring.
Thanks to http://greenbytes.de/tech/webdav/webdav-redirector-list.html

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

16 years agoTypo
markt [Mon, 6 Jul 2009 22:42:10 +0000 (22:42 +0000)]
Typo

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

16 years agoXP 32-bit SP3 works with the re-direct
markt [Mon, 6 Jul 2009 22:41:38 +0000 (22:41 +0000)]
XP 32-bit SP3 works with the re-direct

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

16 years agoMake webDAV fix filter more sophisticated. Eventual aim is to provide fixes tailored...
markt [Mon, 6 Jul 2009 22:20:11 +0000 (22:20 +0000)]
Make webDAV fix filter more sophisticated. Eventual aim is to provide fixes tailored to whichever broken client is trying to connect. Once I figure out how the client is broken of course. In the meantime, log when we know things go wrong. First up XP x64 SP2.

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

16 years agoFix copy and paste error
markt [Mon, 6 Jul 2009 21:19:39 +0000 (21:19 +0000)]
Fix copy and paste error

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

16 years agoConvert the WebDAV fix valve to a filter.
markt [Mon, 6 Jul 2009 21:06:13 +0000 (21:06 +0000)]
Convert the WebDAV fix valve to a filter.
Based on a patch provided by Xie Xiaodong as part of GSOC 2009

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

16 years agoFix
fhanik [Mon, 6 Jul 2009 15:45:32 +0000 (15:45 +0000)]
Fix
https://issues.apache.org/bugzilla/show_bug.cgi?id=47478
Patch provided by Keiichi Fujino

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=39194
markt [Sun, 5 Jul 2009 22:46:51 +0000 (22:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39194
Align classpath for all platforms:
 - only add tools.jar to the classpath when required
 - document optional javac argument for catalina.sh|bat
 - make sure javac without generating warnings on start
Include a patch for setclasspath.sh by Jason Brittain

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

16 years agoAdd the CLAASSPATH to the output (will be useful while working on 39194 as well as...
markt [Sun, 5 Jul 2009 21:48:51 +0000 (21:48 +0000)]
Add the CLAASSPATH to the output (will be useful while working on 39194 as well as generally useful to see if it has been modified from the default)
Fix a minor alignment niggle with JRE_HOME in cataina.sh

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

16 years agoAs of JDK 1.4, JSSE was no longer a separate download
markt [Sun, 5 Jul 2009 21:45:32 +0000 (21:45 +0000)]
As of JDK 1.4, JSSE was no longer a separate download
No need to include it in the startup scripts

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

16 years agomissprint
kkolinko [Sun, 5 Jul 2009 20:26:13 +0000 (20:26 +0000)]
missprint

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

16 years agoadd indent
kkolinko [Sun, 5 Jul 2009 20:23:57 +0000 (20:23 +0000)]
add indent

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=39089
markt [Sun, 5 Jul 2009 14:24:43 +0000 (14:24 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39089
Add a know issues section to the Jasper docs detailing the error described in 39089 and providing some possible workarounds

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

16 years agoImprove error message to include TDL uri when there is a problem with a tld so user...
markt [Sun, 5 Jul 2009 13:25:21 +0000 (13:25 +0000)]
Improve error message to include TDL uri when there is a problem with a tld so user knows which TLD to look at

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

16 years agoRemove deprecated methods that are no longer used
markt [Sun, 5 Jul 2009 12:38:17 +0000 (12:38 +0000)]
Remove deprecated methods that are no longer used

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=38797
markt [Sun, 5 Jul 2009 11:30:22 +0000 (11:30 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=38797
Revert previous fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=37933 and implement an alternative that doesn't have the side effects described in 38797

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

16 years agoRevert generics changes that require changes in spec classes
markt [Sun, 5 Jul 2009 11:11:57 +0000 (11:11 +0000)]
Revert generics changes that require changes in spec classes

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

16 years agoSpecify explicit encoding when performing replace task.
kkolinko [Sun, 5 Jul 2009 00:17:22 +0000 (00:17 +0000)]
Specify explicit encoding when performing replace task.

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

16 years agoFix generics warnings
kkolinko [Sat, 4 Jul 2009 23:10:05 +0000 (23:10 +0000)]
Fix generics warnings

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