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: llegalStateException: In-memory instances are never serialized -( BpelActivities20Test.java )
Date Fri, 15 Jun 2007 21:48:58 GMT
There was a couple of bugs in the test framework that appeared because of
other modifications. Now the whole test case is passing for me (even if a
few others are still failing).

Matthieu

On 6/15/07, sam tam <samav8nenthu@gmail.com> wrote:
>
> Hello ,
>
> I finally got ODE builded successfully and started off with the module
> bpel-test\ BasicActivities20Test.java
>
> Initially i was missing some jar and i figured it out !
>
> Now while am running this i get : llegalStateException: In-memory
> instances
> are never serialized
> This is caught in ProcessInstanceDaoImpl.java !
>
> Below is the trace :
>
>
> _______________________________________________________________________________________________________________
>
> ERROR - GeronimoLog.error(108) | Scheduled job failed;
> jobDetail={type=INVOKE_INTERNAL, mexid=4611686018427387903, pid={
> http://ode/bpel/unit-test}HelloWorld2-1}
> java.lang.IllegalStateException: In-memory instances are never serialized
>     at org.apache.ode.bpel.memdao.ProcessInstanceDaoImpl.getExecutionState
> (
> ProcessInstanceDaoImpl.java:128)
>     at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.<init>(
> BpelRuntimeContextImpl.java:130)
>     at org.apache.ode.bpel.engine.BpelProcess.createRuntimeContext(
> BpelProcess.java:602)
>     at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
> PartnerLinkMyRoleImpl.java:179)
>     at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(
> BpelProcess.java
> :154)
>     at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(
> BpelProcess.java:287)
>     at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
> BpelEngineImpl.java:311)
>     at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
> BpelServerImpl.java:390)
>     at org.apache.ode.il.MockScheduler.doExecute(MockScheduler.java:235)
>     at org.apache.ode.il.MockScheduler.access$000(MockScheduler.java:43)
>     at org.apache.ode.il.MockScheduler$2$1.call(MockScheduler.java:84)
>     at org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java
> :108)
>     at org.apache.ode.il.MockScheduler$3.call(MockScheduler.java:121)
>     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>     at java.util.concurrent.FutureTask.run(Unknown Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>     at java.lang.Thread.run(Unknown Source)
> ERROR - GeronimoLog.error(108) | Caught an exception during transaction
> java.lang.RuntimeException: Scheduled transaction failed unexpectedly:
> transaction will not be retried!.
>     at org.apache.ode.il.MockScheduler.doExecute(MockScheduler.java:237)
>     at org.apache.ode.il.MockScheduler.access$000(MockScheduler.java:43)
>     at org.apache.ode.il.MockScheduler$2$1.call(MockScheduler.java:84)
>     at org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java
> :108)
>     at org.apache.ode.il.MockScheduler$3.call(MockScheduler.java:121)
>     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>     at java.util.concurrent.FutureTask.run(Unknown Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>     at java.lang.Thread.run(Unknown Source)
> Caused by: org.apache.ode.bpel.iapi.Scheduler$JobProcessorException:
> java.lang.IllegalStateException: In-memory instances are never serialized
>     at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
> BpelEngineImpl.java:321)
>     at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
> BpelServerImpl.java:390)
>     at org.apache.ode.il.MockScheduler.doExecute(MockScheduler.java:235)
>     ... 9 more
> Caused by: java.lang.IllegalStateException: In-memory instances are never
> serialized
>     at org.apache.ode.bpel.memdao.ProcessInstanceDaoImpl.getExecutionState
> (
> ProcessInstanceDaoImpl.java:128)
>     at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.<init>(
> BpelRuntimeContextImpl.java:130)
>     at org.apache.ode.bpel.engine.BpelProcess.createRuntimeContext(
> BpelProcess.java:602)
>     at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
> PartnerLinkMyRoleImpl.java:179)
>     at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(
> BpelProcess.java
> :154)
>     at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(
> BpelProcess.java:287)
>     at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
> BpelEngineImpl.java:311)
>     ... 11 more
>
>
>
>
> _______________________________________________________________________________________________________
>
> Kindly shed some info on this  !
>
> Sam..
>

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