Identity Manager - JBoss SAX Parser Error after installation or Upgrade.

Document ID : KB000022703
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

After running the IM r12.5sp2 installation or upgrade the following SAX Parser error is thrown during the JBoss Startup sequence preventing Identity Manager from starting up:

[org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@713594c6
{url=file:/C:/jboss-4.2.3/server/default/deploy/IdentityMinder.ear/, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Error parsing meta data
file:/C:/jboss-4.2.3/server/default/deploy/IdentityMinder.ear/workflow.rar/META-INF/ra.xml; - nested throwable:
(org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser) 
 
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized.

Solution:

To resolve this issue:

  1. Copy out the xercesImpl.jar file from jboss\server\default\deploy\identityminder.ear\library folder.
  2. Restart the JBoss App Server.

Identity Manager should start up properly.

As per link below, 'xercesImpl.jar' doesn't need to be packaged with the application.
http://www.jboss.org/community/wiki/WhydoigetjavalangClassCastExceptionorgapachexercesparsersXIncludeAwareParserConfigurationinAS-5.

Jboss uses its own 'xercesImpl.jar' file from the "C:\jboss-4.2.3.GA\lib\endorsed" directory.