tomcat7.0
16 years agoAnother unused method
markt [Thu, 23 Apr 2009 17:02:02 +0000 (17:02 +0000)]
Another unused method

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

16 years agoRemove unused / deprecated code
markt [Thu, 23 Apr 2009 16:59:25 +0000 (16:59 +0000)]
Remove unused / deprecated code

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

16 years agoAdd c3p0 as a comparison in the fairness test
fhanik [Thu, 23 Apr 2009 16:40:28 +0000 (16:40 +0000)]
Add c3p0 as a comparison in the fairness test

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

16 years agoDequeu is a Java 6 API
fhanik [Thu, 23 Apr 2009 16:33:16 +0000 (16:33 +0000)]
Dequeu is a Java 6 API

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

16 years agoUpdate for April draft of servlet spec. Some 3.0 stuff that was complete will need...
markt [Thu, 23 Apr 2009 16:14:59 +0000 (16:14 +0000)]
Update for April draft of servlet spec. Some 3.0 stuff that was complete will need to be re-done

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

16 years agoAdded in c3p0 to the performance tests, it doesn't even perform as well as DBCP,...
fhanik [Thu, 23 Apr 2009 16:02:32 +0000 (16:02 +0000)]
Added in c3p0 to the performance tests, it doesn't even perform as well as DBCP, which is contradictory to what the internet is claiming

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

16 years agoConfigure fair queue by default, its faster.
fhanik [Thu, 23 Apr 2009 14:40:16 +0000 (14:40 +0000)]
Configure fair queue by default, its faster.
Implement logic around when/how connections are treated as abandoned.
First one is by pool utilization, abandonWhenPercentageFull, the second one is to add a ResetAbandonTimer interceptor, so when successful invokations take place on the connection, it resets the time

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

16 years agoAllow the factory attribute on the ResourceLink element.
fhanik [Tue, 21 Apr 2009 17:03:12 +0000 (17:03 +0000)]
Allow the factory attribute on the ResourceLink element.
Make sure that ResourceBase properties are transferred to the ResourceLinkRef

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

16 years agoAdd dependency to tomcat 7 now
fhanik [Tue, 21 Apr 2009 01:15:15 +0000 (01:15 +0000)]
Add dependency to tomcat 7 now

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

16 years agonot sure what went wrong, my SVN is going ape #!$
fhanik [Tue, 21 Apr 2009 01:14:36 +0000 (01:14 +0000)]
not sure what went wrong, my SVN is going ape #!$

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

16 years agoThe fair queue outperforms the j.u.c blocking queue implementation. lets use our...
fhanik [Tue, 21 Apr 2009 00:25:11 +0000 (00:25 +0000)]
The fair queue outperforms the j.u.c blocking queue implementation. lets use our impl as default

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

16 years agonarrow down the interface for extension purposes
fhanik [Mon, 20 Apr 2009 23:25:51 +0000 (23:25 +0000)]
narrow down the interface for extension purposes

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

16 years agoAdd source to the path of dbcp, and remove the module paths from the main project
fhanik [Mon, 20 Apr 2009 22:59:55 +0000 (22:59 +0000)]
Add source to the path of dbcp, and remove the module paths from the main project

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

16 years agofix typo
fhanik [Mon, 20 Apr 2009 22:57:44 +0000 (22:57 +0000)]
fix typo

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

16 years agoRan Native2ascii over i18n files
markt [Mon, 20 Apr 2009 11:39:22 +0000 (11:39 +0000)]
Ran Native2ascii over i18n files
Fixes to French files - Spot checks only

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

16 years agoRan Native2ascii over i18n files
markt [Mon, 20 Apr 2009 11:33:41 +0000 (11:33 +0000)]
Ran Native2ascii over i18n files
Fixes to German files

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

16 years agoRan Native2ascii over i18n files
markt [Mon, 20 Apr 2009 11:31:51 +0000 (11:31 +0000)]
Ran Native2ascii over i18n files
Fixes to Spanish files - checked by hand in full

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

16 years agoRan Native2ascii over i18n files
markt [Mon, 20 Apr 2009 11:27:11 +0000 (11:27 +0000)]
Ran Native2ascii over i18n files
It makes sure files end with new line

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

16 years agoAllow pluggable property replacement object
fhanik [Sun, 19 Apr 2009 22:00:51 +0000 (22:00 +0000)]
Allow pluggable property replacement object

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

16 years agoUpdate Servlet 3.0 classes to spec snapshot as of early March 2009. Still not final.
markt [Fri, 17 Apr 2009 16:30:56 +0000 (16:30 +0000)]
Update Servlet 3.0 classes to spec snapshot as of early March 2009. Still not final.

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

16 years agoRemove code that was marked for removal in r300602
markt [Fri, 17 Apr 2009 08:50:50 +0000 (08:50 +0000)]
Remove code that was  marked for removal in r300602

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

