IBM Support

SAX Parser error on VAS Station while using Websphere Application Server

Troubleshooting


Problem

Scanning a wrong work order on VAS Station UI leads to sax parser exception in IBM Warehouse Management System.

Symptom

Sax Parser exception comes on VAS Station UI whenever user performs a operation which will lead to valid error.
For example: If you enter a wrong work order to scan. Then instead of showing wrong work order error, UI shows sax parser exception.

Cause

UI does not gets the error in the XML format hence it shows Sax Parser exception.

Environment

IBM Sterling SSFS 9.1 and Websphere 7.0

Diagnosing The Problem

The property com.ibm.ws.webcontainer.dispatcherrethrowser in websphere controls if the exception thrown by the included jsp/servlet will be passed on or not. If this property is not set to true then the websphere's RequestDispatcher implementation will consume the exceptions thrown from included jsp/servelet.

VAS Station screen is not a plain JSP screen, VAS station's jsp will load an applet. Now, when the above property is not set to true, error thrown by the applet is consumed by Websphere and the error is not passed to the UI. UI does not gets the error in the XML format hence it shows Sax Parser exception.

Resolving The Problem

Set following custom property to true in websphere application server
----------------------------------
com.ibm.ws.webcontainer.dispatcherrethrowser=true

----------------------------------

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Warehouse Management System","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
11 February 2020

UID

swg21973141