Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56717
Fix duplicate registration of MapperListener during repeated starts of embedded Tomcat.
Properly unregister it when Tomcat stops.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1610562 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56717
Allow repeated Mapper.addHost() calls for the same host. E.g. if the host has been implicitly added by addContextVersion() call.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1610564 13f79535-47bb-0310-9956-ffa450edef68
Add missing changelog: no NIO2 sendfile timeout [it should have used the regular socket timeout].

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1610755 13f79535-47bb-0310-9956-ffa450edef68
Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=56724
Write an error message to Tomcat logs if container background thread exits unexpectedly.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1611506 13f79535-47bb-0310-9956-ffa450edef68
Fix regression with r1611506: NPE on stop (only threadStop should set thread to null, or it needs a sync).

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1611551 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53198
driverClassName should not be mandatory
https://issues.apache.org/bugzilla/show_bug.cgi?id=53198

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1613066 13f79535-47bb-0310-9956-ffa450edef68
Make tests pass by properly using the mock objects and not rely on a pre existing table.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1613111 13f79535-47bb-0310-9956-ffa450edef68
Code depends on DBCP2 from Tomcat

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1613112 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53367
Properly handle interrupts in the FairBlockingQueue

https://issues.apache.org/bugzilla/show_bug.cgi?id=53367

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1613123 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53367
Assume error until proven otherwise

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1613135 13f79535-47bb-0310-9956-ffa450edef68
Fix errors noted by checkstyle when building Tomcat:
- Added missing license header in a test class
- Tabs -> Spaces
- Imports order, unused import

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1613803 13f79535-47bb-0310-9956-ffa450edef68
Revert generics changes from r1613123
The code is compiled with Java 7, so why change them?
With recommended Eclipse settings those produce compiler warnings.
(Generic types/Redundant type arguments  warning)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1613897 13f79535-47bb-0310-9956-ffa450edef68
Correct the label in the list of sessions by idle time for the bin that represents the idle time immediately below the maximum permitted idle time when using the expire command of the Manager application.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1614163 13f79535-47bb-0310-9956-ffa450edef68
When scanning class files (e.g. for annotations) and reading the number of parameters in a <code>MethodParameters</code> structure only read a single byte (rather than two bytes) as per the JVM specification. Patch provided by labes.
This closes #12.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1614169 13f79535-47bb-0310-9956-ffa450edef68
Allow the JNDI Realm to start even if the directory is not available. The directory not being available is not fatal once the Realm is started and it need not be fatal when the Realm starts. Based on a patch by Cédric Couralet.
This closes #11 

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1614179 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56746
Allow secure WebSocket client threads to use the current context class loader rather than explicitly setting it to the class loader that loaded the WebSocket implementation. This allows WebSocket client connections from within web applications to access, amongst other things, the JNDI resources associated with the web application.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1614197 13f79535-47bb-0310-9956-ffa450edef68
Fix checkstyle complaints about trailing whitespace.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1614281 13f79535-47bb-0310-9956-ffa450edef68
Rename enumeration to the singular form for consistency

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1614297 13f79535-47bb-0310-9956-ffa450edef68
Revert unintentional code signing changes from r1614297

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1614307 13f79535-47bb-0310-9956-ffa450edef68
Start to add some tests for the OpenSSL to JSSE mapping.
This test currently fails so it is commented out while I work my way through the failures.

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