tomcat7.0
16 years agoOpps. Shouldn't have renamed this.
markt [Mon, 15 Jun 2009 16:30:40 +0000 (16:30 +0000)]
Opps. Shouldn't have renamed this.

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

16 years agoOpps. Shouldn't have renamed this.
markt [Mon, 15 Jun 2009 16:23:19 +0000 (16:23 +0000)]
Opps. Shouldn't have renamed this.

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

16 years agoPartly address bug 47124: Name unit tests consistently.
markt [Mon, 15 Jun 2009 16:21:22 +0000 (16:21 +0000)]
Partly address bug 47124: Name unit tests consistently.
All JUnit test cases are named Test*. There was at least one class named Test* that was not a JUnit test case. These were renamed *Test.
Helper / stub implementations are named Tester*

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

16 years agoRemove some unused Jasper code.
markt [Mon, 15 Jun 2009 16:07:20 +0000 (16:07 +0000)]
Remove some unused Jasper code.

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

16 years agoAlign programmatic web.xml defaults with conf/web.xml
markt [Mon, 15 Jun 2009 15:13:22 +0000 (15:13 +0000)]
Align programmatic web.xml defaults with conf/web.xml
Don't set anything that is already set by default
Switch to a context listener for the defaults so they get applied on re-load

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

16 years agoRemove more unused, deprecated code in Jasper
markt [Mon, 15 Jun 2009 13:05:38 +0000 (13:05 +0000)]
Remove more unused, deprecated code in Jasper

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

16 years agoRemove unused, deprecated code in Jasper
markt [Mon, 15 Jun 2009 13:04:18 +0000 (13:04 +0000)]
Remove unused, deprecated code in Jasper

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

16 years agoRemove deprecated Ant tasks
markt [Mon, 15 Jun 2009 12:31:54 +0000 (12:31 +0000)]
Remove deprecated Ant tasks

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

16 years agofix misprints in comments and javadoc
kkolinko [Sun, 14 Jun 2009 20:26:27 +0000 (20:26 +0000)]
fix misprints in comments and javadoc

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

16 years agoDo not increment access counter.
kkolinko [Sun, 14 Jun 2009 18:50:59 +0000 (18:50 +0000)]
Do not increment access counter.
The valve updates access time, but it should not increment access counter without decrementing it.

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

16 years agoRemove case insensitivity option. It was a workaround for a change in Tomcat 3 and...
markt [Sat, 13 Jun 2009 19:19:18 +0000 (19:19 +0000)]
Remove case insensitivity option. It was a workaround for a change in Tomcat 3 and has security implications if used on case insensitive file systems.

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

16 years agoEnhancements to fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=43343...
markt [Sat, 13 Jun 2009 19:05:56 +0000 (19:05 +0000)]
Enhancements to fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=43343 based on kkolinko's review

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

16 years agoMore error checking
markt [Fri, 12 Jun 2009 16:45:34 +0000 (16:45 +0000)]
More error checking

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

16 years agoFix typo. Add aliases to changelog
markt [Fri, 12 Jun 2009 16:45:10 +0000 (16:45 +0000)]
Fix typo. Add aliases to changelog

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

16 years agoImplement alias resources. Key features:
markt [Fri, 12 Jun 2009 11:38:29 +0000 (11:38 +0000)]
Implement alias resources. Key features:
- configured at the context level in the same way as the other resource related attributes
- maps paths to directories or WAR files (single files not supported)

Implementation notes:
- Correct results for getRealPath() required this to be pushed down to the BaseDirContext as the short-cuts previously used needed to take account of any aliases. This in turn meant an addition to the Context interface
- Thanks to Tim F. The configuration format is all his idea

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

16 years agoCode clean-up.
markt [Fri, 12 Jun 2009 11:13:36 +0000 (11:13 +0000)]
Code clean-up.

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

16 years agoCode clean-up.
markt [Fri, 12 Jun 2009 11:11:57 +0000 (11:11 +0000)]
Code clean-up.

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

16 years agoCode clean-up. Fix a few warnings.
markt [Fri, 12 Jun 2009 11:10:02 +0000 (11:10 +0000)]
Code clean-up. Fix a few warnings.

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

16 years agoRemove unused code
markt [Fri, 12 Jun 2009 10:58:15 +0000 (10:58 +0000)]
Remove unused code

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

16 years agoFix typo in the docs.
markt [Thu, 11 Jun 2009 22:41:53 +0000 (22:41 +0000)]
Fix typo in the docs.

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

