Support Article
we are getting the error message on tomcat logs
SA-4282
Summary
Exceptions loged in tomcat log file.
Error Messages
org.apache.catalina.session.StandardManager startInternal
SEVERE: Exception loading sessions from persistent storage
java.lang.ClassNotFoundException: com.pega.pegarules.session.internal.authorization.ContextMapDiagCallback
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:76)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
Root Cause
This error message is written to log because ContextMapDiagCallback is not visible to the application server.
R&D is aware of this behaviour using Tomcat and our recommendation is to disable HTTP session passivation as this feature is already implemented and performed by PRPC application.
Resolution
The root cause of this problem is misconfiguration in the PRPC operating environment.
This issue is resolved through the following local change:
To disable HTTP session passivation, please uncomment Manager pathname in <tomcat>/conf/context.xml as follows and restart Tomcat.
Before change
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
After change
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<Manager pathname="" />
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.