16 years agoRevert r765727 (fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=46538...
markt [Fri, 17 Apr 2009 08:43:34 +0000 (08:43 +0000)]
Revert r765727 (fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=46538) - it fixes the reported issue but introduces other issues.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46538
markt [Thu, 16 Apr 2009 19:31:57 +0000 (19:31 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46538
ETag must vary between compressed and uncompressed versions.
Based on a patch by Oliver Schoett

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

16 years agoDrop unused fields
markt [Thu, 16 Apr 2009 17:28:48 +0000 (17:28 +0000)]
Drop unused fields

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=37929 by restoring r357410...
markt [Thu, 16 Apr 2009 15:16:43 +0000 (15:16 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=37929 by restoring r357410 that was lost in r379417

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

16 years agoClean up some deprecated code
markt [Thu, 16 Apr 2009 14:57:40 +0000 (14:57 +0000)]
Clean up some deprecated code

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

16 years agoFix formatting before I make some other changes
markt [Thu, 16 Apr 2009 14:52:07 +0000 (14:52 +0000)]
Fix formatting before I make some other changes

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

16 years agoRemove unnecessary tests
markt [Thu, 16 Apr 2009 10:08:39 +0000 (10:08 +0000)]
Remove unnecessary tests

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

16 years agoRemove unused method that introduced an additional parameter that was then ignored.
markt [Thu, 16 Apr 2009 10:07:07 +0000 (10:07 +0000)]
Remove unused method that introduced an additional parameter that was then ignored.

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

16 years agoTypo. Why do I always spot them just after committing a change?
markt [Wed, 15 Apr 2009 22:45:40 +0000 (22:45 +0000)]
Typo. Why do I always spot them just after committing a change?

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

16 years agoAs a result of https://issues.apache.org/bugzilla/show_bug.cgi?id=46924 make the...
markt [Wed, 15 Apr 2009 22:44:49 +0000 (22:44 +0000)]
As a result of https://issues.apache.org/bugzilla/show_bug.cgi?id=46924 make the documentation clearer about what Tomcat will do if a WAR/DIR/context file is deleted or updated and auto-deploy is enabled.

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

16 years agoRemove unnecessary code
markt [Wed, 15 Apr 2009 12:26:25 +0000 (12:26 +0000)]
Remove unnecessary code

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

16 years agoWhen using the fair queue, use a much more efficient idle connection handling by...
fhanik [Wed, 15 Apr 2009 05:44:43 +0000 (05:44 +0000)]
When using the fair queue, use a much more efficient idle connection handling by using a FILO queue
so that connections are reused properly

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

16 years agoJMX needs to be handled a bit differently. Random object names are not all that great.
fhanik [Wed, 15 Apr 2009 04:58:06 +0000 (04:58 +0000)]
JMX needs to be handled a bit differently. Random object names are not all that great.
In this way, one can control the JMX registration completely from the outside.

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

16 years agoFix stupid error
markt [Tue, 14 Apr 2009 23:19:06 +0000 (23:19 +0000)]
Fix stupid error

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

16 years agoFix secondary issue reported as part of bug47013
markt [Tue, 14 Apr 2009 22:16:53 +0000 (22:16 +0000)]
Fix secondary issue reported as part of bug47013

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

16 years agoCode clean up prompted by Eclipse:
markt [Tue, 14 Apr 2009 17:46:23 +0000 (17:46 +0000)]
Code clean up prompted by Eclipse:
 - mark unused parameters as unused
 - remove code that doesn't do anything

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

16 years agoAdd a TODO to review the synchronisation around background processing
markt [Tue, 14 Apr 2009 17:13:16 +0000 (17:13 +0000)]
Add a TODO to review the synchronisation around background processing

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

16 years agoOops it will loop without that...
jfclere [Tue, 14 Apr 2009 11:18:54 +0000 (11:18 +0000)]
Oops it will loop without that...

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

16 years agoAdd default tomcat pool JMX descriptions
fhanik [Tue, 14 Apr 2009 02:28:50 +0000 (02:28 +0000)]
Add default tomcat pool JMX descriptions

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

16 years agoAdd the Tcp code... Still need the code in httpd-trunk to test it.
jfclere [Thu, 9 Apr 2009 16:32:04 +0000 (16:32 +0000)]
Add the Tcp code... Still need the code in httpd-trunk to test it.

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

16 years agoDrop some unused methods
markt [Thu, 9 Apr 2009 16:20:23 +0000 (16:20 +0000)]
Drop some unused methods

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=42390
markt [Thu, 9 Apr 2009 16:13:00 +0000 (16:13 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42390
Correct JSP compilation error with nested tagfile tags with variables with "AT_BEGIN" scope
Patch provided by Konstantin Kolinko

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=42579
markt [Thu, 9 Apr 2009 15:45:30 +0000 (15:45 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42579
Handle both relative and absolute search results
Patch provided by Brandon DuRette

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46354
markt [Thu, 9 Apr 2009 15:11:46 +0000 (15:11 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46354
ArrayIndexOutOfBoundsException when using org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true
Pathc provided by Konstantin Kolinko

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46984
markt [Thu, 9 Apr 2009 13:54:05 +0000 (13:54 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46984
CR & LF in middle of method name should cause a 400
So client sees 400, stop processing the request once we know it is bad

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

16 years agoMove the multi logic to MultiCastSender with
jfclere [Thu, 9 Apr 2009 13:00:21 +0000 (13:00 +0000)]
Move the multi logic to MultiCastSender with
the idea to TCP sockets and a list of proxy too.

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

16 years agoRemove accidental whitespace
markt [Thu, 9 Apr 2009 12:55:49 +0000 (12:55 +0000)]
Remove accidental whitespace

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46961
markt [Thu, 9 Apr 2009 12:54:09 +0000 (12:54 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46961
Avoid tripping over http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46909
markt [Thu, 9 Apr 2009 11:46:13 +0000 (11:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46909
The ';' should really only be used if there is a following parameter

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

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