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

16 years agoMore ServerFactory surgery
markt [Wed, 6 May 2009 10:49:03 +0000 (10:49 +0000)]
More ServerFactory surgery

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

16 years agoRemove some unnecessary code
markt [Wed, 6 May 2009 10:26:44 +0000 (10:26 +0000)]
Remove some unnecessary code

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

16 years agoStart process of removing o.a.c.ServerFactory. Need to do this so:
markt [Wed, 6 May 2009 10:22:02 +0000 (10:22 +0000)]
Start process of removing o.a.c.ServerFactory. Need to do this so:
a) The current o.a.c.startup.Tomcat tests pass
b) We can start to use o.a.c.startup.Tomcat for some new unit tests
This removes ServerFactory from the Realms

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

16 years agoUpdate test cases with a dummy driver
fhanik [Wed, 6 May 2009 01:49:43 +0000 (01:49 +0000)]
Update test cases with a dummy driver

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

16 years agoAdded in blank dummies for tests
fhanik [Mon, 4 May 2009 01:46:41 +0000 (01:46 +0000)]
Added in blank dummies for tests

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

16 years agoMake connection objects non reusable. Once release has been called, it can't be reused.
fhanik [Sun, 3 May 2009 00:18:33 +0000 (00:18 +0000)]
Make connection objects non reusable. Once release has been called, it can't be reused.
This makes the sizing algorithm easier
C3P0 leaks connections during the fairness test, reaches 20 connections even max is set to 10

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

16 years agoPut tests in right package
markt [Sat, 2 May 2009 23:41:12 +0000 (23:41 +0000)]
Put tests in right package

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

16 years agoClean up inspired by https://issues.apache.org/bugzilla/show_bug.cgi?id=47111
markt [Sat, 2 May 2009 23:36:24 +0000 (23:36 +0000)]
Clean up inspired by https://issues.apache.org/bugzilla/show_bug.cgi?id=47111
Remove unused code.

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

16 years agoTab police and other whitespace issues
markt [Sat, 2 May 2009 23:20:33 +0000 (23:20 +0000)]
Tab police and other whitespace issues

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

16 years agoMove file for consistency. May ultimately move test.xml inside build.xml
markt [Sat, 2 May 2009 23:17:55 +0000 (23:17 +0000)]
Move file for consistency. May ultimately move test.xml inside build.xml

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

16 years agoChanges as a result of https://issues.apache.org/bugzilla/show_bug.cgi?id=47124
markt [Sat, 2 May 2009 23:12:17 +0000 (23:12 +0000)]
Changes as a result of https://issues.apache.org/bugzilla/show_bug.cgi?id=47124
Add JUnit to build
Provide TestSuite to run all tests

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

16 years agoAdd all of the Tribes tests to the test suite. Some of these fail.
markt [Sat, 2 May 2009 22:12:28 +0000 (22:12 +0000)]
Add all of the Tribes tests to the test suite. Some of these fail.

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

16 years agoImplement a hard limit, the 'optimistic' sizing limit is way to optimistic, and can...
fhanik [Sat, 2 May 2009 04:57:47 +0000 (04:57 +0000)]
Implement a hard limit, the 'optimistic' sizing limit is way to optimistic, and can let the pool grow a bit too fast.
A hard limit stays hard.
Clean up pooled connection a bit

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

16 years agoFix logger level to not show up by default
fhanik [Sat, 2 May 2009 04:35:22 +0000 (04:35 +0000)]
Fix logger level to not show up by default
Add fairness tests to all

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

