Uploaded image for project: 'RiftSaw'
  1. RiftSaw
  2. RIFTSAW-56

Error when deploying webservice_esb_bpel as single .esb

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.0-M1
    • Fix Version/s: 2.0-CR2
    • Component/s: Examples
    • Labels:
      None

      Description

      When webservice_esb_bpel is deployed using ant, the components of the example are deployed separately - order-manager.war, order-manager-service.jar, shipping-service.jar and Quickstart_webservice_esb_bpel.esb.

      However, when deployed via Eclipse as a single .esb, so the jars and war are contained within the .esb (at the top level), they do not get deployed by default.

      The attached jboss-structure.xml file needs to be placed in the .esb META-INF folder to enable the various artifacts to be detected by the deployer.

      However when this is done, the example fails to run - after the example message is sent, it results in:

      10:01:52,411 INFO [STDOUT] [Quickstart_webservice_bpel] Message before invoking 'ABI_OrderManager' endpoint:
      10:01:52,463 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header>
      <addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://localhost:8865</addr:To>
      <addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"/>
      <addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing">
      <addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address>
      </addr:ReplyTo>
      <addr:MessageID xmlns:addr="http://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr4kr9q5fguj1</addr:MessageID>
      <odesession:callback xmlns:odesession="http://www.intalio.com/type/session">
      <addr:Address xmlns:addr="http://www.w3.org/2005/08/addressing">http://localhost:8080/bpel/processes/RetailerCallback</addr:Address>
      <odesession:session>hqejbhcnphr4kr9q5fguiv</odesession:session>
      </odesession:callback>
      </soapenv:Header>
      <soapenv:Body>
      <customerOrder xmlns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager">
      <ns:header xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager">
      <ns1:billTerms xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd"/>
      <ns1:billTo xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">
      <ns1:address>
      <ns1:city>Shelton</ns1:city>
      <ns1:state>CT</ns1:state>
      <ns1:street1>160 Active Lane</ns1:street1>
      <ns1:street2/>
      <ns1:zip>06484</ns1:zip>
      </ns1:address>
      <ns1:company>Active Steel</ns1:company>
      <ns1:contact>
      <ns1:email>bob@activeSteel.com</ns1:email>
      <ns1:fax>(203) 555-1235</ns1:fax>
      <ns1:name>Bob Active</ns1:name>
      <ns1:phone>(203) 555-1234</ns1:phone>
      </ns1:contact>
      </ns1:billTo>
      <ns1:customerNumber xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">123456</ns1:customerNumber>
      <ns1:orderDate xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">2006-05-01T00:00:00.000Z </ns1:orderDate>
      <ns1:orderTotal xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">88500.00</ns1:orderTotal>
      <ns1:poNumber xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">PO000123</ns1:poNumber>
      <ns1:shipTerms xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd"/>
      <ns1:shipTo xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">
      <ns1:address>
      <ns1:city>Shelton</ns1:city>
      <ns1:state>CT</ns1:state>
      <ns1:street1>160 Active Lane</ns1:street1>
      <ns1:street2/>
      <ns1:zip>06484</ns1:zip>
      </ns1:address>
      <ns1:company>Active Steel</ns1:company>
      <ns1:contact>
      <ns1:email>bob@activeSteel.com</ns1:email>
      <ns1:fax>(203) 555-1235</ns1:fax>
      <ns1:name>Bob Active</ns1:name>
      <ns1:phone>(203) 555-1234</ns1:phone>
      </ns1:contact>
      </ns1:shipTo>
      </ns:header>
      <ns:items xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager">
      <ns1:description xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">Flat 16 feet 100 count</ns1:description>
      <ns1:extensionAmount xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">24500.00</ns1:extensionAmount>
      <ns1:partNumber xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">FLT16100</ns1:partNumber>
      <ns1:price xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">490.00</ns1:price>
      <ns1:quantity xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">50</ns1:quantity>
      </ns:items>
      </customerOrder>
      </soapenv:Body>
      </soapenv:Envelope>
      ].
      10:01:52,583 INFO [STDOUT] ERROR - SoapExternalService.invoke(205) | Error sending message to Axis2 for ODE mex

      {PartnerRoleMex#hqejbhcnphr4kr9q5fguiw [PID null] calling org.apache.ode.il.epr.WSAEndpoint@4dee00.customerOrder(...)}

      org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'o' (code 111) in prolog; expected '<'
      at [row,col

      {unknown-source}]: [1,1]
      at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
      at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:90)
      at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:353)
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
      at org.apache.ode.axis2.soapbinding.SoapExternalService.invoke(SoapExternalService.java:182)
      at org.apache.ode.axis2.MessageExchangeContextImpl.invokePartnerUnreliable(MessageExchangeContextImpl.java:68)
      at org.apache.ode.bpel.engine.PartnerLinkPartnerRoleImpl$UnreliableInvoker.run(PartnerLinkPartnerRoleImpl.java:345)
      at org.apache.ode.bpel.engine.ODEProcess$ProcessRunnable.run(ODEProcess.java:1225)
      at org.apache.ode.bpel.engine.BpelServerImpl$ServerRunnable.run(BpelServerImpl.java:927)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'o' (code 111) in prolog; expected '<'
      at [row,col {unknown-source}

      ]: [1,1]
      at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:249)
      at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:156)
      at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:105)
      at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:677)
      at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:182)
      at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:112)
      at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:88)
      ... 15 more
      Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'o' (code 111) in prolog; expected '<'
      at [row,col

      {unknown-source}

      ]: [1,1]
      at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
      at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
      at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
      at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:506)
      at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:161)
      ... 21 more
      10:01:52,594 INFO [STDOUT] DEBUG - BpelInstanceWorker.enqueue(55) | enqueue: for instance

      {http://www.jboss.org/samples/bpel/OrderProcess.bpel}

      OrderProcess-1#163840: org.apache.ode.bpel.engine.BpelServerImpl$TransactedRunnable@8b7a9f
      10:01:52,607 INFO [STDOUT] DEBUG - ODEProcess.enqueueRunnable(1136) | enqueuRunnable for process

      {http://www.jboss.org/samples/bpel/OrderProcess.bpel}

      OrderProcess-1: {BpelInstanceWorker for {http://www.jboss.org/samples/bpel/OrderProcess.bp

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  objectiser Gary Brown
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Time Spent - 1 hour Remaining Estimate - 1 day
                    1d
                    Logged:
                    Time Spent - 1 hour Remaining Estimate - 1 day
                    1h