Technote

(FAQ)
Uploading a catalog while using Feature Pack 2 with WAS V6.0.x results in an overflow error
Problem
You are using WebSphere Commerce V 6.0 Feature Pack 2 with WAS V6.0.x While publishing a catalog, you receive the following exception:

[5/20/07 3:46:41:757 GMT+08:00] 00000033 CommerceSrvr E com.ibm.commerce.command.ECCommandTarget executeCommand CMN0420E: The following command exception has occurred during processing: "java.lang.StackOverflowError".java.lang.StackOverflowError
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMNode.lastPos(Unknown Source)
at org.apache.xerces.impl.dtd.models.CMBinOp.calcLastPos(Unknown Source)
Cause
The Apache Xerces Parser throws StackOverFlowError when handling a tree with deep nodes.
Solution
Perform the following steps before attempting the Catalog Upload feature on AIX:

  1. Open the WAS Administration Console:
    http://hostname:9090/admin

  2. Expand Servers > Application Servers > servername > process definition >Java Virtual Machine > Generic JVM arguments.

  3. At the end of the Generic JVM arguments field, add the following line:
    -Xss5m

  4. Stop and restart the Application Server.

 

Document Information

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