Also, when I set a wait to 10sec. and launch a test, I get
NullPointerException (like in attachment) while using tomcat axis
version.

2009/3/13 Rafal Rusin <[email protected]>:
> I have a following process:
> <receive1 operation1 correlationSet1/>
> <reply1/>
> <wait 10min./>
> <receive2 operation2 correlationSet1/>
> <reply2/>
>
> When I send a message for operation2 during wait, I get timeout.
> Shouldn't it be some fault exception like "no such operation" without
> any delay instead?
>
> I'm attaching an example with soapUI test case.
>
> Regards,
> --
> Rafał Rusin
> http://www.touk.pl
> http://www.mimuw.edu.pl/~rrusin
>



-- 
Rafał Rusin
http://www.touk.pl
http://www.mimuw.edu.pl/~rrusin
DEBUG - GeronimoLog.debug(66) | handleWorkEvent: TimerWork event for process instance org.apache.ode.bpel.engine.bpelruntimecontexti...@22ed04
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#24: USING CORRELATOR client.op1
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#24: ADDED ROUTE client.op1: [{CorrelationKey setId=CorrelationSet, values=[abc6]}] --> 205
DEBUG - GeronimoLog.debug(66) | Setting execution state on instance 205
DEBUG - GeronimoLog.debug(66) | Thread[ODEServer-12,5,main]: unlock(iid=205)
DEBUG - GeronimoLog.debug(66) | Thread[ODEServer-13,5,main]: lock(iid=205, time=1MICROSECONDS)
DEBUG - GeronimoLog.debug(66) | Thread[ODEServer-13,5,main]: lock(iid=205, time=1MICROSECONDS)-->GRANTED
DEBUG - GeronimoLog.debug(66) | >> handleWorkEvent(jobData={type=MATCHER, inmem=false, correlatorId=client.op1, ckeys...@2[correlationset~abc6], iid=205})
DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance 205. INDEXED STATE={OSequence#13-main::2=[SEQUENCE(self=(OSequence#13-main,TerminationChannel#3,ParentScopeChannel#5), linkframe=org.apache.ode.bpel.runtime.linkfr...@fe1b92, remaining=[OPickReceive#27-receive-activity-line-39, {OAssign : assign-activity-line-44, joinCondition=null}, OReply#36-reply-activity-line-50])], OPickReceive#27-receive-activity-line-39::13=[ACTIVITYGUARD(...)], {OScope '__PROCESS_SCOPE:OnEventCorrelation' id=8}::0=[ACTIVE(...)], OSequence#13-main::1=[ACTIVITYGUARD(...)], {OScope '__PROCESS_SCOPE:OnEventCorrelation' id=8}::0=[SCOPE(...)], OPickReceive#27-receive-activity-line-39::14=[PICK(...)]}
DEBUG - GeronimoLog.debug(66) | Matcher event for iid 205
DEBUG - GeronimoLog.debug(66) | MatcherEvent handling: correlatorId=client.op1, ckeySet=[{CorrelationKey setId=CorrelationSet, values=[abc6]}]
DEBUG - GeronimoLog.debug(66) | MatcherEvent handling: found matching message in DB (i.e. message arrived before <receive>)
DEBUG - GeronimoLog.debug(66) | SELECT: 24: matched to MESSAGE org.apache.ode.dao.jpa.messageexchangedaoi...@cbc422 on CKEYSET [{CorrelationKey setId=CorrelationSet, values=[abc6]}]
DEBUG - GeronimoLog.debug(66) | Processing an async reply from service {http://sample.bpel.org/bpel/sample}OnEventCorrelation
DEBUG - GeronimoLog.debug(66) | ProcessImpl {http://sample.bpel.org/bpel/sample}OnEventCorrelation-3 completed OK.
DEBUG - GeronimoLog.debug(66) | Thread[ODEServer-13,5,main]: unlock(iid=205)
DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
DEBUG - GeronimoLog.debug(66) | Handling response for MEX {MyRoleMex#hqejbhcnphr44433x590dn [Client hqejbhcnphr44433x590dm] calling {http://sample.bpel.org/bpel/sample}OnEventCorrelation.op1(...)}
DEBUG - GeronimoLog.debug(66) | Starting transaction.
ERROR - GeronimoLog.error(108) | Error processing response for MEX null
java.lang.NullPointerException
	at org.apache.ode.axis2.ODEService.onResponse(ODEService.java:236)
	at org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:176)
	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:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	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:175)
	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:844)
	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:595)
ERROR - GeronimoLog.error(108) | 
java.lang.NullPointerException
	at org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:186)
	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:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	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:175)
	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:844)
	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:595)

Reply via email to