Getting Content is not allowed in prolog message in console window when running sample TxM client app (Legacy_Onyx KB Id: 196234)

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

Description:

Customer is running tutorial from TransactionMinder 6.0 on a Solaris machine. He is able to post to WebServiceA which is protected by DCC Auth scheme and get back SAML session ticket response, however he fails on the redirect to WebServiceB which is protected by the SAML session ticket auth scheme. He sees the following error printed out in the console window from which the sample client application runs:

[Fatal Error] :1:1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at b5.a(DashoA8550)
at b2.&ltinit>(DashoA8550)
at b2.a(DashoA8550)
at t.a(DashoA8550)
at al.actionPerformed(DashoA8550)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


The policy server trace log (smtracedefault.log) shows the following message indicating that the user is not being disambiguated on the login call to WebServiceB:

Evaluating OnAuthAttempt policy...|asgsm1-tm|/txmdemo/tmb/WebServiceB||Sm_Auth_Message.cpp:946|12/14/2004|CSm_Auth_Message::AuthenticateUser||||Shipping Realm|||Bod User Store