Troubleshooting
Problem
SOA_MessageHandler in 'Sync mode' causes errors in SCC
Symptom
Switching SOA_MessageHandler BP to Sync mode, as recommended in the 'Approaches on Monitoring GIS Cluster with SCC' document, does not work. SCC 5.0.0.1 fails with the following error:
Error Message05 Jan 2010 14:39:25,652 345504225 [SI - tdxfra1(3)] WARN GISUtil - CGIS048E
Error getting data from server. Protocol: HTTP Host Name: 192.168.24.88 Port:
8120 User ID: admin Reason: java.security.PrivilegedActionException:
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/html. Is this an error message instead of a SOAP response?
05 Jan 2010 14:39:25,652 345504225 [SI - tdxfra1(3)] ERROR SI - tdxfra1 -
com.sterlingcommerce.scc.common.
NodeServiceException: CGIS048E Error getting data from server. Protocol: HTTP
Host Name: 192.168.24.88 Port: 8120 User ID: admin Reason: java.security.PrivilegedActionException:
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/html. Is this an error message instead of a SOAP response?
---> nested com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:
java.security.PrivilegedActionException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
---> nested java.security.PrivilegedActionException:
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid
Content-Type:text/html. Is this an error message instead of a SOAP response?
---> nested com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:
Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
Stack Trace:
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at com.sun.xml.internal.messaging.saaj.soap.MessageImpl.identifyContentType(Message
Impl.java:605)
at com.sun.xml.internal.messaging.saaj.soap.MessageFactoryImpl.createMessage(Messag
eFactoryImpl.java:89)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPC
onnection.java:393)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPos
t.run(HttpSOAPConnection.java:169)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPC
onnection.java:140)
at com.sterlingcommerce.scc.agent.services.node.gis.GISUtil.getSOAPResponse(GISUtil
.java:352)
at com.sterlingcommerce.scc.agent.services.node.gis.GISUtil.access$200(GISUtil.java
:33)
at com.sterlingcommerce.scc.agent.services.node.gis.GISUtil$ResponseSetter.run(GISU
til.java:285)
Resolving The Problem
In SOA HTTP Server Adapter configuration:
1> uri /soap should point to bp SOA_MessageHandler. SOA_MessageHandler executes in Async mode.
2> uri /soap-sync should point to bp SOA_MessageHandler_Sync. SOA_MessageHandler_Sync executes in Sync mode.
modified to configure properly, restart of the control center is advisable, although may not be necessary.
Historical Number
NFX8102
Was this topic helpful?
Document Information
Modified date:
10 January 2020
UID
swg21558112