https://issues.apache.org/bugzilla/show_bug.cgi?id=55282
Fix message that is displayed when a duplicate listener is added.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600616 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56588
Update according to the changes in Tomcat 8:
Un-deprecate Context.addApplicationListener(String)
Deprecate Context.addApplicationListener(ApplicationListener)

Replace calls to addApplicationListener(new ApplicationListener(x, false)) with addApplicationListener(x).

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600638 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56588
Followup to r1600638
Replace calls to addApplicationListener(new ApplicationListener(x, false)) with addApplicationListener(x).

(I missed them in the first commit, because I have separate Eclipse project configured for WebSocket classes in Tomcat 7, as they require a different JDK version).

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600645 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56573
Change the value returned by Session.getRequestURI() from the value obtained from HttpServletRequest.getRequestURI() to the value obtained from HttpServletRequest.getRequestURI() with the scheme changed to ws or wss as appropriate. Note that the WebSocket Expert Group is expected to clarify the expected behaviour for Session.getRequestURI() which may result in further changes.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600653 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56573
Restore query string.
Add test cases.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600665 13f79535-47bb-0310-9956-ffa450edef68
Suppress an IDE warning. No functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600669 13f79535-47bb-0310-9956-ffa450edef68
Remove unused code from a test class.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600671 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56577
Better executor configuration.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600750 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56578
Correct regression in the fix for 56339 that prevented sessions from expiring when using clustering.
The effect of removing expiring = true; from the DeltaSession is that if parallel calls are made to expire() then there is a slightly greater chance of some of those calls blocking while the first completes. This is because expiring is now set to true a little later.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600840 13f79535-47bb-0310-9956-ffa450edef68
Fix ordering of changelog entries according to bug number.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600846 13f79535-47bb-0310-9956-ffa450edef68
Don't assume that tests use the StandardManger

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600858 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56600
Fix missing "return;" statements after sendError():
do not waste time generating response for PROPFIND requests that contain broken XML document.

Merged r1600955 from tomcat/trunk.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600956 13f79535-47bb-0310-9956-ffa450edef68
Revert fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=56573
The fix triggered a TCK failure

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1600960 13f79535-47bb-0310-9956-ffa450edef68
Clean-up
i18n for ChunkedInputFilter error message
Add error flag to allow subsequent attempts at reading after an error to fail fast

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1601333 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56606
Ensure that the new attribute name username is used in the tomcat-users.xml examples rather than the old name of user.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1601598 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56612
Correctly parse two consecutive escaped single quotes when used in UEL 
expression in a JSP.
Includes various unit tests that check the parsing of ${'\'\''}

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1601787 13f79535-47bb-0310-9956-ffa450edef68
Revert accidental commit.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1601788 13f79535-47bb-0310-9956-ffa450edef68
Merged revision 1601796 from tomcat/trunk:
Provide a better error message when asynchronous operations are not supported by a filter or servlet. Patch provided by Romain Manni-Bucau. Issue was reported via dev at tomcat.a.o.


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1601797 13f79535-47bb-0310-9956-ffa450edef68
Merged revision 1601850 from tomcat/trunk:
Use StringManager for the async not supported message.


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1601852 13f79535-47bb-0310-9956-ffa450edef68
Remove obsolete documentation from realm package javadoc.
The text is something very old that talks about "debug" attribute and that there are two standard realms, JDBCRealm and MemoryRealm.
The up-to-date documentation is maintained in docs/config/realm.html
Merged r1601855 from tomcat/trunk.

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