markt [Sat, 15 Nov 2008 20:15:08 +0000 (20:15 +0000)]
Another easy one. I'll have to start /java at some point ;)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@717924
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 15 Nov 2008 20:00:27 +0000 (20:00 +0000)]
/conf was quick too
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@717923
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 15 Nov 2008 19:57:25 +0000 (19:57 +0000)]
/bin was quick :)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@717922
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 15 Nov 2008 19:55:02 +0000 (19:55 +0000)]
Update diff status
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@717921
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 15 Nov 2008 19:52:04 +0000 (19:52 +0000)]
Sync BUILDING.txt
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@717920
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 15 Nov 2008 19:09:15 +0000 (19:09 +0000)]
Remove unused file.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@717914
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 15 Nov 2008 18:40:10 +0000 (18:40 +0000)]
Remove the tomcat 6 parts of the change log
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@717909
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 15 Nov 2008 18:12:15 +0000 (18:12 +0000)]
Merge r613809 from 6.0.x
FarmWarDeployer can only be configured as host sub-element
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@717902
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 15 Nov 2008 13:27:34 +0000 (13:27 +0000)]
Add temp file to track diff status
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@714253
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sat, 15 Nov 2008 12:59:01 +0000 (12:59 +0000)]
Update KEYS with changes from 6.0.x (Remy updated his key)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@714246
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Sat, 15 Nov 2008 03:51:51 +0000 (03:51 +0000)]
Only apply state once, so if the connection state interceptor is not applied, then we need to do it in the pool
Add abstract interceptor to handle statement wrappers and creation, to be used later when we do a clean up and performance interceptor
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@714217
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Sat, 15 Nov 2008 02:30:12 +0000 (02:30 +0000)]
If we know we are closing the connection, don't drain input.
This way uploading a 100GB file doesn't tie up the thread
if the servlet has rejected it.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@714214
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 14 Nov 2008 15:42:47 +0000 (15:42 +0000)]
fix spacing issues
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@714040
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 14 Nov 2008 15:33:39 +0000 (15:33 +0000)]
A disconnect should not throw an error
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@714036
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 14 Nov 2008 15:19:25 +0000 (15:19 +0000)]
forgot to save file before checkin
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@714028
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 14 Nov 2008 15:18:19 +0000 (15:18 +0000)]
use atomic counters
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@714027
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 14 Nov 2008 14:59:10 +0000 (14:59 +0000)]
initialize root cause of an exception
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@714023
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Fri, 14 Nov 2008 13:49:14 +0000 (13:49 +0000)]
Do not throw attribute value.
Patch provided by Tomaz Cerar cerar at parsek.com
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@714002
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Fri, 14 Nov 2008 08:54:58 +0000 (08:54 +0000)]
When throwing Non-serializable exception, mark which argument was non-serializable to help tracing the cause when developing.
Needs localization to other local properties files.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@713953
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 14 Nov 2008 00:55:59 +0000 (00:55 +0000)]
increment build number and control it from build file at this point
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@713889
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 14 Nov 2008 00:44:19 +0000 (00:44 +0000)]
Added helper script to sign releases
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@713887
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 13 Nov 2008 23:54:31 +0000 (23:54 +0000)]
Add a change log to the module
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@713869
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 13 Nov 2008 18:59:24 +0000 (18:59 +0000)]
fix for calling close multiple times
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@713787
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 13 Nov 2008 18:02:35 +0000 (18:02 +0000)]
Fix connection state, make it smarter and faster.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@713763
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 12 Nov 2008 21:50:03 +0000 (21:50 +0000)]
Updated documentation and added wrappers for toString and added an example
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@713522
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 11 Nov 2008 20:00:26 +0000 (20:00 +0000)]
Fix socket properties usage so that we can decide if we want to accept the default value or if we want to use a preset value
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@713144
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 11 Nov 2008 17:12:18 +0000 (17:12 +0000)]
oops
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@713086
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 11 Nov 2008 15:58:23 +0000 (15:58 +0000)]
Move the bayeux to a separate module
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@713070
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 10 Nov 2008 23:03:48 +0000 (23:03 +0000)]
Remove out of date file from trunk
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712864
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 10 Nov 2008 17:14:41 +0000 (17:14 +0000)]
Last bit of my ego goes away
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712702
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 10 Nov 2008 17:09:40 +0000 (17:09 +0000)]
Added test case to test two concurrent datasources, fixed the flag to turn on the sweeper
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712701
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 9 Nov 2008 01:57:34 +0000 (01:57 +0000)]
Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=42707
I debated adding the addContainerListener() meethod to JMX. I'll leave it a little while for people to comment on this (or anything else) before I propose this one for 6.0.x.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712467
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 9 Nov 2008 01:45:26 +0000 (01:45 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42747
I've tested this with all the combinations I could think of and ensured that the order of the redploy resources is consistent. The summary of changes is:
- context.xml takes effect on first deploy rather than next restart
- context.xml from DIR is now copied to conf/<eng>/<host> in the same manner as context.xml from WAR
I also fixed a couple of edge cases I spotted and changed a few local variables to make the code easier to understand.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712464
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 9 Nov 2008 01:35:58 +0000 (01:35 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42673
Correctly handle includes with multi-level contexts
Patch provided by Peter Jodeleit
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712461
13f79535-47bb-0310-9956-
ffa450edef68
pero [Fri, 7 Nov 2008 21:40:37 +0000 (21:40 +0000)]
Fix NPE to use Http11NioProtocol handler with default parameters!
# example:
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
<Connector executor="tomcatThreadPool"
port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol"
connectionTimeout="20000"
redirectPort="8443" />
Used at MAC OS X with "-Djava.net.preferIPv4Stack=true"
I am not sure that default returns are correct!
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712278
13f79535-47bb-0310-9956-
ffa450edef68
pero [Fri, 7 Nov 2008 21:29:21 +0000 (21:29 +0000)]
FIX possible NPE as Engine level configuration, as context dosen't exists!
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712274
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Fri, 7 Nov 2008 04:01:05 +0000 (04:01 +0000)]
This belongs to r711934. Property version nww
gets calculated, so remove it from build.properties
and add the version.suffix instead.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712053
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Fri, 7 Nov 2008 01:59:04 +0000 (01:59 +0000)]
Allow binding as user to directory instead
of anonymous or fixed user/password access.
Useful especially in an AD setup.
Needs more testing.
Should fix BZ45794 and BZ19444.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712038
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Fri, 7 Nov 2008 00:48:13 +0000 (00:48 +0000)]
Move curUserPattern from a global variable to
a method variable.
Not necessary at the moment, because the realm
is mostly synchronized, but being global doesn't
help and will hurt once we implement connection
pooling and concurrent usage for the realm.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712024
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Fri, 7 Nov 2008 00:20:06 +0000 (00:20 +0000)]
Whitespace cleanup and two new debug messages.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@712019
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 6 Nov 2008 21:52:40 +0000 (21:52 +0000)]
Modify build script to generate a distribution
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711985
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Thu, 6 Nov 2008 18:34:50 +0000 (18:34 +0000)]
Using @-patterns in the non-docs files and
ant filters to replace the major version and also
major.minor.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711934
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 6 Nov 2008 18:25:49 +0000 (18:25 +0000)]
Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711932
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Wed, 5 Nov 2008 22:15:53 +0000 (22:15 +0000)]
Now make the classes checking session idleness
use thisAccessedTime.
This is not for invalidation, only for displaying
idle times and making persistance decisions.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711720
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Wed, 5 Nov 2008 22:11:04 +0000 (22:11 +0000)]
Now expose thisAccessedTime via the session interface
and ManagerBase, so we can use it from outside the session.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711716
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Wed, 5 Nov 2008 22:05:24 +0000 (22:05 +0000)]
This one gets inherited from StandardSession.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711714
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Wed, 5 Nov 2008 21:56:52 +0000 (21:56 +0000)]
Give thisAccessedTime and lastAccessedTime for sessions
a clear semantics:
- thisAccessedTime will be updated at the beginning and
at the end of session use
- lastAccessedTime will only be updated at the end of
session use
This means:
- lastAccessedTime is the last access time of a session
disregarding any request still being processed on.
So this is good to use even from within a request
to detect when its own session has been used last before.
- thisAccessedTime already gets updated when a new request
disregarding any request still being processed on.
So this is better for any idleness check or information.
- thisAccessedTime >= lastAccessedTime always
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711711
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Wed, 5 Nov 2008 20:50:34 +0000 (20:50 +0000)]
Whitespace and indentation cleanup.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711695
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 5 Nov 2008 16:17:16 +0000 (16:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46011
Make Principal accessible (if set) via Subject.getSubject(AccessController.getContext()) when processing filters.
Based on a patch provided by tsveg1
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711600
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Tue, 4 Nov 2008 21:42:38 +0000 (21:42 +0000)]
Add ability to recursively search for roles
to JNDIRealm. That way nested groups work.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711422
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Tue, 4 Nov 2008 18:55:58 +0000 (18:55 +0000)]
Preparation before introducing recursive group resolution
- add a little generics
- add a little logging
- add a new utility function getDistinguishedName()
replacing some inline code. It will be used
again in the next commit.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711355
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 3 Nov 2008 23:47:38 +0000 (23:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46121
Add note about resources clash and using namespaces to resolve it.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@711126
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 3 Nov 2008 22:47:26 +0000 (22:47 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46047
Include jar in path for dependencies if they are in a JAR
Patch provided by Cédric Mailleux
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@710205
13f79535-47bb-0310-9956-
ffa450edef68
rjung [Mon, 3 Nov 2008 22:38:55 +0000 (22:38 +0000)]
Setting svn:keywords (Author Date Id Revision) and
svn:eol-style (native) for the jdbc-pool module.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@710199
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 3 Nov 2008 21:52:42 +0000 (21:52 +0000)]
Remove the invoker servlet and all references for security reasons. This will not be proposed for backport to 6.0.x
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@710179
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 3 Nov 2008 18:53:37 +0000 (18:53 +0000)]
As per Remy's review comment, make sure we continue to reset the writer/stream flags before forwarding to a custom error page.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@710125
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 3 Nov 2008 14:31:59 +0000 (14:31 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41861
Change service name from "Apache Tomcat" to "Apache Tomcat 6". Full version number is still present in the description.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@710066
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 3 Nov 2008 14:28:17 +0000 (14:28 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42409
The spec says reset the buffer, therefore use the resetBuffer() method. This makes custom and standard error handling consistent.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@710063
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 2 Nov 2008 00:52:21 +0000 (00:52 +0000)]
Lots of typos. Make text consistent (Tomcat, MBean etc). Remove the section on JDK 1.4 and MX4J since TC6 can't run on a 1.4 JVM.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@709823
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 2 Nov 2008 00:50:46 +0000 (00:50 +0000)]
Ignore tmp file created during build
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@709822
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 2 Nov 2008 00:48:28 +0000 (00:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46051
The PrintWriter interface requires that the line separator is platform dependant. Not that this makes much sense for a web application but there is a spec so we shoud stick to it.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@709821
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 2 Nov 2008 00:39:54 +0000 (00:39 +0000)]
Path is required for a deploy
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@709816
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 2 Nov 2008 00:34:01 +0000 (00:34 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46125
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@709811
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 31 Oct 2008 13:53:07 +0000 (13:53 +0000)]
Remove used connector params from doc example
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@709416
13f79535-47bb-0310-9956-
ffa450edef68
markt [Thu, 30 Oct 2008 23:46:41 +0000 (23:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46105
Correctly set URI encoding when replaying request after FORM auth
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@709294
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 29 Oct 2008 21:41:09 +0000 (21:41 +0000)]
Add asynchronous log handling, feature not yet complete. Need to figure out when to stop the logger thread (possible when there are no loggers) and also make sure the thread sleep/wakeup is bullet proof
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@709018
13f79535-47bb-0310-9956-
ffa450edef68
markt [Wed, 29 Oct 2008 12:35:59 +0000 (12:35 +0000)]
r703017 broke SSL with the JIO connector on Windows (and possibly other platforms). The problem was that some settings don't make sense for an SSL socket so rather than ignoring them a SocketExcpetion is thrown. With this patch, only attributes set by the user are passed to the socket and if setting the attribute throws an exception it is logged as an error.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708892
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 29 Oct 2008 05:19:32 +0000 (05:19 +0000)]
added doc around new flag
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708780
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 29 Oct 2008 04:34:29 +0000 (04:34 +0000)]
Added in a fairness test to showcase the FairBlockingQueue
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708769
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Wed, 29 Oct 2008 02:15:35 +0000 (02:15 +0000)]
Fix the performance issue, don't count down until the lock has been released, this allows for much more concurrency
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708753
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 28 Oct 2008 23:12:39 +0000 (23:12 +0000)]
add test target
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708717
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 28 Oct 2008 22:26:03 +0000 (22:26 +0000)]
stupid eclipse
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708702
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 28 Oct 2008 20:31:00 +0000 (20:31 +0000)]
Adjusted the timeout for abandoned, its in seconds
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708663
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 28 Oct 2008 19:58:43 +0000 (19:58 +0000)]
Added a different fairness option, since ArrayBlockingQueue with fair=true is really bad for performance
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708652
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 28 Oct 2008 19:50:26 +0000 (19:50 +0000)]
move over documentation to the module
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708651
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 28 Oct 2008 16:41:36 +0000 (16:41 +0000)]
when the DB is down, don't wait and try over and over again, simply return the failure
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708605
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 28 Oct 2008 15:00:22 +0000 (15:00 +0000)]
Make the polling fairness configurable
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708592
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 28 Oct 2008 14:36:30 +0000 (14:36 +0000)]
throw an exception instead of timeout when we fail to reconnect
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708587
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Tue, 28 Oct 2008 14:34:28 +0000 (14:34 +0000)]
Improve validation ordering, when a connection has been acquired, but validation failed, don't let the thread go back into polling mode, instead try to reconnect it.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708586
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 28 Oct 2008 11:52:12 +0000 (11:52 +0000)]
Remove references to DefaultContext from code
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708541
13f79535-47bb-0310-9956-
ffa450edef68
markt [Tue, 28 Oct 2008 11:50:43 +0000 (11:50 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46106
Remove references to DefaultContext from docs
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708538
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 27 Oct 2008 22:48:21 +0000 (22:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46067
Correct some typos.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708365
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 27 Oct 2008 22:40:48 +0000 (22:40 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46075
Don't automatically create the ByteArrayOutputStream with the full threshold - we probably won't need it in most cases.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708361
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 27 Oct 2008 22:24:26 +0000 (22:24 +0000)]
Improvements to connection handling
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708354
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 27 Oct 2008 22:04:51 +0000 (22:04 +0000)]
Expose deferAccept for APR HTTP connector.
I did consider adding this to the AJP connector as well but since this is to work around a buggy client and we control the client in the AJP case, I couldn't see a need for it.
Patch provided by Michael Leinartas.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708344
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 27 Oct 2008 18:31:50 +0000 (18:31 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46085
Hard to reproduce thread safety issue with session expiration.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708273
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Mon, 27 Oct 2008 18:21:07 +0000 (18:21 +0000)]
Added couple more tests
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708263
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 27 Oct 2008 17:28:16 +0000 (17:28 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46096
Allow for running under a security manager when processing annotations.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708243
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 27 Oct 2008 15:46:35 +0000 (15:46 +0000)]
Log max threads message at info rather than warn
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708223
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 27 Oct 2008 14:14:14 +0000 (14:14 +0000)]
Add warning messages to APR and NIO endpoint to match change to JIO.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708195
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 27 Oct 2008 14:04:07 +0000 (14:04 +0000)]
Apply Remy's alternative fix for the String comparison bugs found by Find Bugs. Note FB still complains but it is a false positive.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708185
13f79535-47bb-0310-9956-
ffa450edef68
markt [Mon, 27 Oct 2008 11:43:24 +0000 (11:43 +0000)]
Previous commit undid some of the fixes for bug 45906. Correct that error.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@708145
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Sat, 25 Oct 2008 00:17:54 +0000 (00:17 +0000)]
added correct stuff to the classpath
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@707797
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Sat, 25 Oct 2008 00:13:10 +0000 (00:13 +0000)]
check in eclipse files
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@707795
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Sat, 25 Oct 2008 00:06:20 +0000 (00:06 +0000)]
move over to an independent module
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@707794
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 24 Oct 2008 21:23:08 +0000 (21:23 +0000)]
Apply Remy's patch for 45735 and align trunk with 6.0.x.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@707751
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 24 Oct 2008 20:33:31 +0000 (20:33 +0000)]
Revert 680710 - no interst in porting this to 6.0.x
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@707736
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Fri, 24 Oct 2008 16:14:07 +0000 (16:14 +0000)]
During a read or write timeout, we were cancelling the main key, this is fine for regular IO, but for Comet IO, this will cause events to stop since we remove the socket from the main selector
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@707670
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 23 Oct 2008 05:14:50 +0000 (05:14 +0000)]
simple connection pool contribution - currently built using
ant -f extras.xml conpool
until we have a way to release it as a module, coming soon
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@707275
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 23 Oct 2008 04:10:59 +0000 (04:10 +0000)]
Set the default thread count to 200
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@707264
13f79535-47bb-0310-9956-
ffa450edef68