Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Exception while launching PRPC 6.3

SA-3987

Summary



PRPC is not starting up.

Error Messages



Nov 27, 2014 9:32:02 AM org.apache.catalina.session.StandardManager doLoad
SEVERE: ClassNotFoundException while loading persisted sessions: java.lang.Class
NotFoundException: com.pega.pegarules.session.internal.authorization.ContextMapD
iagCallback
java.lang.ClassNotFoundException: com.pega.pegarules.session.internal.authorizat
ion.ContextMapDiagCallback
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1711)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1556)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomO
bjectInputStream.java:76)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:157
4)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
731)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
46)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at org.apache.catalina.session.StandardSession.readObject(StandardSessio
n.java:1595)
at org.apache.catalina.session.StandardSession.readObjectData(StandardSe
ssion.java:1060)
at org.apache.catalina.session.StandardManager.doLoad(StandardManager.ja
va:284)
at org.apache.catalina.session.StandardManager.load(StandardManager.java
:204)
at org.apache.catalina.session.StandardManager.startInternal(StandardMan
ager.java:491)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardContext.startInternal(StandardContex
t.java:5293)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:87
5)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
1600)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Nov 27, 2014 9:32:02 AM org.apache.catalina.session.StandardManager startInterna
l
SEVERE: Exception loading sessions from persistent storage
java.lang.ClassNotFoundException: com.pega.pegarules.session.internal.authorizat
ion.ContextMapDiagCallback
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1711)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1556)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomO
bjectInputStream.java:76)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:157
4)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
731)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
46)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at org.apache.catalina.session.StandardSession.readObject(StandardSessio
n.java:1595)
at org.apache.catalina.session.StandardSession.readObjectData(StandardSe
ssion.java:1060)
at org.apache.catalina.session.StandardManager.doLoad(StandardManager.ja
va:284)
at org.apache.catalina.session.StandardManager.load(StandardManager.java
:204)
at org.apache.catalina.session.StandardManager.startInternal(StandardMan
ager.java:491)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardContext.startInternal(StandardContex
t.java:5293)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:87
5)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
1600)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)



The login trace error is
2014-11-27 09:49:49,236 [http-bio-8080-exec-9] [ STANDARD] [
] (ticcontent.StaticContentClient) ERROR - 404 on request: /S2c9gGHHnTTzin4x6
Bk0Kdbb5xR83eMT*/images/{@pMode}.gif; Referring URL: http://localhost:8080/prweb
/PRServlet/S2c9gGHHnTTzin4x6Bk0Kdbb5xR83eMT*/!STANDARD?; Requestor ID: HDFA34BFD
57D7BDAFF2998AD626F6D071


Steps to Reproduce



Launch PRPC, see the server trace.
Launch the login page, give the designer credentials, after that the page is blank. See the server trace, which shows 404 error


Root Cause


he Issue you have reported seems to be a tomcat persists sessions and that includes bits that it cannot de-serialize correctly

It seems this is related to Tomcat’s Standard Manager Implementation:


Resolution



The explanation for this behavior is as follows:


The Issue you have reported seems to be a tomcat persists sessions and that includes bits that it cannot de-serialize correctly

It seems this is related to Tomcat’s Standard Manager Implementation:


http://tomcat.apache.org/tomcat-5.5-doc/config/manager.html

Absolute or relative (to the work directory for this Context) pathname of the file in which session state will be preserved across application restarts, if possible. The default is "SESSIONS.ser".
See Persistence Across Restarts<http://tomcat.apache.org/tomcat-5.5-doc/config/manager.html#Persistence_Across_Restarts> for more information. This persistence may be disabled by setting this attribute to an empty string.

1) With Tomcat shut down, can you go to the work/Catalina/localhost/prweb (or equivalent) directory and see if the SESSIONS.ser file is located there. If so, remove the SESSIONS.ser file and restart tomcat.

2) The other option would be to disable the session persistence:

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="" />


3. Developer problem resolved, when they tried decreasing the user account control settings level.
 
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us