tomcat7.0
16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46562
markt [Thu, 9 Apr 2009 11:06:34 +0000 (11:06 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46562
Close the reader when we are done

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

16 years agoRemove old thread pool code
markt [Thu, 9 Apr 2009 10:37:36 +0000 (10:37 +0000)]
Remove old thread pool code

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

16 years agoRemove the org.apache.jk package as per discussion on dev list. Do this early in...
markt [Thu, 9 Apr 2009 10:27:01 +0000 (10:27 +0000)]
Remove the org.apache.jk package as per discussion on dev list. Do this early in Tomcat 7 development to increase chances of identifying any issues with org.apache.coyoye.ajp package

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

16 years agoJava uses 0 rather than -1 for infinite socket timeout
markt [Thu, 9 Apr 2009 10:20:36 +0000 (10:20 +0000)]
Java uses 0 rather than -1 for infinite socket timeout

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

16 years agoUpdate the docs for the protocol attribute
markt [Thu, 9 Apr 2009 09:53:34 +0000 (09:53 +0000)]
Update the docs for the protocol attribute

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

16 years agoSwitch to org.apache.coyote.ajp.AjpProtocol rather than org.apache.jk.server.JkCoyote...
markt [Thu, 9 Apr 2009 09:49:34 +0000 (09:49 +0000)]
Switch to org.apache.coyote.ajp.AjpProtocol rather than org.apache.jk.server.JkCoyoteHandler

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46998
markt [Thu, 9 Apr 2009 09:14:40 +0000 (09:14 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46998
Reduce scope
Patch provided by Jens Kapitza

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46997
markt [Thu, 9 Apr 2009 09:13:28 +0000 (09:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46997
Code clean up
Patch provided by Jens Kapitza

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

16 years agoMove the class from cluster to ha.backend
jfclere [Thu, 9 Apr 2009 06:54:21 +0000 (06:54 +0000)]
Move the class from cluster to ha.backend

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46509
markt [Wed, 8 Apr 2009 17:15:16 +0000 (17:15 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46509
Use correct link on error page in JSP security example
Patch provided by Michael Moody

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

16 years agoFix NPE when not using cookies for session IDs
markt [Wed, 8 Apr 2009 17:12:18 +0000 (17:12 +0000)]
Fix NPE when not using cookies for session IDs

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46991
markt [Wed, 8 Apr 2009 16:13:23 +0000 (16:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46991
Update the counters before we recycle the request

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46990
markt [Wed, 8 Apr 2009 16:08:42 +0000 (16:08 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46990
Various sync issues.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46988
markt [Wed, 8 Apr 2009 15:28:08 +0000 (15:28 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46988
Make constants final

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46986
markt [Wed, 8 Apr 2009 15:25:05 +0000 (15:25 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46986
Find bugs was complaining although these have not been reported as causing issues for any users.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46985
markt [Wed, 8 Apr 2009 14:58:20 +0000 (14:58 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46985
There is still some optimisation possible but I think this is a good balance between clarity and oprimisation.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46967 and make behaviour consi...
markt [Wed, 8 Apr 2009 12:59:21 +0000 (12:59 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46967 and make behaviour consistent when running under a security manager.
Based on a patch provided by Kirk Wolf

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

16 years agoRemove class that was deleted some months ago.
markt [Wed, 8 Apr 2009 12:33:17 +0000 (12:33 +0000)]
Remove class that was deleted some months ago.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46958
markt [Wed, 8 Apr 2009 11:40:08 +0000 (11:40 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46958
Allow XML status to work irrespective of context path

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

16 years agoRemove unused constants
markt [Wed, 8 Apr 2009 11:36:40 +0000 (11:36 +0000)]
Remove unused constants

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

16 years agoFix unlikely NPE
markt [Wed, 8 Apr 2009 11:25:45 +0000 (11:25 +0000)]
Fix unlikely NPE

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46933
markt [Wed, 8 Apr 2009 11:08:17 +0000 (11:08 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46933
Simplify StringManager using Java 5 features.
Based on a patch by Jens Kapitza.
Include a test case to ensure simplification is OK for null input

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46982
markt [Wed, 8 Apr 2009 10:17:59 +0000 (10:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46982
Use DST offset not current offset (which will be 0 when DST is not being used)

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

16 years agoAdd missing dir that stops me running Tomcat directly from the build dir
markt [Tue, 7 Apr 2009 20:20:32 +0000 (20:20 +0000)]
Add missing dir that stops me running Tomcat directly from the build dir

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

16 years agoFix typo that meant .exe and .pdf files were corrupted in .tar.gz source bundle
markt [Tue, 7 Apr 2009 20:19:18 +0000 (20:19 +0000)]
Fix typo that meant .exe and .pdf files were corrupted in .tar.gz source bundle

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

16 years agoFix annoying loss of executable bit when building on Mac
markt [Tue, 7 Apr 2009 20:04:31 +0000 (20:04 +0000)]
Fix annoying loss of executable bit when building on Mac

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46599
markt [Tue, 7 Apr 2009 19:36:18 +0000 (19:36 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46599
Document known DAEMON issue

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

16 years agoUpdate native
markt [Tue, 7 Apr 2009 17:44:04 +0000 (17:44 +0000)]
Update native

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

16 years agoRemove changlog entry backported from trunk to TC 6
rjung [Mon, 6 Apr 2009 20:49:05 +0000 (20:49 +0000)]
Remove changlog entry backported from trunk to TC 6
in revision r762499.

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

16 years agoArrange the code according to Rainer's comments.
jfclere [Mon, 6 Apr 2009 16:40:12 +0000 (16:40 +0000)]
Arrange the code according to Rainer's comments.

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

16 years agoFirst support for httpd-trunk heartbeat logic.
jfclere [Mon, 6 Apr 2009 15:09:19 +0000 (15:09 +0000)]
First support for httpd-trunk heartbeat logic.

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

16 years agoUpdate package name
markt [Sun, 5 Apr 2009 18:52:31 +0000 (18:52 +0000)]
Update package name

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

16 years agoAdded a getter and the css mapping.
costin [Sun, 5 Apr 2009 15:29:53 +0000 (15:29 +0000)]
Added a getter and the css mapping.

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

16 years agoFiles changed/added in tomcat
costin [Sun, 5 Apr 2009 15:28:07 +0000 (15:28 +0000)]
Files changed/added in tomcat

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

16 years agoBuild and one example of embedding tomcat-lite ( I'll add more when I get time, I...
costin [Sun, 5 Apr 2009 14:24:42 +0000 (14:24 +0000)]
Build and one example of embedding tomcat-lite ( I'll add more when I get time, I only picked
spring for its limitations - it's easier to use tomcat-lite in a framework that supports
existing-object injection ).

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

16 years agoUnit tests, including the Watchdog converted to Junit.
costin [Sun, 5 Apr 2009 01:36:27 +0000 (01:36 +0000)]
Unit tests, including the Watchdog converted to Junit.

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

16 years agoFirst batch, based on sandbox. The main change is adding the ObjectManager to abstrac...
costin [Sat, 4 Apr 2009 16:24:34 +0000 (16:24 +0000)]
First batch, based on sandbox. The main change is adding the ObjectManager to abstract configuration/JMX/integration,
and replace some filters with explicit interfaces, as was suggested. This has dependencies on coyote and
tomcat-util, and some optional servlets/filters/plugins to provide various features from the spec.

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

16 years agoFix a handful of failures when using the litmus WebDAV testsuite.
markt [Fri, 3 Apr 2009 10:28:40 +0000 (10:28 +0000)]
Fix a handful of failures when using the litmus WebDAV testsuite.
Still other failures but these appear to relate to the lack of PROPPATCH support.

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

16 years agoFix litmus test failure:
markt [Thu, 2 Apr 2009 16:22:13 +0000 (16:22 +0000)]
Fix litmus test failure:
MKCOL with weird body must fail with 415 (RFC2518:8.3.1)

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

16 years agoMisc code clean-up. Remove unused parameters / exceptions etc.
markt [Thu, 2 Apr 2009 16:21:00 +0000 (16:21 +0000)]
Misc code clean-up. Remove unused parameters / exceptions etc.

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

16 years agoTabs -> 8 spaces
markt [Thu, 2 Apr 2009 11:58:51 +0000 (11:58 +0000)]
Tabs -> 8 spaces

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

16 years agoAlign build script with recent re-packaging
markt [Wed, 1 Apr 2009 21:53:38 +0000 (21:53 +0000)]
Align build script with recent re-packaging

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

16 years agoAdd filter encoding suggested by Remy to ant's
rjung [Sun, 29 Mar 2009 16:39:48 +0000 (16:39 +0000)]
Add filter encoding suggested by Remy to ant's
copy task attributes for the properties files.

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

16 years agoRemoved commented out code / unused classes.
markt [Sat, 28 Mar 2009 18:25:29 +0000 (18:25 +0000)]
Removed commented out code / unused classes.

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

16 years agoquote the name
fhanik [Sat, 28 Mar 2009 02:46:29 +0000 (02:46 +0000)]
quote the name

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

16 years agoMove classes from org.apache to org.apache.tomcat
markt [Fri, 27 Mar 2009 12:56:40 +0000 (12:56 +0000)]
Move classes from org.apache to org.apache.tomcat

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46923
markt [Fri, 27 Mar 2009 12:25:56 +0000 (12:25 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46923
Fully document protocol options for AJP.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=41606
markt [Fri, 27 Mar 2009 09:42:47 +0000 (09:42 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41606
Prevent double init() of JSP
Patch provided by Chris Halstead

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

16 years agoSome things you don't want to expose
fhanik [Thu, 26 Mar 2009 17:17:22 +0000 (17:17 +0000)]
Some things you don't want to expose

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

16 years agoAllow a user to configure a pool name through config
fhanik [Thu, 26 Mar 2009 16:38:05 +0000 (16:38 +0000)]
Allow a user to configure a pool name through config

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46915
markt [Thu, 26 Mar 2009 14:28:11 +0000 (14:28 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46915
When resolving ResourceBundle properties, don't claim to have resolved the property unless we really have resolved it.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46822
markt [Thu, 26 Mar 2009 12:58:40 +0000 (12:58 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46822
Avoid redundant object creation
Patch provided by Anthony Whitford

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46866
markt [Thu, 26 Mar 2009 11:06:06 +0000 (11:06 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46866
Better init of Random

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46875
markt [Wed, 25 Mar 2009 18:57:43 +0000 (18:57 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46875
Add try/catch to session access in case session has been invalidated

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

16 years agoStop Eclipse complaining
markt [Wed, 25 Mar 2009 18:01:43 +0000 (18:01 +0000)]
Stop Eclipse complaining

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=45332
markt [Wed, 25 Mar 2009 17:49:14 +0000 (17:49 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45332
When reading tomcat-users.xml try to ensure the digester supports the java encoding names. The windows installer will often use these names. The JVM does this by default. If the endorsed mechanism is used, an alternative parser may not support the Java encodings. This fix will only work for xerces.

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

16 years agoAllow the type to be the exact name of the data source
fhanik [Wed, 25 Mar 2009 17:46:13 +0000 (17:46 +0000)]
Allow the type to be the exact name of the data source

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

16 years agoFix bug when initSQL is used, then we should always execute it upon connection creation.
fhanik [Wed, 25 Mar 2009 14:38:33 +0000 (14:38 +0000)]
Fix bug when initSQL is used, then we should always execute it upon connection creation.
Bug report attributed to Torin McCabe

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

16 years agosome basic skeleton addition, more to follow
fhanik [Wed, 25 Mar 2009 13:33:13 +0000 (13:33 +0000)]
some basic skeleton addition, more to follow

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

16 years agoDisplay IP address in range 0-255 and not -127-127
fhanik [Wed, 25 Mar 2009 13:32:17 +0000 (13:32 +0000)]
Display IP address in range 0-255 and not -127-127

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

16 years agoSmall cosmetic fix
mturk [Wed, 25 Mar 2009 07:18:17 +0000 (07:18 +0000)]
Small cosmetic fix

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

16 years agoFix dependencies path in .classpath file.
rjung [Tue, 24 Mar 2009 13:56:26 +0000 (13:56 +0000)]
Fix dependencies path in .classpath file.
Thanks to Gregor Schneider.

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

16 years agoDelete unused code
markt [Tue, 24 Mar 2009 13:29:21 +0000 (13:29 +0000)]
Delete unused code

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

16 years agoFix some Eclipse warnings
markt [Tue, 24 Mar 2009 13:10:35 +0000 (13:10 +0000)]
Fix some Eclipse warnings

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

16 years agoFix typo
markt [Tue, 24 Mar 2009 13:06:49 +0000 (13:06 +0000)]
Fix typo

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

16 years agoforce 1.5 at this time, don't inherit parent value of 1.6
fhanik [Tue, 24 Mar 2009 11:20:26 +0000 (11:20 +0000)]
force 1.5 at this time, don't inherit parent value of 1.6

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

16 years agoBZ45026: Never return an empty HTTP status response phrase.
rjung [Tue, 24 Mar 2009 10:57:38 +0000 (10:57 +0000)]
BZ45026: Never return an empty HTTP status response phrase.
mod_jk and httpd 2.x do not like that.

Addition to r697183.

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

16 years agoImplement delegate methods that will let us expose all this under Tomcat JMX since...
fhanik [Tue, 24 Mar 2009 10:55:21 +0000 (10:55 +0000)]
Implement delegate methods that will let us expose all this under Tomcat JMX since Tomcat uses dynamic reflection to figure out what to expose

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

16 years agoDocument r757708.
rjung [Tue, 24 Mar 2009 10:43:45 +0000 (10:43 +0000)]
Document r757708.
Remove when backported.

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

16 years agoAllow bigger AJP packets for request bodies and
rjung [Tue, 24 Mar 2009 10:41:06 +0000 (10:41 +0000)]
Allow bigger AJP packets for request bodies and
responses (by setting packetSize on the connector).

Addition to r697192 for the other AJP connectors.

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

16 years agoUse some existing constants instead of inline numbers
rjung [Tue, 24 Mar 2009 10:35:53 +0000 (10:35 +0000)]
Use some existing constants instead of inline numbers
in AJP connectors.

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

16 years agoSetup datasource so that one can extend it more easily
fhanik [Tue, 24 Mar 2009 10:35:04 +0000 (10:35 +0000)]
Setup datasource so that one can extend it more easily

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

16 years agoUse a filter rather than a valve to add a default character set.
markt [Mon, 23 Mar 2009 21:39:48 +0000 (21:39 +0000)]
Use a filter rather than a valve to add a default character set.

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

16 years agoexpose the poolname through a public method, this will allow one to retrieve the...
fhanik [Mon, 23 Mar 2009 12:07:36 +0000 (12:07 +0000)]
expose the poolname through a public method, this will allow one to retrieve the actual connection pool through JMX as well

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

16 years agoRemove the Catalina dependency from Jasper.
markt [Mon, 23 Mar 2009 07:36:38 +0000 (07:36 +0000)]
Remove the Catalina dependency from Jasper.

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

16 years agoFollowup to r756926 (forward remote port via AJP13).
rjung [Sun, 22 Mar 2009 17:55:35 +0000 (17:55 +0000)]
Followup to r756926 (forward remote port via AJP13).
- Use a more private attribute name and
  define it in the Constants class.
- Do not set the attribute on the request,
  only use it for the remote port.

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

16 years agoAdd missing attributes tags
markt [Sat, 21 Mar 2009 18:51:43 +0000 (18:51 +0000)]
Add missing attributes tags

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

16 years agoFix a handful of Eclipse warnings
markt [Sat, 21 Mar 2009 15:07:42 +0000 (15:07 +0000)]
Fix a handful of Eclipse warnings

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

16 years agoAJP13 misses to forward the remotePort.
rjung [Sat, 21 Mar 2009 12:51:39 +0000 (12:51 +0000)]
AJP13 misses to forward the remotePort.

Apache automatically sets the env variable
REMOTE_PORT to the remote port.

Allow the user to set "JkEnvVar REMOTE_PORT" and
let us accept the port in the forwarded attribute
as the remote port.

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

16 years agoMulticastSocket.setLoopbackmode() works reversed.
rjung [Tue, 17 Mar 2009 16:21:07 +0000 (16:21 +0000)]
MulticastSocket.setLoopbackmode() works reversed.
The argument is named "disabled", so true is for disable.

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

16 years agoDon't try and save a read-only database
markt [Thu, 12 Mar 2009 22:21:54 +0000 (22:21 +0000)]
Don't try and save a read-only database

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

16 years agoRemove two validation related fields no longer used in the digester
markt [Thu, 12 Mar 2009 22:11:17 +0000 (22:11 +0000)]
Remove two validation related fields no longer used in the digester

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

16 years agoGet validation working properly. This will still throw two errors on start-up due...
markt [Thu, 12 Mar 2009 22:09:44 +0000 (22:09 +0000)]
Get validation working properly. This will still throw two errors on start-up due to errors in two of the tld's included in standard.jar in the examples app.

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

16 years agoChange default xmlBase to prevent exceptions on start up and errors every time the...
markt [Thu, 12 Mar 2009 17:02:27 +0000 (17:02 +0000)]
Change default xmlBase to prevent exceptions on start up and errors every time the background thread checks for descriptors.
Remove unused code block.

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

16 years agoFix line endings
markt [Thu, 12 Mar 2009 12:29:40 +0000 (12:29 +0000)]
Fix line endings

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

16 years agoAllow xmlBase to be configurable, just like appBase.
fhanik [Wed, 11 Mar 2009 22:05:12 +0000 (22:05 +0000)]
Allow xmlBase to be configurable, just like appBase.

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

16 years agoAdd missing and new schemas to resolver used by digester.
markt [Wed, 11 Mar 2009 19:28:18 +0000 (19:28 +0000)]
Add missing and new schemas to resolver used by digester.

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

16 years agoAdd missing XML Schemas for Java EE Deployment Descriptors
markt [Wed, 11 Mar 2009 19:12:03 +0000 (19:12 +0000)]
Add missing XML Schemas for Java EE Deployment Descriptors
Unlike the existing schemas, these files are CDDL licensed.

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

16 years agoAdd a system property that lets the startup phase exit if the server encounters an...
fhanik [Wed, 11 Mar 2009 00:46:54 +0000 (00:46 +0000)]
Add a system property that lets the startup phase exit if the server encounters an exception during the initialization phase.
The default is false, which means the behavior from today remains unchanged.

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

16 years agoWhen adding a logger, its better to always add the parent loggers, all the way up...
fhanik [Tue, 10 Mar 2009 18:53:27 +0000 (18:53 +0000)]
When adding a logger, its better to always add the parent loggers, all the way up the chain.
The cost of this is relatively small, since the number of packages compared to classes is relatively small.
This feature allows extensions of the JULI framework to change log categories during run time, as opposed to changing them for every single logger in a category

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

16 years ago- Add xiph mime types, after reading a blog.
remm [Tue, 10 Mar 2009 12:10:20 +0000 (12:10 +0000)]
- Add xiph mime types, after reading a blog.

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

16 years agoFix infinite loop.
markt [Tue, 10 Mar 2009 11:41:58 +0000 (11:41 +0000)]
Fix infinite loop.

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

16 years agoMake a distinction between AM/PM by using the 24 hour format
fhanik [Mon, 9 Mar 2009 20:10:10 +0000 (20:10 +0000)]
Make a distinction between AM/PM by using the 24 hour format

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

16 years agoExperiment with enabling per context configuration of xml valiadation for web.xml...
markt [Sun, 8 Mar 2009 19:14:45 +0000 (19:14 +0000)]
Experiment with enabling per context configuration of xml valiadation for web.xml and tld files.
Should make fixing tld validation (which I can't get to work right now) easier.

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

16 years agoTomcat uses Platform MBean server. Adjust listener accordingly.
markt [Sun, 8 Mar 2009 18:46:51 +0000 (18:46 +0000)]
Tomcat uses Platform MBean server. Adjust listener accordingly.

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

16 years agoRevert previous commit. Plan to rework valve so this hack isn't required
markt [Sun, 8 Mar 2009 09:40:22 +0000 (09:40 +0000)]
Revert previous commit. Plan to rework valve so this hack isn't required

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

16 years agoFix Eclipse warnings in this package
markt [Sat, 7 Mar 2009 20:39:58 +0000 (20:39 +0000)]
Fix Eclipse warnings in this package

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

16 years agoClear a bunch of generics warnings in Eclipse
markt [Sat, 7 Mar 2009 19:55:10 +0000 (19:55 +0000)]
Clear a bunch of generics warnings in Eclipse

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

16 years agoSome generics fixes
markt [Sat, 7 Mar 2009 19:50:34 +0000 (19:50 +0000)]
Some generics fixes

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

16 years agoAllow the AddDefaultCharsetValve to be effective when a writer is used
markt [Sat, 7 Mar 2009 19:42:09 +0000 (19:42 +0000)]
Allow the AddDefaultCharsetValve to be effective when a writer is used

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