IBM Support

Error Code 500 - Internal Server Error while accessing the Monitor and Control Web UI on WebSphere 7

Troubleshooting


Problem

The IBM Rational Publishing Engine (RPE) 1.2.1 Web Services installed on WebSphere Application Server (WAS) 7 responds with "500 Server Error".

Symptom

An error Code 500 “Internal Server Error” is shown while accessing the Monitor and Control Web UI on WAS 7.

Opening the WAS logs shows class loading conflicts like the one below.

[9/2/13 18:07:47:138 IST] 00000013 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet RPEMonitor in application rpews_war. Exception created : java.lang.ClassCastException: com.ibm.xml.xlxp2.api.stax.XMLOutputFactoryImpl incompatible with javax.xml.stream.XMLOutputFactory

Cause

The JRE used by WAS 7 ships with an XML stack that conflicts with the stack bundled in the RPE Web Services.

Environment

IBM WebSphere 7

Resolving The Problem

Before attempting the solution highlighted below, ensure the IBM WebSphere deployment is correct and RPE is deployed properly: class loading settings, security settings and user roles mappings are all correct.

If all settings are correct than you need to do the following:

  1. Stop WAS

  2. Change the RPE class loading options (as indicated the following image)



  3. Locate the RPE Web Service installation folder in WAS

  4. Delete xerces-impl*.jar and xml-apis*.jar from the web-inf/lib folder

  5. Restart WebSphere

[{"Product":{"code":"SSUBFB","label":"IBM Engineering Lifecycle Optimization - Publishing"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"1.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Publishing Engine

Document Information

Modified date:
16 June 2018

UID

swg21659880