Technote

(troubleshooting)
Parsing error processing resource path /WEB-INF/struts-config-migrate.xml
Problem(Abstract)
When you try to access a WebSphere Commerce view, the following exception stack is thrown into the SystemOut.log:
ActionServlet E org.apache.struts.action.ActionServlet handleConfigException Parsing error processing resource path /WEB-INF/struts-config-migrate.xml
java.lang.NullPointerException
at org.apache.commons.digester.Digester.createSAXException(Digester.java(Inlined Compiled Code))
at org.apache.commons.digester.Digester.createSAXException(Digester.java(Inlined Compiled Code))
at org.apache.commons.digester.Digester.endElement(Digester.java(Compiled Code))
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:750)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:715)
at com.ibm.commerce.struts.ECActionServlet.initModuleConfig(ECActionServlet.java:582)
Cause The struts.jar being used by the WebSphere Commerce application is not the same version that exists in the WebSphere Commerce installation directory. Resolving the problem Validate that each installed WC_eardir/lib/struts.jar is the same as the WC_installdir/lib/struts.jar file.

If there is a mismatch, replace the WC_eardir/lib/struts.jar with the WC_installdir/lib/struts.jar

Also, verify there is no struts.jar in the Stores.war/WEB-INF/lib directory or any WEB-INF/lib directory in any other WC web module.
 

Document Information

Current web document: http://www.ibm.com/support/docview.wss?uid=swg21285980