Support Article
Incorrect clipboard display on left pane
SA-301
Summary
The left pane of PRPC clipboard was not displayed correctly.
Error Messages
The following exceptions were found in Pega log:
org.apache.xml.serializer.utils.WrappedRuntimeException: org.apache.xml.serializer.ToXMLSAXHandler cannot be cast to org.apache.xml.serializer.SerializationHandler
at org.apache.xml.serializer.SerializerFactory.getSerializer(SerializerFactory.java:179)
.
.
.
Steps to Reproduce
1. Add the third-party jar file that has the SerializationHandler and ToXMLSAXHandler classes.
2. Remove the marker file, and restart Tomcat.
Root Cause
This is a class conflict issue. These classes are in the serializer jar, which is in pr_engineclasses loaded to the database. If different versions of these classes are in the third-party jar, which is added to the /tomcat/lib folder, the WrappedRuntimeException will be thrown.
Resolution
Perform the following local-change:
1. Add the serializer-2.7.1.jar, which can be found in PRPC installation package, to the Tomcat endorsed directory.
2. Restart Tomcat.
The Tomcat endorsed directory is specified by the -Djava.endorsed.dirs argument. The default value of this option is $CATALINA_HOME/endorsed.
Published April 1, 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.