ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From torrini <s57...@htw-dresden.de>
Subject TimeOut while invoking external WS
Date Thu, 11 Jun 2009 09:53:56 GMT

Hi everybody,

I'm quite new to the topic of orchestration. Never the less I am trying to
design a BPEL-Process (connected with the wsdl and deploy-file) with
eclipse. A HelloWorldProcess (just receive and reply) works fine, but if I
want to invoke an external Web Service there comes an TimeoutException. It's
not the WS, it gives the answer shortly when invoking it directly.
Can anybody help me? Other threads related to this topic didn't help on.


The log:
[...]
INFO - GeronimoLog.info(79) | Deployment of artifact Invoke successful:
[{namespace}SimpleInvokeProcess-32]
DEBUG - GeronimoLog.debug(66) | Received request message for
SimpleInvokeService.{namespace}process
DEBUG - GeronimoLog.debug(66) | Starting transaction.
DEBUG - GeronimoLog.debug(66) | Routed: svcQname
{namespace}SimpleInvokeService -->
[BpelProcess[{namespace}SimpleInvokeProcess-32]]
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
name=process
style=REQUEST_RESPONSE,1
Input: name=null
Message: name={namespace}SimpleInvokeProcessRequestMessage
Part: name=payload
elementName={namespace}SimpleInvokeProcessRequest
Output: name=null
Message: name={namespace}SimpleInvokeProcessResponseMessage
Part: name=payload
elementName={namespace}SimpleInvokeProcessResponse from service
{namespace}SimpleInvokeService
DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = true
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
{MyRoleMex#hqejbhcnphr4ch68fifujf [Client hqejbhcnphr4ch68fifuje] calling
{namespace}SimpleInvokeService.process(...)}
DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
encoding="UTF-8"?>
<message><payload><SimpleInvokeProcessRequest xmlns="namespace"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:m="namespace" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<input>Fred</input>
		</SimpleInvokeProcessRequest></payload></message>
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
BpelProcess[{namespace}SimpleInvokeProcess-32]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
{MyRoleMex#hqejbhcnphr4ch68fifujf [Client hqejbhcnphr4ch68fifuje] calling
{namespace}SimpleInvokeService.process(...)}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event for
mexid hqejbhcnphr4ch68fifujf
DEBUG - GeronimoLog.debug(66) | >>
handleWorkEvent(jobData={mexid=hqejbhcnphr4ch68fifujf,
pid={namespace}SimpleInvokeProcess-32, type=INVOKE_INTERNAL})
DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid
hqejbhcnphr4ch68fifujf
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.partnerRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: client.process: MSG RCVD keys=[]
mySessionId=null partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: client.process: routing failed,
CREATING NEW INSTANCE
DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance
9601. INDEXED STATE={}
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING
CORRELATOR client.process
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING for
NEW INSTANCE match
DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance
state from ready to active
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match
for NEW instance mexRef={MyRoleMex#hqejbhcnphr4ch68fifujf [Client
hqejbhcnphr4ch68fifuje] calling {namespace}SimpleInvokeService.process(...)}
DEBUG - GeronimoLog.debug(66) | INVOKING PARTNER:
partnerLink={PartnerLinkInstance
partnerLinkDecl=OPartnerLink#21,scopeInstanceId=9651}, op=sayHello
channel=InvokeResponseChannel#20)
DEBUG - GeronimoLog.debug(66) | INVOKE PARTNER (SEP): sessionId=null
partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | SET MEX property activityId = 36
DEBUG - GeronimoLog.debug(66) | Routed: svcQname
{http://randomHelloService.tutorial.soa08.se.unihannover.de}RandomHelloServiceService
--> null
DEBUG - GeronimoLog.debug(66) | Creating invocation check event in 180000ms
for mexid hqejbhcnphr4ch68fifuji
DEBUG - GeronimoLog.debug(66) | SET MEX property invokeCheckJobId =
hqejbhcnphr4ch68fifujj
DEBUG - GeronimoLog.debug(66) | Invoking a partner operation: sayHello
DEBUG - GeronimoLog.debug(66) | The service to invoke is the external
service
{http://randomHelloService.tutorial.soa08.se.unihannover.de}RandomHelloServiceService:RandomHelloService
DEBUG - GeronimoLog.debug(66) | Create a new ServiceClient for
axis_service_for_{http://randomHelloService.tutorial.soa08.se.unihannover.de}RandomHelloServiceService#RandomHelloService_hqejbhcnphr4ch68fifujk
DEBUG - GeronimoLog.debug(66) | 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="RandomHelloService"
xmlns:servicens="http://randomHelloService.tutorial.soa08.se.unihannover.de">servicens:RandomHelloServiceService</ServiceName></Metadata><Address>http://hobbes.se.uni-hannover.de:8080/RandomHelloService/services/RandomHelloService</Address></EndpointReference></service-ref>
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.partnerRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | My-Role EPR not specified, SEP will not be
used.
DEBUG - GeronimoLog.debug(66) | Axis2 sending message to
http://hobbes.se.uni-hannover.de:8080/RandomHelloService/services/RandomHelloService
using MEX {PartnerRoleMex#hqejbhcnphr4ch68fifuji [PID
{namespace}SimpleInvokeProcess-32] calling
org.apache.ode.bpel.epr.WSAEndpoint@282b5b.sayHello(...)}
DEBUG - GeronimoLog.debug(66) | Message: <?xml version='1.0'
encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><sayHello
xmlns="http://randomHelloService.tutorial.soa08.se.unihannover.de">
  <impl:withSpace
xmlns:impl="http://randomHelloService.tutorial.soa08.se.unihannover.de">true</impl:withSpace>
</sayHello></soapenv:Body></soapenv:Envelope>
DEBUG - GeronimoLog.debug(66) | replyAsync mex=hqejbhcnphr4ch68fifuji
DEBUG - GeronimoLog.debug(66) | Setting execution state on instance 9601
DEBUG - GeronimoLog.debug(66) | Sending stateful TO epr in message header
using session null
DEBUG - GeronimoLog.debug(66) | Sending a message containing wsa endpoints
in headers for session passing.
DEBUG - GeronimoLog.debug(66) | <?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://hobbes.se.uni-hannover.de:8080/RandomHelloService/services/RandomHelloService</addr:To><addr:Action
xmlns:addr="http://www.w3.org/2005/08/addressing"></addr:Action><addr:ReplyTo
xmlns:addr="http://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID
xmlns:addr="http://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr4ch68fifujl</addr:MessageID></soapenv:Header><soapenv:Body><sayHello
xmlns="http://randomHelloService.tutorial.soa08.se.unihannover.de">
  <impl:withSpace
xmlns:impl="http://randomHelloService.tutorial.soa08.se.unihannover.de">true</impl:withSpace>
</sayHello></soapenv:Body></soapenv:Envelope>
ERROR - GeronimoLog.error(108) | Timeout or execution error when waiting for
response to MEX {MyRoleMex#hqejbhcnphr4ch68fifujf [Client
hqejbhcnphr4ch68fifuje] calling {namespace}SimpleInvokeService.process(...)}
java.util.concurrent.TimeoutException: Message exchange
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@c0db92
timed out(120000 ms) when waiting for a response!
java.util.concurrent.TimeoutException: Message exchange
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@c0db92
timed out(120000 ms) when waiting for a response!
	at
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture.get(MyRoleMessageExchangeImpl.java:240)
	at
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:163)
	at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:67)
	at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:50)
	at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
	at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:619)
http://www.nabble.com/file/p23978390/deploy.xml deploy.xml 
http://www.nabble.com/file/p23978390/SimpleInvokeProcess.bpel
SimpleInvokeProcess.bpel 
http://www.nabble.com/file/p23978390/SimpleInvokeProcessArtifacts.wsdl
SimpleInvokeProcessArtifacts.wsdl 
-- 
View this message in context: http://www.nabble.com/TimeOut-while-invoking-external-WS-tp23978390p23978390.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Mime
View raw message