[JBoss jBPM] - 'Errors' in atm sample applications
by nchary
Hello All,
I have configured JBoss and all required components as per documentation provided and able to run 'HelloWorld' sample application succesfully. When I am running 'atm' sample application, I am sucessfully able to perform 'ant test' too, but target output xml file has few errors as follows:
<?xml version="1.0" encoding="UTF-8" ?>
<system-out><![CDATA[19:20:00,838 DEBUG [SecurityAssociation] Using ThreadLocal: false
19:20:02,479 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:02,526 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:02,526 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:02,901 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>36
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:03,323 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:03,338 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#status", Content-Type=text/xml; charset=UTF-8}}
19:20:03,338 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:status xmlns:ns1='http://jbpm.org/examples/atm'>
36</ns1:status></env:Body></env:Envelope>
19:20:03,557 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:statusResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
connected
</operationNS:statusResponse></env:Body></env:Envelope>
19:20:03,557 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:03,557 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:03,557 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
36</ns1:disconnect></env:Body></env:Envelope>
19:20:04,260 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:04,260 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:04,260 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:04,370 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>37
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:04,370 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:04,385 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOn", Content-Type=text/xml; charset=UTF-8}}
19:20:04,385 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOn xmlns:ns1='http://jbpm.org/examples/atm'>
37koen</ns1:logOn></env:Body></env:Envelope>
19:20:04,635 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:logOnResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
</operationNS:logOnResponse></env:Body></env:Envelope>
19:20:04,635 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:04,651 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOff", Content-Type=text/xml; charset=UTF-8}}
19:20:04,651 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOff xmlns:ns1='http://jbpm.org/examples/atm'>
koen</ns1:logOff></env:Body></env:Envelope>
19:20:04,698 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:04,713 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:04,713 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
37</ns1:disconnect></env:Body></env:Envelope>
19:20:05,167 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:05,167 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:05,167 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:05,323 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>38
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:05,323 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:05,338 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOn", Content-Type=text/xml; charset=UTF-8}}
19:20:05,338 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOn xmlns:ns1='http://jbpm.org/examples/atm'>
38nobody</ns1:logOn></env:Body></env:Envelope>
19:20:05,667 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
env:Client
Business logic fault
<defaultNS:unauthorizedAccess xmlns:defaultNS='http://jbpm.org/examples/atm'>
<customerName xmlns:ns1='http://jbpm.org/examples/atm'>nobody
</defaultNS:unauthorizedAccess>
</env:Fault></env:Body></env:Envelope>
19:20:05,682 DEBUG [SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=Business logic fault,actor=null,detail=detail]
19:20:05,729 ERROR [CallImpl] Call invocation failed with SOAPFaultException
javax.xml.rpc.soap.SOAPFaultException: Business logic fault
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100)
at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:486)
at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:702)
at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
at $Proxy3.logOn(Unknown Source)
at org.jbpm.bpel.tutorial.atm.AtmFrontEndTest.testLogOnUnauthorized(AtmFrontEndTest.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
Caused by: org.jbpm.bpel.tutorial.atm.UnauthorizedAccess: nobody
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jboss.xb.binding.group.ValueListHandler$2.newInstance(ValueListHandler.java:310)
at org.jboss.xb.binding.group.ValueListHandler$2.newInstance(ValueListHandler.java:177)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:666)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:133)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBParser.java:273)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:152)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126)
at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:63)
at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92)
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:144)
... 25 more
19:20:05,729 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:05,729 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:05,729 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
38</ns1:disconnect></env:Body></env:Envelope>
19:20:06,323 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:06,323 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:06,323 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:06,542 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>39
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:06,557 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:06,557 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOn", Content-Type=text/xml; charset=UTF-8}}
19:20:06,557 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOn xmlns:ns1='http://jbpm.org/examples/atm'>
39tom</ns1:logOn></env:Body></env:Envelope>
19:20:07,011 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:logOnResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
</operationNS:logOnResponse></env:Body></env:Envelope>
19:20:07,011 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:07,011 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#getBalance", Content-Type=text/xml; charset=UTF-8}}
19:20:07,026 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:getBalance xmlns:ns1='http://jbpm.org/examples/atm'>
tom</ns1:getBalance></env:Body></env:Envelope>
19:20:07,370 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:getBalanceResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<balance xmlns:ns1='http://jbpm.org/examples/account'>70.0
</operationNS:getBalanceResponse></env:Body></env:Envelope>
19:20:07,370 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:07,386 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#deposit", Content-Type=text/xml; charset=UTF-8}}
19:20:07,386 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:deposit xmlns:ns1='http://jbpm.org/examples/atm'>
tom10.0</ns1:deposit></env:Body></env:Envelope>
19:20:07,776 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:depositResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<balance xmlns:ns1='http://jbpm.org/examples/account'>80.0
</operationNS:depositResponse></env:Body></env:Envelope>
19:20:07,776 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:07,792 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOff", Content-Type=text/xml; charset=UTF-8}}
19:20:07,792 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOff xmlns:ns1='http://jbpm.org/examples/atm'>
tom</ns1:logOff></env:Body></env:Envelope>
19:20:07,823 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:07,823 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:07,823 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
39</ns1:disconnect></env:Body></env:Envelope>
19:20:08,308 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:08,308 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:08,308 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:08,620 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>40
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:08,620 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:08,620 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOn", Content-Type=text/xml; charset=UTF-8}}
19:20:08,620 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOn xmlns:ns1='http://jbpm.org/examples/atm'>
40alex</ns1:logOn></env:Body></env:Envelope>
19:20:09,152 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:logOnResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
</operationNS:logOnResponse></env:Body></env:Envelope>
19:20:09,152 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:09,152 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#getBalance", Content-Type=text/xml; charset=UTF-8}}
19:20:09,152 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:getBalance xmlns:ns1='http://jbpm.org/examples/atm'>
alex</ns1:getBalance></env:Body></env:Envelope>
19:20:09,558 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:getBalanceResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<balance xmlns:ns1='http://jbpm.org/examples/account'>60.0
</operationNS:getBalanceResponse></env:Body></env:Envelope>
19:20:09,558 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:09,574 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#withdraw", Content-Type=text/xml; charset=UTF-8}}
19:20:09,574 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:withdraw xmlns:ns1='http://jbpm.org/examples/atm'>
alex10.0</ns1:withdraw></env:Body></env:Envelope>
19:20:09,949 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:withdrawResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<balance xmlns:ns1='http://jbpm.org/examples/account'>50.0
</operationNS:withdrawResponse></env:Body></env:Envelope>
19:20:09,949 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:09,949 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOff", Content-Type=text/xml; charset=UTF-8}}
19:20:09,964 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOff xmlns:ns1='http://jbpm.org/examples/atm'>
alex</ns1:logOff></env:Body></env:Envelope>
19:20:09,980 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:09,995 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:09,995 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
40</ns1:disconnect></env:Body></env:Envelope>
19:20:10,371 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:10,371 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:10,371 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:10,496 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>41
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:10,496 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:10,496 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOn", Content-Type=text/xml; charset=UTF-8}}
19:20:10,496 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOn xmlns:ns1='http://jbpm.org/examples/atm'>
41fady</ns1:logOn></env:Body></env:Envelope>
19:20:10,918 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:logOnResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
</operationNS:logOnResponse></env:Body></env:Envelope>
19:20:10,918 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:10,933 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#getBalance", Content-Type=text/xml; charset=UTF-8}}
19:20:10,933 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:getBalance xmlns:ns1='http://jbpm.org/examples/atm'>
fady</ns1:getBalance></env:Body></env:Envelope>
19:20:11,433 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:getBalanceResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<balance xmlns:ns1='http://jbpm.org/examples/account'>50.0
</operationNS:getBalanceResponse></env:Body></env:Envelope>
19:20:11,433 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:11,433 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#withdraw", Content-Type=text/xml; charset=UTF-8}}
19:20:11,433 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:withdraw xmlns:ns1='http://jbpm.org/examples/atm'>
fady51.0</ns1:withdraw></env:Body></env:Envelope>
19:20:11,808 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
env:Client
Business logic fault
<defaultNS:insufficientFunds xmlns:defaultNS='http://jbpm.org/examples/atm'>
<customerName xmlns:ns1='http://jbpm.org/examples/atm'>fady
<amount xmlns:ns1='http://jbpm.org/examples/account'>50.0
</defaultNS:insufficientFunds>
</env:Fault></env:Body></env:Envelope>
19:20:11,808 DEBUG [SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=Business logic fault,actor=null,detail=detail]
19:20:11,824 ERROR [CallImpl] Call invocation failed with SOAPFaultException
javax.xml.rpc.soap.SOAPFaultException: Business logic fault
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100)
at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:486)
at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:702)
at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
at $Proxy3.withdraw(Unknown Source)
at org.jbpm.bpel.tutorial.atm.AtmFrontEndTest.testWithdrawOverBalance(AtmFrontEndTest.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
Caused by: org.jbpm.bpel.tutorial.atm.InsufficientFunds: fady
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jboss.xb.binding.group.ValueListHandler$2.newInstance(ValueListHandler.java:310)
at org.jboss.xb.binding.group.ValueListHandler$2.newInstance(ValueListHandler.java:177)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:666)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:133)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBParser.java:273)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:152)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126)
at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:63)
at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92)
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:144)
... 25 more
19:20:11,824 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:11,824 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOff", Content-Type=text/xml; charset=UTF-8}}
19:20:11,824 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOff xmlns:ns1='http://jbpm.org/examples/atm'>
fady</ns1:logOff></env:Body></env:Envelope>
19:20:11,871 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:11,871 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:11,871 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
41</ns1:disconnect></env:Body></env:Envelope>
]]></system-out>
<system-err><![CDATA[[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
]]></system-err>
Please some one try to help on fixing this or let me know, whether this is error or not.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146224#4146224
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146224
18 years
[JBoss jBPM] - 'Errors' in atm sample applications
by nchary
Hello All,
I have configured JBoss and all required components as per documentation provided and able to run 'HelloWorld' sample application succesfully. When I am running 'atm' sample application, I am sucessfully able to perform 'ant test' too, but target output xml file has few errors as follows:
<?xml version="1.0" encoding="UTF-8" ?>
<system-out><![CDATA[19:20:00,838 DEBUG [SecurityAssociation] Using ThreadLocal: false
19:20:02,479 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:02,526 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:02,526 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:02,901 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>36
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:03,323 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:03,338 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#status", Content-Type=text/xml; charset=UTF-8}}
19:20:03,338 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:status xmlns:ns1='http://jbpm.org/examples/atm'>
36</ns1:status></env:Body></env:Envelope>
19:20:03,557 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:statusResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
connected
</operationNS:statusResponse></env:Body></env:Envelope>
19:20:03,557 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:03,557 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:03,557 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
36</ns1:disconnect></env:Body></env:Envelope>
19:20:04,260 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:04,260 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:04,260 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:04,370 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>37
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:04,370 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:04,385 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOn", Content-Type=text/xml; charset=UTF-8}}
19:20:04,385 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOn xmlns:ns1='http://jbpm.org/examples/atm'>
37koen</ns1:logOn></env:Body></env:Envelope>
19:20:04,635 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:logOnResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
</operationNS:logOnResponse></env:Body></env:Envelope>
19:20:04,635 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:04,651 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOff", Content-Type=text/xml; charset=UTF-8}}
19:20:04,651 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOff xmlns:ns1='http://jbpm.org/examples/atm'>
koen</ns1:logOff></env:Body></env:Envelope>
19:20:04,698 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:04,713 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:04,713 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
37</ns1:disconnect></env:Body></env:Envelope>
19:20:05,167 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:05,167 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:05,167 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:05,323 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>38
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:05,323 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:05,338 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOn", Content-Type=text/xml; charset=UTF-8}}
19:20:05,338 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOn xmlns:ns1='http://jbpm.org/examples/atm'>
38nobody</ns1:logOn></env:Body></env:Envelope>
19:20:05,667 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
env:Client
Business logic fault
<defaultNS:unauthorizedAccess xmlns:defaultNS='http://jbpm.org/examples/atm'>
<customerName xmlns:ns1='http://jbpm.org/examples/atm'>nobody
</defaultNS:unauthorizedAccess>
</env:Fault></env:Body></env:Envelope>
19:20:05,682 DEBUG [SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=Business logic fault,actor=null,detail=detail]
19:20:05,729 ERROR [CallImpl] Call invocation failed with SOAPFaultException
javax.xml.rpc.soap.SOAPFaultException: Business logic fault
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100)
at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:486)
at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:702)
at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
at $Proxy3.logOn(Unknown Source)
at org.jbpm.bpel.tutorial.atm.AtmFrontEndTest.testLogOnUnauthorized(AtmFrontEndTest.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
Caused by: org.jbpm.bpel.tutorial.atm.UnauthorizedAccess: nobody
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jboss.xb.binding.group.ValueListHandler$2.newInstance(ValueListHandler.java:310)
at org.jboss.xb.binding.group.ValueListHandler$2.newInstance(ValueListHandler.java:177)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:666)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:133)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBParser.java:273)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:152)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126)
at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:63)
at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92)
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:144)
... 25 more
19:20:05,729 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:05,729 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:05,729 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
38</ns1:disconnect></env:Body></env:Envelope>
19:20:06,323 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:06,323 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:06,323 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:06,542 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>39
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:06,557 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:06,557 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOn", Content-Type=text/xml; charset=UTF-8}}
19:20:06,557 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOn xmlns:ns1='http://jbpm.org/examples/atm'>
39tom</ns1:logOn></env:Body></env:Envelope>
19:20:07,011 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:logOnResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
</operationNS:logOnResponse></env:Body></env:Envelope>
19:20:07,011 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:07,011 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#getBalance", Content-Type=text/xml; charset=UTF-8}}
19:20:07,026 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:getBalance xmlns:ns1='http://jbpm.org/examples/atm'>
tom</ns1:getBalance></env:Body></env:Envelope>
19:20:07,370 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:getBalanceResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<balance xmlns:ns1='http://jbpm.org/examples/account'>70.0
</operationNS:getBalanceResponse></env:Body></env:Envelope>
19:20:07,370 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:07,386 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#deposit", Content-Type=text/xml; charset=UTF-8}}
19:20:07,386 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:deposit xmlns:ns1='http://jbpm.org/examples/atm'>
tom10.0</ns1:deposit></env:Body></env:Envelope>
19:20:07,776 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:depositResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<balance xmlns:ns1='http://jbpm.org/examples/account'>80.0
</operationNS:depositResponse></env:Body></env:Envelope>
19:20:07,776 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:07,792 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOff", Content-Type=text/xml; charset=UTF-8}}
19:20:07,792 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOff xmlns:ns1='http://jbpm.org/examples/atm'>
tom</ns1:logOff></env:Body></env:Envelope>
19:20:07,823 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:07,823 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:07,823 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
39</ns1:disconnect></env:Body></env:Envelope>
19:20:08,308 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:08,308 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:08,308 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:08,620 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>40
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:08,620 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:08,620 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOn", Content-Type=text/xml; charset=UTF-8}}
19:20:08,620 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOn xmlns:ns1='http://jbpm.org/examples/atm'>
40alex</ns1:logOn></env:Body></env:Envelope>
19:20:09,152 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:logOnResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
</operationNS:logOnResponse></env:Body></env:Envelope>
19:20:09,152 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:09,152 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#getBalance", Content-Type=text/xml; charset=UTF-8}}
19:20:09,152 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:getBalance xmlns:ns1='http://jbpm.org/examples/atm'>
alex</ns1:getBalance></env:Body></env:Envelope>
19:20:09,558 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:getBalanceResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<balance xmlns:ns1='http://jbpm.org/examples/account'>60.0
</operationNS:getBalanceResponse></env:Body></env:Envelope>
19:20:09,558 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:09,574 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#withdraw", Content-Type=text/xml; charset=UTF-8}}
19:20:09,574 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:withdraw xmlns:ns1='http://jbpm.org/examples/atm'>
alex10.0</ns1:withdraw></env:Body></env:Envelope>
19:20:09,949 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:withdrawResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<balance xmlns:ns1='http://jbpm.org/examples/account'>50.0
</operationNS:withdrawResponse></env:Body></env:Envelope>
19:20:09,949 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:09,949 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOff", Content-Type=text/xml; charset=UTF-8}}
19:20:09,964 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOff xmlns:ns1='http://jbpm.org/examples/atm'>
alex</ns1:logOff></env:Body></env:Envelope>
19:20:09,980 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:09,995 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:09,995 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
40</ns1:disconnect></env:Body></env:Envelope>
19:20:10,371 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:10,371 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#connect", Content-Type=text/xml; charset=UTF-8}}
19:20:10,371 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:connect xmlns:ns1='http://jbpm.org/examples/atm'>
</ns1:connect></env:Body></env:Envelope>
19:20:10,496 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:connectResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<ticketNo xmlns:ns1='http://jbpm.org/examples/ticket'>41
</operationNS:connectResponse></env:Body></env:Envelope>
19:20:10,496 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:10,496 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOn", Content-Type=text/xml; charset=UTF-8}}
19:20:10,496 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOn xmlns:ns1='http://jbpm.org/examples/atm'>
41fady</ns1:logOn></env:Body></env:Envelope>
19:20:10,918 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:logOnResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
</operationNS:logOnResponse></env:Body></env:Envelope>
19:20:10,918 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:10,933 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#getBalance", Content-Type=text/xml; charset=UTF-8}}
19:20:10,933 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:getBalance xmlns:ns1='http://jbpm.org/examples/atm'>
fady</ns1:getBalance></env:Body></env:Envelope>
19:20:11,433 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<operationNS:getBalanceResponse xmlns:operationNS='http://jbpm.org/examples/atm'>
<balance xmlns:ns1='http://jbpm.org/examples/account'>50.0
</operationNS:getBalanceResponse></env:Body></env:Envelope>
19:20:11,433 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:11,433 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#withdraw", Content-Type=text/xml; charset=UTF-8}}
19:20:11,433 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:withdraw xmlns:ns1='http://jbpm.org/examples/atm'>
fady51.0</ns1:withdraw></env:Body></env:Envelope>
19:20:11,808 DEBUG [SOAPMessage] Incomming Response SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
env:Client
Business logic fault
<defaultNS:insufficientFunds xmlns:defaultNS='http://jbpm.org/examples/atm'>
<customerName xmlns:ns1='http://jbpm.org/examples/atm'>fady
<amount xmlns:ns1='http://jbpm.org/examples/account'>50.0
</defaultNS:insufficientFunds>
</env:Fault></env:Body></env:Envelope>
19:20:11,808 DEBUG [SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=Business logic fault,actor=null,detail=detail]
19:20:11,824 ERROR [CallImpl] Call invocation failed with SOAPFaultException
javax.xml.rpc.soap.SOAPFaultException: Business logic fault
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100)
at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:486)
at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:702)
at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
at $Proxy3.withdraw(Unknown Source)
at org.jbpm.bpel.tutorial.atm.AtmFrontEndTest.testWithdrawOverBalance(AtmFrontEndTest.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
Caused by: org.jbpm.bpel.tutorial.atm.InsufficientFunds: fady
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jboss.xb.binding.group.ValueListHandler$2.newInstance(ValueListHandler.java:310)
at org.jboss.xb.binding.group.ValueListHandler$2.newInstance(ValueListHandler.java:177)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:666)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:133)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBParser.java:273)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:152)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126)
at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:63)
at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92)
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:144)
... 25 more
19:20:11,824 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:11,824 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#logOff", Content-Type=text/xml; charset=UTF-8}}
19:20:11,824 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:logOff xmlns:ns1='http://jbpm.org/examples/atm'>
fady</ns1:logOff></env:Body></env:Envelope>
19:20:11,871 DEBUG [SOAPConnectionImpl] Get locator for: [addr=http://dtapp0579:8080/atm/FrontEnd,props={javax.xml.rpc.service.endpoint.address=http://dtapp0579:8080/atm/FrontEnd}]
19:20:11,871 DEBUG [SOAPMessage] Remoting meta data: {HEADER={SOAPAction="http://jbpm.org/examples/atm#disconnect", Content-Type=text/xml; charset=UTF-8}}
19:20:11,871 DEBUG [SOAPMessage] Outgoing SOAPMessage
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:disconnect xmlns:ns1='http://jbpm.org/examples/atm'>
41</ns1:disconnect></env:Body></env:Envelope>
]]></system-out>
<system-err><![CDATA[[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
]]></system-err>
Please some one try to help on fixing this or let me know, whether this is error or not.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146222#4146222
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146222
18 years
[JBoss jBPM] - Re: Duplication of processDefinition
by npe
Hi,
Thanks for the reply. I didn't know about deep copy and all this stuff so I had a look at it. I tried to use this library : http://sourceforge.net/projects/beanlib/
in order to create a process Definition copy.
Then, I bumped into a problem quite unexpected :
In process definition there are two setters for startState :
| public void setStartState(Node startState) {
| this.startState = startState;
| }
|
and
| public void setStartState(StartState startState) {
| if ( (this.startState!=startState)
| && (this.startState!=null) ){
| removeNode(this.startState);
| }
| this.startState = startState;
| if (startState!=null) {
| addNode(startState);
| }
| }
|
The thing is that the getStartState returns a node (actually I really don't understand why a node and not a StartState and why the startState property is a node and not a StartState as well... ) and so processDefinition is not exactly a bean and the library I tried to use fail to copy because it tries to do :
| newObject.setStartState(oldObject.getStartState());
|
with the method taking a startState.
I am really wondering what are the technical reasons of such a thing.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146215#4146215
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146215
18 years
[EJB 3.0] - How to intercept EJBs residing in another jar-file?
by raoul.schmidiger
Hi all
I have got an ear-file with the following structure:
- myapp.ear
----- app1.jar
----- mylib.jar
Both jar-files contain a bunch of EJBs. However, the EJBs in app1.jar use some EJBs residing in mylib.jar. They get injected where needed with the @EJB annotation.
In order to have all EJBs in the two jar-files deployed the two jar files are defined as modules in the application.xml file, residing in the META-INF folder of the ear-file.
So far so good. The issue that I have got now is that I would like to intercept any method call to any of the EJBs within my project. The interception should be performed by a class which is in the app1.jar file. For this purpose I added the following definition in the ejb-jar.xml file of the app1.jar file:
<assembly-descriptor>
| <interceptor-binding>
| <ejb-name>*</ejb-name>
| <interceptor-class>
| com.myApp.GlobalInterceptor
| </interceptor-class>
| </interceptor-binding>
| </assembly-descriptor>
This works fine for all EJBs that are in the same jar like the ejb-jar.xml file (app1.jar). However, any method call to an EJB in mylib.jar is not intercepted at all.
What do I have to change in order the have also the method calls with the EJBs in the mylib.jar file intercepted? An extensive search on google and in the jBoss forum did not reveal any solution for my problem. Either nobody has ever tried to do this, or I am just missing something!
Any help is highly appreciated!
Thank you very much!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146212#4146212
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146212
18 years
[JBoss jBPM] - Re: Identifying tokens
by twiceknightly
"salaboy21" wrote : can you explain a little more what are you trying to achive?
| because you can get the token with
| processInstance.getRootToken()
| and then .signal()...
|
Yes I am using that to signal the root token but I am thinking now what if I need to signal another token. How do I know which one to signal.
I want to retrieve exactly where I am in a overall process at any one time i.e. which nodes I am at in all execution threads of the process. I am currently performing something like this
| Token token = processInstance.getRootToken()
| String nodeName = token.getNode().getName() ;
|
Obviously though this is only any good if there is only one route through the process. I would like to return a list of tokens and the associated node name they are currently at.
The reason I am doing this is as follows. I have a client/server setup. The server component is an EJB wrapping the jbpm in a command pattern.
So for example the client would send a SignalProcessDTO holding the transition name, processInstanceId etc to the server. The server will detect the type of payload and run a signal process command. The signal process command will use the info in the DTO to get the process instance and then perform the signal.
I am delivering an adapter jar to the client (a web app). The adapter makes the interface to the server simple. Through the adapter the client is exposed to a very simple API. Essentially it allows them to say one of two things
- Can I make this transition.
- Perform this transition.
. Hence the reason I want to pull back the list of tokens, to determine which "actions" in my adapter can be performed given the currrent state of the process.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146211#4146211
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146211
18 years