StreamServ Composition Center preview is not working

Document ID : KB000109324
Last Modified Date : 07/08/2018
Show Technical Document Details
Issue:
We Installed the Tomcat agent on a StreamServ instance. Now getting issues with some documents when previewing it. Issue Composition center preview is not working after enabling Wily APM Introscope agent. Composition Center is part of StreamStudio application which runs on Tomcat.

Error message -

Caused by: org.apache.axis2.AxisFault: Error in extracting message properties 
at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:70) 
at org.apache.axis2.engine.Phase.invoke(Phase.java:318) 
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254) 
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:419) 
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402) 
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) 
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) 
at com.streamserve.ws.message.axis2.content.WSDocumentContentMTOMStub.createDocuments(WSDocumentContentMTOMStub.java:1726) 
at com.streamserve.ws.message.axis2.Axis2MessageService.createMessage(Axis2MessageService.java:3830) 
... 118 more 
Caused by: org.apache.rampart.RampartException: Error in extracting message properties 
at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:389) 
at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61) 
at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64) 
... 126 more 
Caused by: org.apache.ws.security.WSSecurityException: Error in converting SOAP Envelope to Document 
at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:161) 
at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:273) 
... 128 more 
Caused by: java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to org.apache.axiom.soap.SOAPHeaderBlock 
at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:111) 
Environment:
APM 10.5
Cause:
Steamserv inserts additional SOAP headers used by APM.
Resolution:
 Edit the configuration file IntroscopeAgent.profile and disable insertion of additional SOAP headers by setting the following property and restarting SteamServ:

com.wily.introscope.agent.soapheaderinsertion.enabled=false