[jboss-user] [JBoss jBPM] - 'Errors' in atm sample applications
nchary
do-not-reply at jboss.com
Wed Apr 23 11:02:13 EDT 2008
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
More information about the jboss-user
mailing list