Uploaded image for project: 'ZZZ-WSO2 ESB'
  1. ZZZ-WSO2 ESB
  2. ESBJAVA-1777

UT fails in a fresh ESB pack. Works as expected if u restart the server once.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 4.6.0
    • Fix Version/s: 4.6.0
    • Component/s: Core Engine
    • Labels:
      None
    • Environment:

      wso2esb-4.6.0 - 22nd Jan 2013 packs

    • Severity:
      Blocker
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Not-applicable

      Description

      [2013-01-23 09:44:22,117] ERROR - NativeWorkerPool Uncaught exception
      org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not have children other than SOAP Header and Body
      at org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.checkChild(SOAPEnvelopeImpl.java:110)
      at org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.insertBefore(SOAPEnvelopeImpl.java:164)
      at org.apache.ws.security.util.WSSecurityUtil.prependChildElement(WSSecurityUtil.java:646)
      at org.apache.ws.security.util.WSSecurityUtil.findWsseSecurityHeaderBlock(WSSecurityUtil.java:722)
      at org.apache.ws.security.message.WSSecHeader.insertSecurityHeader(WSSecHeader.java:145)
      at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:396)
      at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
      at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
      at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
      at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
      at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
      at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
      at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:161)
      at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:282)
      at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:92)
      at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:71)
      at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
      at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:230)
      at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:443)
      at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:166)
      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
      at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:217)
      at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)

        Attachments

          Activity

            People

            • Assignee:
              dushan@wso2.com dushan abeyruwan
              Reporter:
              sandapa@wso2.com Sandapa Handakumbura
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: