rjung [Thu, 1 Jan 2009 12:57:36 +0000 (12:57 +0000)]
Port r708867 from tcnative trunk to tc trunk.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730538
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 31 Dec 2008 12:48:07 +0000 (12:48 +0000)]
Add missing AL2 headers.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730383
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 31 Dec 2008 12:36:44 +0000 (12:36 +0000)]
Fix svn properties. Patch by sebb
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730382
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 30 Dec 2008 21:47:58 +0000 (21:47 +0000)]
Fix porting error
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730250
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 30 Dec 2008 18:37:07 +0000 (18:37 +0000)]
Make sure that the packaged up binaries have a MD5 sum as well, to verify download size
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730212
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 30 Dec 2008 16:51:35 +0000 (16:51 +0000)]
Don't attempt to shutdown when port=-1 in server.xml, instead print error message
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730178
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 30 Dec 2008 16:40:54 +0000 (16:40 +0000)]
Cleanup name
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730173
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 29 Dec 2008 16:37:02 +0000 (16:37 +0000)]
Adjust to Java 1.5 level
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729934
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 29 Dec 2008 00:30:00 +0000 (00:30 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46223
Add a simple co-ordinator provided by Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729815
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 29 Dec 2008 00:11:28 +0000 (00:11 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46223
Throw NoSuchElementException if next() is called on the Iterator when hasNext()==false
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729813
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 28 Dec 2008 23:46:49 +0000 (23:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46298
Throw an exception if the driver doesn't support the supplied URL
Based on a patch by Owen Jacobson
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729809
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Dec 2008 22:17:49 +0000 (22:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46344
Put the org.apache classes in a separate jar
Maven changes need validating.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729688
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Dec 2008 21:48:28 +0000 (21:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46351
Simplify build scripts.
Patch provided by Marc Guillemot
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729681
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Dec 2008 19:04:59 +0000 (19:04 +0000)]
Add a draft release plan for Tomcat 7
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729657
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Dec 2008 18:47:38 +0000 (18:47 +0000)]
Generics changes for o.a.c.ant
Fix various Eclipse warnings (use of deprecated code etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729655
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Dec 2008 18:40:24 +0000 (18:40 +0000)]
Generics changes for o.a.c.authenticator
Remove unnecessary casts identified by Eclipse
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729652
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Dec 2008 18:30:47 +0000 (18:30 +0000)]
Generics changes for o.a.c.connector
Fix various Eclipse warnings (unused code, casts, etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729651
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Dec 2008 17:48:13 +0000 (17:48 +0000)]
Generics changes for o.a.c.core
Fix various Eclipse warnings (unused code, unnecessary casts, etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729650
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Dec 2008 15:17:52 +0000 (15:17 +0000)]
Generics changes for o.a.c.ha
Fix various Eclipse warnings (static methods, unused code, etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729637
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Dec 2008 14:05:50 +0000 (14:05 +0000)]
Generics for o.a.c.loader
Fix various eclipse warnings (remove unused code, fix possible NPE)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729634
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 27 Dec 2008 13:39:41 +0000 (13:39 +0000)]
Generics for o.a.c.manager
Fix various Eclipse warnings (unused code, etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729633
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Sat, 27 Dec 2008 01:22:39 +0000 (01:22 +0000)]
Only report query executions
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729575
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 23:50:26 +0000 (23:50 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46261
%2F in context paths should be treated literally, not as / - that is what '#' is for.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729571
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 23:43:09 +0000 (23:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46381
Needs testign with the TCK before proposing for 6.0.x
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729569
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 23:37:33 +0000 (23:37 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46357
Correct test for host's parent must be an engine
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729567
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 26 Dec 2008 23:17:47 +0000 (23:17 +0000)]
organize imports
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729557
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 26 Dec 2008 23:14:13 +0000 (23:14 +0000)]
Refactor the query report for multi purpose
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729554
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 22:09:53 +0000 (22:09 +0000)]
Revert part of previous commit that caused errors on startup
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729544
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 21:06:23 +0000 (21:06 +0000)]
Revert what looks like an accidental commit so extras will build
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729535
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 20:20:38 +0000 (20:20 +0000)]
Generics changes for o.a.c.mbeans
Remove some unused code identified by Eclipse
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729531
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 19:55:01 +0000 (19:55 +0000)]
o.a.c.realm generics changes
Also fix some eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729529
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 19:47:08 +0000 (19:47 +0000)]
o.a.c generics changes
Also fix some Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729528
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 19:25:01 +0000 (19:25 +0000)]
o.a.c.security generics changes
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729527
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 19:18:42 +0000 (19:18 +0000)]
Fix various Eclipse warnings in o.a.c.servlets, mainly unnecessary casts.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729526
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 19:00:35 +0000 (19:00 +0000)]
o.a.c.session generics changes
Deprecate methods that implement deprecated methods
Fix assorted Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729523
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 18:15:29 +0000 (18:15 +0000)]
o.a.c.ssi generics changes
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729520
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 26 Dec 2008 18:13:57 +0000 (18:13 +0000)]
o.a.c.startup generics changes
Various other fixes (casts, unused code, comment typos etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729519
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 24 Dec 2008 19:41:22 +0000 (19:41 +0000)]
IF the application is shutting down, we don't need to print the WARN message
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729364
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 18:22:36 +0000 (18:22 +0000)]
Remaining generics for o.a.c.tribes
Change the Comparator in Membership to align with AbsoluteOrder
Fix various Eclipse warnings (unused code etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729351
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 17:49:57 +0000 (17:49 +0000)]
Generics for o.a.c.tribes.io
Fix various Eclipse warnings (unused code etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729341
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 17:42:58 +0000 (17:42 +0000)]
Generics for o.a.c.tribes.membership
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729340
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 16:35:46 +0000 (16:35 +0000)]
Some more simple generics and other Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729332
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 16:18:09 +0000 (16:18 +0000)]
Generics for o.a.c.tribes.tipis
- Note that there may be more to come but AbstractReplicatedMap is a tricky beast for generics so these are just the 'easy' ones
Fix various Eclipse warnings (unused code etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729330
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 16:03:53 +0000 (16:03 +0000)]
Generics for o.a.c.tribes.transport
Fix various Eclipse warnings (unused code etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729325
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 15:59:03 +0000 (15:59 +0000)]
Generics for o.a.c.tribes.transport.bio
Fix various Eclipse warnings (unused code etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729323
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 15:37:17 +0000 (15:37 +0000)]
Generics for o.a.c.tribes.transport.nio
Fix some other Eclispe warnings (unused code etc)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729322
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 15:24:08 +0000 (15:24 +0000)]
Generics for o.a.c.tribes.util
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729321
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 15:15:10 +0000 (15:15 +0000)]
Fix a couple of Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729320
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 24 Dec 2008 15:11:07 +0000 (15:11 +0000)]
Add some unit tests for the EL parser based on some recent bugs
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729318
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Wed, 24 Dec 2008 03:30:40 +0000 (03:30 +0000)]
insure that classes are loaded by trusted code in a sandbox
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729206
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 24 Dec 2008 01:57:36 +0000 (01:57 +0000)]
Fix file descriptor leak
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729191
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 23 Dec 2008 18:31:04 +0000 (18:31 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46397
Don't pool tag instances that implement JspIdConsumer
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729057
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 23 Dec 2008 13:14:42 +0000 (13:14 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46403
By default, always send the expires parameter with cookies to fix know IE6 and IE 7 issue.
I don't like doing this but I can't see a better way.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@728947
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 23 Dec 2008 02:16:28 +0000 (02:16 +0000)]
update version
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@728848
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 22 Dec 2008 22:11:41 +0000 (22:11 +0000)]
Implemented a way to get a delegate using standard APIs rather than custom handling
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@728806
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Dec 2008 21:12:27 +0000 (21:12 +0000)]
Fix performance aspects of 46304.
Note it is possible (depending on connector config) to have a servlet/filter responding to comet and non-comet events - hence why the array used in the methods cache has been extended.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@728776
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 22 Dec 2008 20:45:07 +0000 (20:45 +0000)]
Fix non-performance aspects of https://issues.apache.org/bugzilla/show_bug.cgi?id=46304
Should use Principal when calling doFilterEvent
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@728768
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Sat, 20 Dec 2008 00:45:46 +0000 (00:45 +0000)]
Removed calling to a JDK 1.6 method if its run under 1.5 and still take advantage of the JMX features
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@728197
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 19 Dec 2008 21:46:25 +0000 (21:46 +0000)]
inc version number
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@728161
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 19 Dec 2008 21:45:04 +0000 (21:45 +0000)]
Fix property parsing
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@728158
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 19 Dec 2008 17:55:46 +0000 (17:55 +0000)]
Documented interceptors a bit better, implemented setters for interceptor properties
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@728081
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 19 Dec 2008 14:28:06 +0000 (14:28 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46408
Don't make assumptions about exception type
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@728032
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 18 Dec 2008 16:01:55 +0000 (16:01 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46366
Need to use environment variables to set catalina home/base
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@727756
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 17 Dec 2008 07:27:19 +0000 (07:27 +0000)]
Stop command -z not found complaint
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@727303
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 17 Dec 2008 04:13:45 +0000 (04:13 +0000)]
Catch any exceptions since we don't handle them later in the chain
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@727272
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 17 Dec 2008 04:00:46 +0000 (04:00 +0000)]
Refactor JMX name into a constant, add a notification during init
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@727266
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 16 Dec 2008 21:00:36 +0000 (21:00 +0000)]
Implemented JMX notifications when connections fail
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@727148
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 12 Dec 2008 15:41:13 +0000 (15:41 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46125 for NIO and APR connectors
Change the exception if the headers are too big to force a 400 status code rather than the current 200
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@726052
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 12 Dec 2008 01:26:39 +0000 (01:26 +0000)]
Implement JMX notification of query times and query failures
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725879
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 22:32:18 +0000 (22:32 +0000)]
Fix last bug, time for JMX integration
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725847
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 22:19:54 +0000 (22:19 +0000)]
move initialization to poolStarted
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725843
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 22:17:02 +0000 (22:17 +0000)]
Implement startPool method to inform interceptors that pool is started
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725838
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 22:07:43 +0000 (22:07 +0000)]
Refactor slow query report so that it is extensible and one can override the methods
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725836
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 17:24:21 +0000 (17:24 +0000)]
implement a toString for the CometEventImpl
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725747
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 17:23:47 +0000 (17:23 +0000)]
clean up JMX reg
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725746
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 13:50:00 +0000 (13:50 +0000)]
house keeping
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725685
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 06:04:31 +0000 (06:04 +0000)]
minor cleanup
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725592
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 05:49:10 +0000 (05:49 +0000)]
Implemented closure notification. Turns out generics only work on an instance level, so you cant use static methods without having to use reflection.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725586
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 05:17:19 +0000 (05:17 +0000)]
Refactor interceptor instantiation a bit
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725584
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 04:58:11 +0000 (04:58 +0000)]
Refactor a bit
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725575
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 03:51:10 +0000 (03:51 +0000)]
remove more code not needed
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725565
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 11 Dec 2008 03:40:13 +0000 (03:40 +0000)]
get rid of closeListener, it turns into spaghetti code
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725564
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 10 Dec 2008 23:38:13 +0000 (23:38 +0000)]
refactor the slow query report a bit
also add the ability to remove a listener
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725487
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 10 Dec 2008 22:43:30 +0000 (22:43 +0000)]
Make sure we check if the attachment is null
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725474
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 10 Dec 2008 21:29:10 +0000 (21:29 +0000)]
Reset the key to let go off references
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725443
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 10 Dec 2008 20:28:19 +0000 (20:28 +0000)]
implement timeout on sendfile write as wellimplement timeout on sendfile write as wellimplement timeout on sendfile write as wellimplement timeout on sendfile write as wellimplement timeout on sendfile write as wellimplement timeout on sendfile write as wellimplement timeout on sendfile write as wellimplement timeout on sendfile write as wellimplement timeout on sendfile write as well
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725417
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 10 Dec 2008 20:08:31 +0000 (20:08 +0000)]
Remove methods so that the caller knows what action is being taken
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725408
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 9 Dec 2008 23:13:26 +0000 (23:13 +0000)]
oops, must return false, or a leak will happen
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724926
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 9 Dec 2008 22:33:08 +0000 (22:33 +0000)]
cleanup methods not used, and correct methods that used the old thread stats
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724919
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 9 Dec 2008 21:22:38 +0000 (21:22 +0000)]
Implement an execution that adds the task to the queue if rejected, and allow to try to add for a specified time
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724897
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 9 Dec 2008 20:59:36 +0000 (20:59 +0000)]
correct the import statement
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724889
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 9 Dec 2008 20:56:59 +0000 (20:56 +0000)]
Refactored the thread pooling when using an executor, this gets rid of duplicate code in the NIO connector as well as in the org.apache.catalina.core.StandardThreadExecutor package.
I provided a ThreadPoolExecutor with a small extension to the java.util.concurrent
The connector method setExecutor still take a java.util.concurrent.Executor as an argument to provide the most flexibility
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724886
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 9 Dec 2008 19:38:44 +0000 (19:38 +0000)]
Implement keep alive timeout, and while doing this, I realized that keepalive is either on or off, but there is no counter
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724849
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 8 Dec 2008 16:24:05 +0000 (16:24 +0000)]
Implement keepAliveCount in a thread safe way, and as an estimate
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724393
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 8 Dec 2008 15:52:23 +0000 (15:52 +0000)]
implement a bit cleanup and a rough estimate on the size of a poller
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724384
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 8 Dec 2008 03:32:07 +0000 (03:32 +0000)]
Remove the synchronize/notifyAll based thread pool, and use only the built in pool
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724239
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 6 Dec 2008 09:24:29 +0000 (09:24 +0000)]
Set line endings for a couple of new files
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@723961
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 5 Dec 2008 22:02:15 +0000 (22:02 +0000)]
Add the ability to configure a job queue size, and a timeout for how long we want to try to add something to the queue.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@723889
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 5 Dec 2008 17:48:41 +0000 (17:48 +0000)]
A few more properties
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@723803
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 5 Dec 2008 17:36:09 +0000 (17:36 +0000)]
Query collection stats
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@723802
13f79535-47bb-0310-9956-
ffa450edef68