16 years agoThere are no 64-bit GUI binaries. (see rev.779927,-28,-30)
kkolinko [Thu, 11 Jun 2009 21:53:34 +0000 (21:53 +0000)]
There are no 64-bit GUI binaries. (see rev.779927,-28,-30)
The 32-bit version can manage both 32 and 64 bit tomcat(X).exe
Updating the build scripts accordingly.

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

16 years agoRemove some experimental code
markt [Thu, 11 Jun 2009 20:23:37 +0000 (20:23 +0000)]
Remove some experimental code

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

16 years agoProvide documentation for deployer.
kkolinko [Thu, 11 Jun 2009 17:51:08 +0000 (17:51 +0000)]
Provide documentation for deployer.

We do not have "printer" versions of our documentation pages anymore,
so I am using the common version.
Also, I removed "failonerror=false" flag, and removed renaming of the document. I see no point in renaming it. It was moved to the root folder, to remain relative to the images.

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

16 years agoThis was moved to the context
markt [Thu, 11 Jun 2009 16:43:37 +0000 (16:43 +0000)]
This was moved to the context

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

16 years agoDocument emptySessionPath behavior
fhanik [Thu, 11 Jun 2009 16:37:20 +0000 (16:37 +0000)]
Document emptySessionPath behavior

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

