ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matthieu.r...@gmail.com>
Subject Re: nested invoke and receive
Date Tue, 06 Jan 2009 16:51:17 GMT
On Tue, Jan 6, 2009 at 4:12 AM, Matheswaran Nachimuthu <
matheswaran_n@infosys.com> wrote:

>
> Hi,
>
> We encountered the following problem while waiting in the receive tag.
>
> Please help me to solve the issue
>
> The scenario is
>
> <invoke 1>
> <invoke 2>
> <receive 2>
> <invoke 3>
> <receive 3>
> <receive 1>
>

Which version of ODE are you using (I'm asking because I've fixed something
that could be related a few months ago)? Also all your invoke/receive pairs
use different partnerLink/operation combinations, right?

Thanks,
Matthieu


>
> and after receive 3 it gave the following problem.
>
> The stack trace is:
>
>
> Method "onRequestRcvd" in class
> "org.apache.ode.bpel.runtime.PICK$WAITING$2"
> threw an unexpected exception.
>
> org.apache.ode.bpel.iapi.BpelEngineException: Engine requested non-existent
> message exchange: 4611686018427388032
>        at
>
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.getMyRequest(BpelRuntimeContextImpl.java:1100)
>        at org.apache.ode.bpel.runtime.PICK.initVariable(PICK.java:161)
>        at org.apache.ode.bpel.runtime.PICK.access$400(PICK.java:51)
>        at
> org.apache.ode.bpel.runtime.PICK$WAITING$2.onRequestRcvd(PICK.java:252)
>        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
> org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>        at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
>        at
>
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:812)
>        at
>
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.matcherEvent(BpelRuntimeContextImpl.java:1305)
>        at
>
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:398)
>        at
>
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
>        at
>
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
>        at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)
> Logger: ERROR  - TimeStamp: 2009-01-06 16:31:59,048
> Scheduled job failed; jobDetail={type=MATCHER, inmem=true,
> ckey=200~3151MAM,
> correlatorId=202.notifymethodcompletion, iid=1}
>
> java.lang.RuntimeException: org.apache.ode.bpel.iapi.BpelEngineException:
> Engine requested non-existent message exchange: 4611686018427388032
>        at
> org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
>        at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
>        at
>
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:812)
>        at
>
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.matcherEvent(BpelRuntimeContextImpl.java:1305)
>        at
>
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:398)
>        at
>
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
>        at
>
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
>        at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.ode.bpel.iapi.BpelEngineException: Engine requested
> non-existent message exchange: 4611686018427388032
>        at
>
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.getMyRequest(BpelRuntimeContextImpl.java:1100)
>        at org.apache.ode.bpel.runtime.PICK.initVariable(PICK.java:161)
>        at org.apache.ode.bpel.runtime.PICK.access$400(PICK.java:51)
>        at
> org.apache.ode.bpel.runtime.PICK$WAITING$2.onRequestRcvd(PICK.java:252)
>        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
> org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>        ... 16 more
> Logger: DEBUG  - TimeStamp: 2009-01-06 16:31:59,048
> Thread[pool-2-thread-4,5,main]: unlock(iid=1)
>
> Logger: ERROR  - TimeStamp: 2009-01-06 16:31:59,048
> Error while executing transaction
>
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException:
> java.lang.RuntimeException: org.apache.ode.bpel.iapi.BpelEngineException:
> Engine requested non-existent message exchange: 4611686018427388032
>        at
>
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:338)
>        at
>
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
>        at
>
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
>        at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.RuntimeException:
> org.apache.ode.bpel.iapi.BpelEngineException: Engine requested non-existent
> message exchange: 4611686018427388032
>        at
> org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
>        at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
>        at
>
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:812)
>        at
>
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.matcherEvent(BpelRuntimeContextImpl.java:1305)
>        at
>
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:398)
>        at
>
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
>        ... 11 more
> Caused by: org.apache.ode.bpel.iapi.BpelEngineException: Engine requested
> non-existent message exchange: 4611686018427388032
>        at
>
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.getMyRequest(BpelRuntimeContextImpl.java:1100)
>        at org.apache.ode.bpel.runtime.PICK.initVariable(PICK.java:161)
>        at org.apache.ode.bpel.runtime.PICK.access$400(PICK.java:51)
>        at
> org.apache.ode.bpel.runtime.PICK$WAITING$2.onRequestRcvd(PICK.java:252)
>        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
> org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>
> --
> View this message in context:
> http://www.nabble.com/nested-invoke-and-receive-tp21309248p21309248.html
> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message