Author: markt
Date: Wed Jan 20 10:53:25 2016
New Revision: 1725697

URL: http://svn.apache.org/viewvc?rev=1725697&view=rev
Log:
Store.load() will now set TCCL if necessary. No need to set it here.

Modified:
    tomcat/trunk/java/org/apache/catalina/valves/PersistentValve.java

Modified: tomcat/trunk/java/org/apache/catalina/valves/PersistentValve.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/PersistentValve.java?rev=1725697&r1=1725696&r2=1725697&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/valves/PersistentValve.java (original)
+++ tomcat/trunk/java/org/apache/catalina/valves/PersistentValve.java Wed Jan 
20 10:53:25 2016
@@ -105,12 +105,10 @@ public class PersistentValve extends Val
             if (store != null) {
                 Session session = null;
                 try {
-                    bind(context);
                     session = store.load(sessionId);
                 } catch (Exception e) {
                     container.getLogger().error("deserializeError");
                 } finally {
-                    unbind(context);
                 }
                 if (session != null) {
                     if (!session.isValid() ||



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to