Support Article
Getting error exporting Process Flow as XPDL
SA-1576
Summary
Getting error exporting Process Flow as XPDL on WebSphere Application Server
Error Messages
The content of the export.xml:
com.ibm.xtq.xslt.jaxp.HandledRuntimeException: [ERR 0512] Cannot continue because of stylesheet errors.
Steps to Reproduce
- Open any Process Flow in PRPC. For example the EditReport flow in the PegaSample application
- Go to the Design tab and click on XPDL button
- Download the export.xml
Root Cause
This is a class conflict issue in PRPC running on WebSphere Application Server
Resolution
The Export to XPDL functionality works with Tomcat and Web Logic Application servers, but to use it with WebSphere Application Server, you will need to make the following configuration changes:
- Download the xalan-j_2_7_1-bin.zip from
http://archive.apache.org/dist/xml/xalan-j/binaries/
- Extract the downloaded zip file
- Copy the xalan.jar and xercesImpl.jar from the extracted folder and place them in the WebSphere endorsed directory (<WAS_HOME>\java\jre\lib\endorsed). You will need to create the endorsed directory if it does not exist.
- Set the following JVM Argument "-Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.TransformerFactoryImpl" in the Websphere JVM Settings
- Restart the Application Server
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.