16 years agoExperiment with the UCDetector (Unused Code Detector) plug-in for Eclipse.
markt [Thu, 11 Jun 2009 14:16:49 +0000 (14:16 +0000)]
Experiment with the UCDetector (Unused Code Detector) plug-in for Eclipse.
Remove all the code from the class that isn't used anywhere in Tomcat.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47343
markt [Thu, 11 Jun 2009 13:48:42 +0000 (13:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47343
Regression in https://issues.apache.org/bugzilla/show_bug.cgi?id=42747
context.xml can now be edited without resources being deleted

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

16 years agoFix download task dependency for commons-pool and commons-dbcp.
kkolinko [Thu, 11 Jun 2009 13:35:20 +0000 (13:35 +0000)]
Fix download task dependency for commons-pool and commons-dbcp.

Without this patch the 'ant download' call does not download
the updated commons-pool or commons-dbcp version,
like the recent update of commons-pool 1.4 -> 1.5,
unless you delete existing ${tomcat-dbcp.jar} file before that.

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

16 years agoLog context deployment consistently at info level, regardless of war/dir/xml
markt [Thu, 11 Jun 2009 13:13:09 +0000 (13:13 +0000)]
Log context deployment consistently at info level, regardless of war/dir/xml

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

16 years agoProvide a little more information in the logs when parameters are invalid. Speeds...
markt [Thu, 11 Jun 2009 11:37:17 +0000 (11:37 +0000)]
Provide a little more information in the logs when parameters are invalid. Speeds up the process of tracking down the broken request in the access log. Don't show the stack trace unless debug is enabled.

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

16 years agoUpdate commons pool to 1.5. Pool 1.5 fixes a number of concurrency bugs and introduce...
markt [Thu, 11 Jun 2009 08:50:00 +0000 (08:50 +0000)]
Update commons pool to 1.5. Pool 1.5 fixes a number of concurrency bugs and introduces fair allocation so the first thread to ask for an object from the pool is the first thread to get it.

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

16 years agoDBCP no longer requires commons-collections. Removed used lib from build.
markt [Thu, 11 Jun 2009 08:48:17 +0000 (08:48 +0000)]
DBCP no longer requires commons-collections. Removed used lib from build.

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

16 years agoAdd the executor to be part of the JMX output
fhanik [Wed, 10 Jun 2009 19:56:29 +0000 (19:56 +0000)]
Add the executor to be part of the JMX output

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

16 years agoRevert my previously not so clever implementation.
fhanik [Wed, 10 Jun 2009 19:40:31 +0000 (19:40 +0000)]
Revert my previously not so clever implementation.
If there is an executor being used, then one shall expect that the executor is reporting the numbers of threads itself, and it should no longer be the responsibility of the connector

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

16 years agoBetter fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47318
markt [Wed, 10 Jun 2009 12:31:29 +0000 (12:31 +0000)]
Better fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47318
Process include preludes and codas for top level JSP pages only

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

16 years agoRevert r782166 as it introduced a regression of its own.
markt [Wed, 10 Jun 2009 12:15:42 +0000 (12:15 +0000)]
Revert r782166 as it introduced a regression of its own.

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

16 years agoAs per kkolinko's comment - remove old comment
markt [Wed, 10 Jun 2009 11:53:14 +0000 (11:53 +0000)]
As per kkolinko's comment - remove old comment

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

16 years agoRestore correct mime-type for MS Word
markt [Wed, 10 Jun 2009 11:33:55 +0000 (11:33 +0000)]
Restore correct mime-type for MS Word

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

16 years agoPut a short timeout on the unlock accept
fhanik [Tue, 9 Jun 2009 22:28:00 +0000 (22:28 +0000)]
Put a short timeout on the unlock accept

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47237
fhanik [Tue, 9 Jun 2009 22:14:55 +0000 (22:14 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47237
There is no need to associate the Http11NioProcessor with a socket in between requests unless there is a comet.

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

16 years agoTake into account that executors can be provided, standard and non standard thread...
fhanik [Tue, 9 Jun 2009 18:58:25 +0000 (18:58 +0000)]
Take into account that executors can be provided, standard and non standard thread pool executors through config or programmatically.
Hence we want to expose the correct values for curThread and curThreadBusy

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

16 years agoRevert http://svn.apache.org/viewvc?view=rev&revision=763566
fhanik [Tue, 9 Jun 2009 18:51:07 +0000 (18:51 +0000)]
Revert svn.apache.org/viewvc?view=rev&revision=763566
The code is not the same as it was before. The patch applied, while it looks the same will grow the pool the max threads even though it doesn't need to

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

16 years agoUse a more sensible default.
markt [Mon, 8 Jun 2009 21:29:27 +0000 (21:29 +0000)]
Use a more sensible default.
Patch suggested by Ian Darwin.

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

16 years agoRemove a deprecated method
markt [Mon, 8 Jun 2009 20:25:34 +0000 (20:25 +0000)]
Remove a deprecated method

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

16 years agoCreate for bash
fhanik [Mon, 8 Jun 2009 19:53:39 +0000 (19:53 +0000)]
Create for bash

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

16 years agologin -> authenticate
markt [Sat, 6 Jun 2009 12:54:28 +0000 (12:54 +0000)]
login -> authenticate

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

16 years agoAdd default
markt [Sat, 6 Jun 2009 12:50:53 +0000 (12:50 +0000)]
Add default

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

16 years agoUpdate types
markt [Sat, 6 Jun 2009 12:50:28 +0000 (12:50 +0000)]
Update types

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

16 years agoFix copy and paste error
markt [Sat, 6 Jun 2009 12:49:52 +0000 (12:49 +0000)]
Fix copy and paste error

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

16 years agoCosmetic changes
markt [Sat, 6 Jun 2009 12:49:12 +0000 (12:49 +0000)]
Cosmetic changes
 - make since tags consistent
 - Add TODOs were required
 - Fix copy and paste errors in javadoc

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47318
markt [Fri, 5 Jun 2009 23:35:14 +0000 (23:35 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47318
Process include preludes and codas when processing directives and whole pages.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47299
markt [Fri, 5 Jun 2009 21:38:44 +0000 (21:38 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47299
Simplify fireContainerEvent method and enable it to work with implementations that extend StandardContext.
See http://svn.apache.org/viewvc?view=rev&revision=287710 for why it was written this way originally.

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

16 years agoDifferentiate between APR having been initialised and being available. Changes the...
markt [Fri, 5 Jun 2009 14:42:43 +0000 (14:42 +0000)]
Differentiate between APR having been initialised and being available. Changes the meaning of aprInitialized so will not propose for back port.

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

16 years agoFix the logic for the min version tests
markt [Fri, 5 Jun 2009 13:47:50 +0000 (13:47 +0000)]
Fix the logic for the min version tests

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

16 years agoAllow trunk to work with native trunk (1.2.x) and the 1.1.x branch.
markt [Fri, 5 Jun 2009 13:17:28 +0000 (13:17 +0000)]
Allow trunk to work with native trunk (1.2.x) and the 1.1.x branch.
Update recommended version to latest.
Note minor version number changes are meant to be binary compatible with previous versions.

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

16 years agoFix wording on version warning message
markt [Fri, 5 Jun 2009 13:11:42 +0000 (13:11 +0000)]
Fix wording on version warning message

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

16 years agoSimplify logging.
markt [Fri, 5 Jun 2009 13:04:27 +0000 (13:04 +0000)]
Simplify logging.

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

16 years agoDon't try an init APR in the connector. Let the listener do it. Prevents unexpected...
markt [Fri, 5 Jun 2009 12:45:13 +0000 (12:45 +0000)]
Don't try an init APR in the connector. Let the listener do it. Prevents unexpected enabling of APR just because the DLL is present.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47158
markt [Thu, 4 Jun 2009 15:36:07 +0000 (15:36 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47158
Thread safety issues

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

16 years agoOrder mime-mappings alphabetically. Makes finding dups a lot easier.
markt [Wed, 3 Jun 2009 20:09:42 +0000 (20:09 +0000)]
Order mime-mappings alphabetically. Makes finding dups a lot easier.
Remove older of ms dups were present.

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

16 years agoConsolidate directory creation from doing it in multiple places with no indication...
fhanik [Tue, 2 Jun 2009 14:04:42 +0000 (14:04 +0000)]
Consolidate directory creation from doing it in multiple places with no indication of failure and only for xmlBase to create directories during the startup phase for both appBase and xmlBase

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

16 years agoUpdate to 2.0.5 tag and remove 64-bit GUI binaries
mturk [Fri, 29 May 2009 11:04:52 +0000 (11:04 +0000)]
Update to 2.0.5 tag and remove 64-bit GUI binaries

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

16 years agoFix bz41564 by adding /user option to service.bat which respawns the service.bat
mturk [Wed, 27 May 2009 08:19:13 +0000 (08:19 +0000)]
Fix bz41564 by adding /user option to service.bat which respawns the service.bat
using runas command. This pops-up a new window with elevated security on Vista+

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

16 years agoRemove a few lines of redundant code
markt [Tue, 26 May 2009 16:08:26 +0000 (16:08 +0000)]
Remove a few lines of redundant code

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

16 years agoFix case B in bug 43343. Don't try to swap out a session that is being accessed.
markt [Mon, 25 May 2009 22:32:57 +0000 (22:32 +0000)]
Fix case B in bug 43343. Don't try to swap out a session that is being accessed.

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

16 years agoStop access count going negative when session is swapped in. This fix is required...
markt [Mon, 25 May 2009 22:26:34 +0000 (22:26 +0000)]
Stop access count going negative when session is swapped in. This fix is required for the fix for bug 43343.

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

16 years agoReduce visibility of parseHost as discussed as a side issue to bug 47216.
markt [Mon, 25 May 2009 11:00:23 +0000 (11:00 +0000)]
Reduce visibility of parseHost as discussed as a side issue to bug 47216.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47228
markt [Mon, 25 May 2009 10:26:22 +0000 (10:26 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47228
Correct French spellings.
Patch provided by Sebb. (Trusting that his French is a lot better than mine)

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47235
markt [Mon, 25 May 2009 10:18:13 +0000 (10:18 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47235
Remove use of auto-reconnect flag from MySQL examples

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

16 years agoRemove ServerFactory class
markt [Sun, 24 May 2009 18:49:19 +0000 (18:49 +0000)]
Remove ServerFactory class

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

16 years agoRemove unused import
markt [Sun, 24 May 2009 18:48:52 +0000 (18:48 +0000)]
Remove unused import

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

16 years agoRemove last reference to ServerFactory
markt [Sun, 24 May 2009 18:47:55 +0000 (18:47 +0000)]
Remove last reference to ServerFactory

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

16 years agoClean up imports
markt [Sun, 24 May 2009 18:46:02 +0000 (18:46 +0000)]
Clean up imports

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

16 years agoDoh. Commit complete patch to remove ServerFactory rather than previous half-finished...
markt [Sun, 24 May 2009 18:45:24 +0000 (18:45 +0000)]
Doh. Commit complete patch to remove ServerFactory rather than previous half-finished version.

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

16 years agoSome more ServerFactory removal.
markt [Sun, 24 May 2009 18:39:52 +0000 (18:39 +0000)]
Some more ServerFactory removal.

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

16 years agoRemove unused methods, and with them a few more references to ServerFactory
markt [Sun, 24 May 2009 17:54:19 +0000 (17:54 +0000)]
Remove unused methods, and with them a few more references to ServerFactory

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

16 years agoYet more ServerFactory removal. Make exception handling consistent.
markt [Sun, 24 May 2009 17:48:27 +0000 (17:48 +0000)]
Yet more ServerFactory removal. Make exception handling consistent.

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

16 years agoMore ServerFactory removal
markt [Sun, 24 May 2009 17:35:07 +0000 (17:35 +0000)]
More ServerFactory removal

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

16 years agoRemove another ServerFactory reference
markt [Sun, 24 May 2009 17:32:49 +0000 (17:32 +0000)]
Remove another ServerFactory reference

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

16 years agoRemove another reference to the ServerFactory singleton.
markt [Sun, 24 May 2009 17:11:25 +0000 (17:11 +0000)]
Remove another reference to the ServerFactory singleton.
Remove unused engine attribute.

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

16 years agoRemove some unused code. Tested the basics and all seems OK.
markt [Sat, 23 May 2009 19:05:31 +0000 (19:05 +0000)]
Remove some unused code. Tested the basics and all seems OK.

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

16 years agoFix copyright. Patch by kkolinko.
markt [Fri, 22 May 2009 17:27:37 +0000 (17:27 +0000)]
Fix copyright. Patch by kkolinko.

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

16 years agoRevert patch for 42390. More tetsing required.
markt [Fri, 22 May 2009 15:46:17 +0000 (15:46 +0000)]
Revert patch for 42390. More tetsing required.

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

16 years agoFix JavaDoc aspects of bug 46985. Based on kkolinko's proposed patch.
markt [Fri, 22 May 2009 15:30:30 +0000 (15:30 +0000)]
Fix JavaDoc aspects of bug 46985. Based on kkolinko's proposed patch.

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

16 years agoRemoved some casts. Patch suggested by kkolinko
markt [Fri, 22 May 2009 11:15:43 +0000 (11:15 +0000)]
Removed some casts. Patch suggested by kkolinko

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

16 years agoStop build process adding extra blank line to end of files in .tar.gz src distro...
markt [Fri, 22 May 2009 10:50:56 +0000 (10:50 +0000)]
Stop build process adding extra blank line to end of files in .tar.gz src distro - missed a few in previous commit

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

16 years agoStop build process adding extra blank line to end of files in .tar.gz src distro
markt [Fri, 22 May 2009 10:47:36 +0000 (10:47 +0000)]
Stop build process adding extra blank line to end of files in .tar.gz src distro

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

16 years agoMore missing svn properties.
rjung [Thu, 21 May 2009 23:29:02 +0000 (23:29 +0000)]
More missing svn properties.

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

16 years agoSubversion property cleanup.
rjung [Thu, 21 May 2009 22:37:54 +0000 (22:37 +0000)]
Subversion property cleanup.

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

16 years agoMake a few methods static so they can easily be used from other classes (like Lifecyc...
markt [Thu, 21 May 2009 21:30:23 +0000 (21:30 +0000)]
Make a few methods static so they can easily be used from other classes (like LifecycleListeners)
Add a note about manual context configuration and reload.

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

16 years agoAdd missing keywords svn property.
rjung [Thu, 21 May 2009 20:38:53 +0000 (20:38 +0000)]
Add missing keywords svn property.
Already applied to tc6.

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

16 years agoConsolidate the use of service start time into one local variable
fhanik [Thu, 21 May 2009 18:35:40 +0000 (18:35 +0000)]
Consolidate the use of service start time into one local variable
https://issues.apache.org/bugzilla/show_bug.cgi?id=47234

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=44943
kkolinko [Thu, 21 May 2009 04:03:05 +0000 (04:03 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44943
Reduce copy/paste issues caused by different engine names.
Applying the same fix to exe installations of Tomcat.

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

16 years agoBuild files: Calculate current year automatically by using <tstamp>.
kkolinko [Thu, 21 May 2009 02:56:06 +0000 (02:56 +0000)]
Build files: Calculate current year automatically by using <tstamp>.

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

16 years agoUpdate to NSIS 2.44
kkolinko [Thu, 21 May 2009 02:26:21 +0000 (02:26 +0000)]
Update to NSIS 2.44

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

16 years agoBuild files: Apply explicit encoding to all operations that perform filtering.
kkolinko [Thu, 21 May 2009 02:07:25 +0000 (02:07 +0000)]
Build files: Apply explicit encoding to all operations that perform filtering.
Those are: 1) <copy>, when filtering is used (has filtering="true" or has a nested <filterset>), 2) <fixcrlf>

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

16 years agoFix typo
markt [Sun, 17 May 2009 12:26:21 +0000 (12:26 +0000)]
Fix typo

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

16 years agoFix the other getServer() - sorry for the noise
markt [Tue, 12 May 2009 13:28:29 +0000 (13:28 +0000)]
Fix the other getServer() - sorry for the noise

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

16 years agoSlightly better approch
markt [Tue, 12 May 2009 13:25:55 +0000 (13:25 +0000)]
Slightly better approch

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

16 years agoclose stream after error
pero [Fri, 8 May 2009 07:40:59 +0000 (07:40 +0000)]
close stream after error

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