You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by René Bos <re...@rpsoft.nl> on 2007/04/18 16:39:11 UTC
Can't invoke with recent SVN build
Hi,
16 april I successfully build Ode on my own system (have had problems
with previous build). No problems when starting or deploying processes.
Running processes also works fine. Except when I do an invoke to my
own Webservice. The service is contacted, a response is send. But
after that nothing happens and it timesout..
The following is the error I get:
DEBUG - BpelEngineImpl.route(237) | Routed: svcQname
{urn:TaskManager}TaskManagerService --> null
DEBUG - MessageExchangeContextImpl.invokePartner(47) | Invoking a
partner operation: createTask
DEBUG - MessageExchangeContextImpl.invokePartner(51) | The service to
invoke is the external service
org.apache.ode.axis2.ExternalService@18bd772
DEBUG - EndpointReferenceContextImpl.resolveEndpointReference(41) |
Resolving endpoint reference <?xml version="1.0"
encoding="UTF-8"?><service-ref
xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref"><EndpointReference
xmlns="http://www.w3.org/2005/08/addressing"><Metadata><ServiceName
xmlns="http://www.w3.org/2006/05/addressing/wsdl"
EndpointName="TaskManagerPort"
xmlns:servicens="urn:TaskManager">servicens:TaskManagerService</ServiceName></Metadata><Address>http://localhost:81/web_service/taskmanager.php</Address></EndpointReference></service-ref>
DEBUG - MessageExchangeImpl.getProperty(222) | GET MEX property
org.apache.ode.bpel.partnerRoleSessionId = null
DEBUG - MessageExchangeImpl.getProperty(222) | GET MEX property
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - ExternalService.writeHeader(202) | My-Role EPR not specified,
SEP will not be used.
DEBUG - ExternalService.invoke(109) | Axis2 sending message to
http://localhost:81/web_service/taskmanager.php using MEX
{PartnerRoleMex#-bpgd3nvdqfl8v6kprg5ufa [PID
{http://RemoveObject}RemoveObject-8] calling
org.apache.ode.bpel.epr.WSAEndpoint@1ed7f2f.createTask(...)}
DEBUG - ExternalService.invoke(110) | Message: <?xml version='1.0'
encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header
/><soapenv:Body><axis2ns14:createTask
xmlns:axis2ns14="urn:TaskManager"><processId>t1</processId><user>t1</user><group>Object_Admin</group><taskType>keuren</taskType><taskName>Verwijderd
object</taskName><taskDescription>Leeg</taskDescription><processName>ObjectVerwijderen</processName><gemeente>t1</gemeente><feedback>t1</feedback><reference>t1</reference></axis2ns14:createTask></soapenv:Body></soapenv:Envelope>
DEBUG - BpelRuntimeContextImpl.execute(830) | Setting execution state
on instance 495
DEBUG - SessionOutHandler.invoke(81) | Sending stateful TO epr in
message header using session null
DEBUG - SessionOutHandler.invoke(99) | Sending a message containing
wsa endpoints in headers for session passing.
DEBUG - SessionOutHandler.invoke(100) | <?xml version='1.0'
encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://localhost:81/web_service/taskmanager.php</addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"></addr:Action></soapenv:Header><soapenv:Body><axis2ns14:createTask xmlns:axis2ns14="urn:TaskManager"><processId>t1</processId><user>t1</user><group>Object_Admin</group><taskType>keuren</taskType><taskName>Verwijderd
object</taskName><taskDescription>Leeg</taskDescription><processName>ObjectVerwijderen</processName><gemeente>t1</gemeente><feedback>t1</feedback><reference>t1</reference></axis2ns14:createTask></soapenv:Body></soapenv:Envelope>
DEBUG - ExternalService$3.call(282) | Received response for MEX
{PartnerRoleMex#-bpgd3nvdqfl8v6kprg5ufa [PID
{http://RemoveObject}RemoveObject-8] calling
org.apache.ode.bpel.epr.WSAEndpoint@1ed7f2f.createTask(...)}
DEBUG - ExternalService$3.call(300) | RESPONSE (NORMAL): <?xml
version="1.0" encoding="UTF-8"?><message><return xsi:type="xsd:string"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns4="urn:TaskManager"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">70</return></message>
DEBUG - InstanceLockManager.lock(50) | Thread[pool-3-thread-9,5,main]:
lock(iid=495, time=1MICROSECONDS)
DEBUG - InstanceLockManager.lock(63) | Thread[pool-3-thread-9,5,main]:
lock(iid=495, time=1MICROSECONDS)-->GRANTED
DEBUG - BpelProcess.handleWorkEvent(269) | >>
handleWorkEvent(jobData=org.quartz.JobDataMap@108113c)
DEBUG - BpelRuntimeContextImpl.<init>(141) | BpelRuntimeContextImpl
created for instance 495. INDEXED
STATE={OInvoke#134-__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117::13=[ACTIVITYGUARD(...)], OSequence#94-__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}sequence@51::2=[SEQUENCE(self=(OSequence#94-__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}sequence@51,TerminationChannel#3,ParentScopeChannel#5), linkframe=org.apache.ode.bpel.runtime.LinkFrame@c19a75, remaining=[{OScope '__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117' id=133}, OReply#144-__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}reply@119, {OAssign : __unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}assign@121, joinCondition=null}, OPickReceive#149-__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}receive@130, {OScope '__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@138' id=152}, OReply#163-__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}reply@141])], {OScope '__PROCESS_SCOPE:RemoveObject' id=23}::0=[SCOPE(...)], {OScope '__PROCESS_SCOPE:RemoveObject' id=23}::0=[SCOPE$ACTIVE(...)], {OScope '__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117' id=133}::12=[SCOPE$ACTIVE(...)], OInvoke#134-__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117::14=[INVOKE(...)], {OScope '__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117' id=133}::11=[ACTIVITYGUARD(...)], {OScope '__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117' id=133}::12=[SCOPE(...)],
OSequence#94-__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}sequence@51::1=[ACTIVITYGUARD(...)]}
DEBUG - BpelProcess.handleWorkEvent(307) | InvokeResponse event for iid 495
DEBUG - BpelRuntimeContextImpl.invocationResponse(933) | Invoking
message response for mexid -bpgd3nvdqfl8v6kprg5ufa and channel 23
DEBUG - BpelRuntimeContextImpl.invocationResponse2(952) | Triggering response
ERROR - BpelRuntimeContextImpl.invocationResponse2(976) | Invalid
response state for mex -bpgd3nvdqfl8v6kprg5ufa: ASYNC
DEBUG - BpelRuntimeContextImpl.execute(830) | Setting execution state
on instance 495
DEBUG - InstanceLockManager.unlock(88) |
Thread[pool-3-thread-9,5,main]: unlock(iid=495)
ERROR - ODEService.onAxisMessageExchange(155) | Timeout or execution
error when waiting for response to MEX
{MyRoleMex#-bpgd3nvdqfl8v6kprg5ufd [Client -bpgd3nvdqfl8v6kprg5ufe]
calling {http://RemoveObject.wsdl}RemoveObjectService.initiate(...)}
java.util.concurrent.TimeoutException: Message
exchangeorg.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@f55d5d timed out when waiting for a
response!
ERROR - ODEService.onAxisMessageExchange(156) |
java.util.concurrent.TimeoutException: Message exchange
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@f55d5d
timed out when waiting for a response!
With a build from March it works fine, but the same process in the
newer build didn't work...
Can you please tell if it's my own fault, something wrong on the
Webservice side or in the BPEL, or if its happing at the Ode side?
René
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Re: Hibernate and openJPA
Posted by René Bos <re...@rpsoft.nl>.
The current SVN version of Ode already uses OpenJPA. So upgrading to the
lastest version is the solution! Versions with Hibernate as default
don't have a stable OpenJPA implementation.
If you are already using a recent version from SVN, maybe u used 'set
JAVA_OPTS=%JAVA_OPTS% -Dode.persistence=hibernate' to force the use of
Hibernate.
René
RV schreef:
> I'am having problems with ODE - hibernate deployment.
> Is there any type of configuration to change it to openJPA ? I searched in
> the mailing list, but I cannot find any reference to that.
>
> Thanks to all
>
>
Hibernate and openJPA
Posted by RV <he...@student.dei.uc.pt>.
I'am having problems with ODE - hibernate deployment.
Is there any type of configuration to change it to openJPA ? I searched in
the mailing list, but I cannot find any reference to that.
Thanks to all
Re: Can't invoke with recent SVN build
Posted by Alex Boisvert <bo...@intalio.com>.
A similar issue was also reported by Jan Loewe last week in this thread:
http://mail-archives.apache.org/mod_mbox/incubator-ode-user/200704.mbox/%3c1176408319.5495.12.camel@byakhee%3e
If you have a test-case to help me reproduce it, I'll take a stab at it.
alex
On 4/18/07, René Bos <re...@rpsoft.nl> wrote:
>
> Hi,
>
> 16 april I successfully build Ode on my own system (have had problems
> with previous build). No problems when starting or deploying processes.
> Running processes also works fine. Except when I do an invoke to my
> own Webservice. The service is contacted, a response is send. But
> after that nothing happens and it timesout..
>
> The following is the error I get:
>
> DEBUG - BpelEngineImpl.route(237) | Routed: svcQname
> {urn:TaskManager}TaskManagerService --> null
> DEBUG - MessageExchangeContextImpl.invokePartner(47) | Invoking a
> partner operation: createTask
> DEBUG - MessageExchangeContextImpl.invokePartner(51) | The service to
> invoke is the external service
> org.apache.ode.axis2.ExternalService@18bd772
> DEBUG - EndpointReferenceContextImpl.resolveEndpointReference(41) |
> Resolving endpoint reference <?xml version="1.0"
> encoding="UTF-8"?><service-ref
> xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref
> "><EndpointReference
> xmlns="http://www.w3.org/2005/08/addressing"><Metadata><ServiceName
> xmlns="http://www.w3.org/2006/05/addressing/wsdl"
> EndpointName="TaskManagerPort"
>
> xmlns:servicens="urn:TaskManager">servicens:TaskManagerService</ServiceName></Metadata><Address>
> http://localhost:81/web_service/taskmanager.php
> </Address></EndpointReference></service-ref>
> DEBUG - MessageExchangeImpl.getProperty(222) | GET MEX property
> org.apache.ode.bpel.partnerRoleSessionId = null
> DEBUG - MessageExchangeImpl.getProperty(222) | GET MEX property
> org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - ExternalService.writeHeader(202) | My-Role EPR not specified,
> SEP will not be used.
> DEBUG - ExternalService.invoke(109) | Axis2 sending message to
> http://localhost:81/web_service/taskmanager.php using MEX
> {PartnerRoleMex#-bpgd3nvdqfl8v6kprg5ufa [PID
> {http://RemoveObject}RemoveObject-8] calling
> org.apache.ode.bpel.epr.WSAEndpoint@1ed7f2f.createTask(...)}
> DEBUG - ExternalService.invoke(110) | Message: <?xml version='1.0'
> encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header
> /><soapenv:Body><axis2ns14:createTask
>
> xmlns:axis2ns14="urn:TaskManager"><processId>t1</processId><user>t1</user><group>Object_Admin</group><taskType>keuren</taskType><taskName>Verwijderd
>
> object</taskName><taskDescription>Leeg</taskDescription><processName>ObjectVerwijderen</processName><gemeente>t1</gemeente><feedback>t1</feedback><reference>t1</reference></axis2ns14:createTask></soapenv:Body></soapenv:Envelope>
> DEBUG - BpelRuntimeContextImpl.execute(830) | Setting execution state
> on instance 495
> DEBUG - SessionOutHandler.invoke(81) | Sending stateful TO epr in
> message header using session null
> DEBUG - SessionOutHandler.invoke(99) | Sending a message containing
> wsa endpoints in headers for session passing.
> DEBUG - SessionOutHandler.invoke(100) | <?xml version='1.0'
> encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><addr:To
> xmlns:addr="http://www.w3.org/2005/08/addressing">
> http://localhost:81/web_service/taskmanager.php</addr:To><addr:Action
> xmlns:addr="http://www.w3.org/2005/08/addressing"></addr:Action></soapenv:Header><soapenv:Body><axis2ns14:createTask
> xmlns:axis2ns14="urn:TaskManager"><processId>t1</processId><user>t1</user><group>Object_Admin</group><taskType>keuren</taskType><taskName>Verwijderd
>
> object</taskName><taskDescription>Leeg</taskDescription><processName>ObjectVerwijderen</processName><gemeente>t1</gemeente><feedback>t1</feedback><reference>t1</reference></axis2ns14:createTask></soapenv:Body></soapenv:Envelope>
> DEBUG - ExternalService$3.call(282) | Received response for MEX
> {PartnerRoleMex#-bpgd3nvdqfl8v6kprg5ufa [PID
> {http://RemoveObject}RemoveObject-8] calling
> org.apache.ode.bpel.epr.WSAEndpoint@1ed7f2f.createTask(...)}
> DEBUG - ExternalService$3.call(300) | RESPONSE (NORMAL): <?xml
> version="1.0" encoding="UTF-8"?><message><return xsi:type="xsd:string"
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:ns4="urn:TaskManager"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> ">70</return></message>
> DEBUG - InstanceLockManager.lock(50) | Thread[pool-3-thread-9,5,main]:
> lock(iid=495, time=1MICROSECONDS)
> DEBUG - InstanceLockManager.lock(63) | Thread[pool-3-thread-9,5,main]:
> lock(iid=495, time=1MICROSECONDS)-->GRANTED
> DEBUG - BpelProcess.handleWorkEvent(269) | >>
> handleWorkEvent(jobData=org.quartz.JobDataMap@108113c)
> DEBUG - BpelRuntimeContextImpl.<init>(141) | BpelRuntimeContextImpl
> created for instance 495. INDEXED
> STATE={OInvoke#134-__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117::13=[ACTIVITYGUARD(...)],
> OSequence#94-__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}sequence@51::2=[SEQUENCE(self=(OSequence#94-__unnamed:{http://schemas.xmlsoap.org/ws/2004/03/business-process/}sequence@51,TerminationChannel#3,ParentScopeChannel#5),
> linkframe=org.apache.ode.bpel.runtime.LinkFrame@c19a75, remaining=[{OScope
> '__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117'
> id=133}, OReply#144-__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}reply@119,
> {OAssign : __unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}assign@121,
> joinCondition=null}, OPickReceive#149-__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}receive@130,
> {OScope '__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@138'
> id=152}, OReply#163-__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}reply@141])],
> {OScope '__PROCESS_SCOPE:RemoveObject' id=23}::0=[SCOPE(...)], {OScope
> '__PROCESS_SCOPE:RemoveObject' id=23}::0=[SCOPE$ACTIVE(...)], {OScope
> '__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117'
> id=133}::12=[SCOPE$ACTIVE(...)], OInvoke#134-__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117::14=[INVOKE(...)],
> {OScope '__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117'
> id=133}::11=[ACTIVITYGUARD(...)], {OScope '__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}invoke@117'
> id=133}::12=[SCOPE(...)],
> OSequence#94-__unnamed:{
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}sequence@51::1=[ACTIVITYGUARD(...)]
> }
> DEBUG - BpelProcess.handleWorkEvent(307) | InvokeResponse event for iid
> 495
> DEBUG - BpelRuntimeContextImpl.invocationResponse(933) | Invoking
> message response for mexid -bpgd3nvdqfl8v6kprg5ufa and channel 23
> DEBUG - BpelRuntimeContextImpl.invocationResponse2(952) | Triggering
> response
> ERROR - BpelRuntimeContextImpl.invocationResponse2(976) | Invalid
> response state for mex -bpgd3nvdqfl8v6kprg5ufa: ASYNC
> DEBUG - BpelRuntimeContextImpl.execute(830) | Setting execution state
> on instance 495
> DEBUG - InstanceLockManager.unlock(88) |
> Thread[pool-3-thread-9,5,main]: unlock(iid=495)
> ERROR - ODEService.onAxisMessageExchange(155) | Timeout or execution
> error when waiting for response to MEX
> {MyRoleMex#-bpgd3nvdqfl8v6kprg5ufd [Client -bpgd3nvdqfl8v6kprg5ufe]
> calling {http://RemoveObject.wsdl}RemoveObjectService.initiate(...)}
> java.util.concurrent.TimeoutException: Message
>
> exchangeorg.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@f55d5dtimed out when waiting for a
> response!
> ERROR - ODEService.onAxisMessageExchange(156) |
> java.util.concurrent.TimeoutException: Message exchange
> org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@f55d5d
> timed out when waiting for a response!
>
> With a build from March it works fine, but the same process in the
> newer build didn't work...
>
> Can you please tell if it's my own fault, something wrong on the
> Webservice side or in the BPEL, or if its happing at the Ode side?
>
> René
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>