16 years agoFix closure of connections in test cases
fhanik [Sat, 2 May 2009 04:24:59 +0000 (04:24 +0000)]
Fix closure of connections in test cases

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47086
markt [Sat, 2 May 2009 00:46:56 +0000 (00:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47086
Include the 64-bit windows binaries in the distribution
Update the Windows installer to:
 - auto detect the platform and install the correct binary for x86/amd64/ia64
 - look for a 64-bit JVM on 64-bit platforms
 - write the service registry information to the 64 bit section of the registry (rather than Wow6432Node) on 64-bit machines

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

16 years agoUpdate file names for TC7
markt [Fri, 1 May 2009 21:51:32 +0000 (21:51 +0000)]
Update file names for TC7

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

16 years agoFix 47080: NPE in RealmBase.findSecurityConstraints when uri is null
markt [Fri, 1 May 2009 20:12:09 +0000 (20:12 +0000)]
Fix 47080: NPE in RealmBase.findSecurityConstraints when uri is null
https://issues.apache.org/bugzilla/show_bug.cgi?id=47080

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

16 years agoAdd generics, remove unused field
markt [Fri, 1 May 2009 18:51:22 +0000 (18:51 +0000)]
Add generics, remove unused field

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

16 years agoTab police
markt [Fri, 1 May 2009 16:21:58 +0000 (16:21 +0000)]
Tab police

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47050
markt [Fri, 1 May 2009 15:34:43 +0000 (15:34 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47050
Remove unnecessary filtering

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

16 years agoPrepare for next build
fhanik [Fri, 1 May 2009 03:40:28 +0000 (03:40 +0000)]
Prepare for next build

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

16 years agodoco
fhanik [Fri, 1 May 2009 02:02:04 +0000 (02:02 +0000)]
doco

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

16 years agoAdd the following features
fhanik [Thu, 30 Apr 2009 19:41:07 +0000 (19:41 +0000)]
Add the following features
- max age for a connection kept alive
- an ability to reset the abandon timer when queries are executed
- an abandoned test, abandon when a percentage of the pool has been utilized

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

16 years agoAdd an experimental embedded build target to use with o.a.c.startup.Tomcat
markt [Thu, 30 Apr 2009 11:38:25 +0000 (11:38 +0000)]
Add an experimental embedded build target to use with o.a.c.startup.Tomcat

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

16 years agoJMX expects service name and engine name to be the same.
markt [Thu, 30 Apr 2009 11:29:03 +0000 (11:29 +0000)]
JMX expects service name and engine name to be the same.

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

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=47046
markt [Wed, 29 Apr 2009 22:47:53 +0000 (22:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47046
Unregister all MBeans, including when non-default engine names are used (which changes the domain of some of the MBeans)

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

16 years agowarp is long gone
markt [Wed, 29 Apr 2009 11:51:16 +0000 (11:51 +0000)]
warp is long gone

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

16 years agoRemove Reloader interface that is never used.
markt [Wed, 29 Apr 2009 10:24:57 +0000 (10:24 +0000)]
Remove Reloader interface that is never used.

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

16 years agoReduce scope - partial application of patch by Jens Kapitza from bug 46999
markt [Wed, 29 Apr 2009 10:22:00 +0000 (10:22 +0000)]
Reduce scope - partial application of patch by Jens Kapitza from bug 46999

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

16 years agoDelete deprecated class.
markt [Tue, 28 Apr 2009 11:51:47 +0000 (11:51 +0000)]
Delete deprecated class.

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

16 years agoBZ 46925: Improve search for nested roles in
rjung [Mon, 27 Apr 2009 18:54:55 +0000 (18:54 +0000)]
BZ 46925: Improve search for nested roles in
JNDIRealm by replacing recursive search with
iterative search. Patch provided by Stefan Zoerner.

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

16 years agoReduce dependency on URLClassloader. Allow custom Loader elements to use ClassLoader...
markt [Sat, 25 Apr 2009 23:25:36 +0000 (23:25 +0000)]
Reduce dependency on URLClassloader. Allow custom Loader elements to use ClassLoader rather than URLClassLoader.

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

16 years agoWebappLoader expects loaderClass to be an instance of o.a.c.loader.WebappClassloader...
markt [Fri, 24 Apr 2009 15:44:42 +0000 (15:44 +0000)]
WebappLoader expects loaderClass to be an instance of o.a.c.loader.WebappClassloader so add that to the docs

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

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