I was trying to deploy a process as an "in memory" process, by setting the
<in-memory> tag to true in the deploy.xml. I also have createInstance = yes
on the only receive activity of the process. When trying to run the process,
I am getting null pointer exceptions. Is there anything else that I need to
change to make a process be in memory.
The process is pretty simple with just a receive and an invoke to another
webservice. The exceptions are as shown below.
Again, thanks for everyone's help with this in advance.
Regards
Pratik.
Exception log...
11:00:40,887 INFO [STDOUT] ERROR - GeronimoLog.error(108) | Scheduled job
failed; jobDetail={mexid=4611686018427387903, inm
em=true, pid={http://www.example.com/exampleProcess}activity-126,
type=INVOKE_INTERNAL}
java.lang.NullPointerException
at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:209)
at
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:408)
at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:439)
at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:441)
at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:411)
at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:405)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:218)
at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:404)
at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:401)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)