Avoid internal NullPointerExceptions if a resource is requested from outside the web application root.

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1573323 13f79535-47bb-0310-9956-ffa450edef68
Revert r1573321 as it triggers unit test failures

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1573331 13f79535-47bb-0310-9956-ffa450edef68
Drop the use of filesonly - it caused failures with some applications that scan Tomcat JARs such as Jira.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1573363 13f79535-47bb-0310-9956-ffa450edef68
Alternative solution to avoiding adding empty packages to JARs.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1573364 13f79535-47bb-0310-9956-ffa450edef68
Avoid NPE in resource cache when making an invalid request for a resource outside of the web application.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1573368 13f79535-47bb-0310-9956-ffa450edef68
Better way to avoid NPE in resource cache - don't let the request get that far when we know we are going to fail it anyway.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1573370 13f79535-47bb-0310-9956-ffa450edef68
DBCP 2.0 has been released.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1573484 13f79535-47bb-0310-9956-ffa450edef68
WIP NIO2 connector
Fixes and cleanups for input stability.
Fix output corruption for blocking IO.
Fix async (except keepalive after async), non blocking output, deadlocks and stability.
Fix oops for output corruption, harmonize with other connectors keepalive, fix keepalive after async and fix sendfile.
Fix upgrade mode IO (not sure it is 100% stable yet though), tested with websockets.
Cleanup: drop the poller class.
Oops, missing things after poller removal.
Fix SSL handshake and IO (blocking and non blocking, sendfile).