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

16 years agoAdd AddDefaultCharSetValve
markt [Sat, 7 Mar 2009 18:45:53 +0000 (18:45 +0000)]
Add AddDefaultCharSetValve

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

16 years agoRemove jk jni code from Tomcat 7. It is deprecated in mod_jk and will almost certainl...
markt [Sat, 7 Mar 2009 18:32:40 +0000 (18:32 +0000)]
Remove jk jni code from Tomcat 7. It is deprecated in mod_jk and will almost certainly have been rmeoved by the time 7.0.x has a stable release.
Shout if I deleted something I shouldn't have.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46816
markt [Sat, 7 Mar 2009 16:54:46 +0000 (16:54 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46816
Align mbean descriptor attributes with implementations

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

16 years agoMake UserDatabase read only by default and log an error if someone tries to save...
markt [Sat, 7 Mar 2009 16:28:46 +0000 (16:28 +0000)]
Make UserDatabase read only by default and log an error if someone tries to save changes.

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

16 years agoFix remainder of https://issues.apache.org/bugzilla/show_bug.cgi?id=46807
markt [Sat, 7 Mar 2009 16:08:41 +0000 (16:08 +0000)]
Fix remainder of https://issues.apache.org/bugzilla/show_bug.cgi?id=46807
Make it clear that enablePooling is a compilation, not a runtime option.

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

16 years agoPartial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=46807
markt [Sat, 7 Mar 2009 16:00:22 +0000 (16:00 +0000)]
Partial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=46807
Correctly document org.apache.japser.runtime.JspFactoryImpl.USE_POOL

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

16 years agoFix svn keywords
markt [Fri, 6 Mar 2009 17:28:47 +0000 (17:28 +0000)]
Fix svn keywords

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

16 years agoFix XSS in examples web application.
markt [Fri, 6 Mar 2009 14:46:47 +0000 (14:46 +0000)]
Fix XSS in examples web application.
This is CVE-2009-0781.
Security page updates and formal announcement to follow.

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

16 years agoSplit LOGGING_CONFIG into two options, LOGGING_CONFIG which points to the file, LOGGI...
fhanik [Thu, 5 Mar 2009 02:13:46 +0000 (02:13 +0000)]
Split LOGGING_CONFIG into two options, LOGGING_CONFIG which points to the file, LOGGING_MANAGER which sets the log manager
This makes it much easier to handle directories with spaces

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

16 years agoMake LOGGING_CONFIG a variable that you can set, just like all the other script variables
fhanik [Thu, 5 Mar 2009 00:35:23 +0000 (00:35 +0000)]
Make LOGGING_CONFIG a variable that you can set, just like all the other script variables

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

16 years agoMake the useHttpOnly a Context attribute
fhanik [Thu, 5 Mar 2009 00:34:29 +0000 (00:34 +0000)]
Make the useHttpOnly a Context attribute

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

16 years agoUpdate docs to reflect changes for bug 44988
markt [Tue, 3 Mar 2009 22:20:16 +0000 (22:20 +0000)]
Update docs to reflect changes for bug 44988

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

16 years agoDocument undocumented valve
markt [Thu, 26 Feb 2009 23:06:24 +0000 (23:06 +0000)]
Document undocumented valve

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

16 years agoFix broken metadata-complete element
markt [Wed, 25 Feb 2009 17:11:24 +0000 (17:11 +0000)]
Fix broken metadata-complete element

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

16 years agoFix possible NPE
markt [Wed, 25 Feb 2009 15:46:46 +0000 (15:46 +0000)]
Fix possible NPE

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

16 years agoFix various Eclipse warnings.
markt [Mon, 23 Feb 2009 14:56:19 +0000 (14:56 +0000)]
Fix various Eclipse warnings.

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

16 years agoAdd directory for tomcat-lite.
costin [Sun, 22 Feb 2009 18:36:33 +0000 (18:36 +0000)]
Add directory for tomcat-lite.

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

16 years agoRemove unused code.
markt [Sat, 21 Feb 2009 12:00:00 +0000 (12:00 +0000)]
Remove unused code.
Deprecate NOOP method

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

16 years agoAddress Bill's security concerns in previous patch to get TCK to pass under a securit...
markt [Sat, 21 Feb 2009 00:44:33 +0000 (00:44 +0000)]
Address Bill's security concerns in previous patch to get TCK to pass under a security manager.
TCK passes after this patch with and without security manager.

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

16 years agoEngage brain rather than mindless copying.
markt [Sat, 21 Feb 2009 00:41:05 +0000 (00:41 +0000)]
Engage brain rather than mindless copying.

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

16 years agoDoc updated - ported form tc6.0.x
markt [Fri, 20 Feb 2009 23:15:52 +0000 (23:15 +0000)]
Doc updated - ported form tc6.0.x

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

16 years agoUpdate Eclipse files.
markt [Fri, 20 Feb 2009 22:52:15 +0000 (22:52 +0000)]
Update Eclipse files.
Stop trying to keep license info. Eclipse keeps re-writing the files without.

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

16 years agoMore typos
markt [Fri, 20 Feb 2009 22:10:41 +0000 (22:10 +0000)]
More typos

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

16 years agoFix spelling
markt [Fri, 20 Feb 2009 18:17:29 +0000 (18:17 +0000)]
Fix spelling

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

16 years agoChange to ThreadLocal to prevent potential sync bottleneck on cookie creation
markt [Fri, 13 Feb 2009 20:46:22 +0000 (20:46 +0000)]
Change to ThreadLocal to prevent potential sync bottleneck on cookie creation

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

16 years agoDocumentation
fhanik [Fri, 13 Feb 2009 16:44:35 +0000 (16:44 +0000)]
Documentation

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46666
markt [Fri, 13 Feb 2009 16:17:54 +0000 (16:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46666
keepAliveTimeout should always be used regardless of setting of disableUploadTimeout

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46696
markt [Thu, 12 Feb 2009 14:34:26 +0000 (14:34 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46696
Add missing license headers

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46695
markt [Thu, 12 Feb 2009 11:44:37 +0000 (11:44 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46695
Patch provided by sebb

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46683
markt [Thu, 12 Feb 2009 11:35:11 +0000 (11:35 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46683
Correct typo in filename

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

16 years agoPort r742915 to trunk.
markt [Wed, 11 Feb 2009 20:42:27 +0000 (20:42 +0000)]
Port r742915 to trunk.
Make sure the 400 is returned to the browser. (like other connectors).

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

16 years ago- Fix apparent bad cut & paste from the HTTP connector for parseHost, and use the...
remm [Tue, 10 Feb 2009 13:33:58 +0000 (13:33 +0000)]
- Fix apparent bad cut & paste from the HTTP connector for parseHost, and use the code from the org.apache.jk connector instead.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=39396
markt [Mon, 9 Feb 2009 20:13:14 +0000 (20:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39396
Exclude TRACE in OPTIONS response by default. Include it where we know it is enabled.

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

16 years agoRevert previous patch. It won't work.
markt [Mon, 9 Feb 2009 20:06:07 +0000 (20:06 +0000)]
Revert previous patch. It won't work.

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

16 years agoOnly perform validation test when allowLinking is enabled
markt [Mon, 9 Feb 2009 20:00:01 +0000 (20:00 +0000)]
Only perform validation test when allowLinking is enabled

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

16 years agoCorrect typo
markt [Mon, 9 Feb 2009 19:56:44 +0000 (19:56 +0000)]
Correct typo

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

16 years agoFix various Eclipse warnings.
markt [Mon, 9 Feb 2009 19:55:29 +0000 (19:55 +0000)]
Fix various Eclipse warnings.
Convert tabs to spaces.

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

16 years agoFix various Eclipse warnings.
markt [Mon, 9 Feb 2009 19:53:28 +0000 (19:53 +0000)]
Fix various Eclipse warnings.
Convert tabs to spaces.

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

16 years agoFix various Eclipse warnings.
markt [Mon, 9 Feb 2009 19:51:30 +0000 (19:51 +0000)]
Fix various Eclipse warnings.
Convert tabs to spaces.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=39013
markt [Mon, 9 Feb 2009 19:39:40 +0000 (19:39 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39013
When testing for invalid docBase, test for an exact match with the appBase dir

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=38570
markt [Mon, 9 Feb 2009 19:05:44 +0000 (19:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=38570
When checking docBase against appBase, make sure we check for an exact match against the appBase

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

16 years agoMake sure thread starvation doesn't exist during reclamation of connections
fhanik [Fri, 6 Feb 2009 21:49:36 +0000 (21:49 +0000)]
Make sure thread starvation doesn't exist during reclamation of connections

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

16 years agoRemove serialization from Container. Old experiment that didn't work.
markt [Wed, 4 Feb 2009 11:44:00 +0000 (11:44 +0000)]
Remove serialization from Container. Old experiment that didn't work.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=38553
markt [Wed, 4 Feb 2009 10:43:10 +0000 (10:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=38553
A lack of certs is normal if the user doesn't have a trusted cert. Return 401, not 400 in this case.

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