ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milinda Pathirage <milinda.pathir...@gmail.com>
Subject Re: Working with In Memory processes
Date Sat, 09 Jan 2010 01:24:18 GMT
Hi Pratik,

What is the ODE version you used for this?

Thanks
Milinda

On Sat, Jan 9, 2010 at 1:14 AM, Pratik Bhatt <bhatt.pj@gmail.com> wrote:

> Additonal information. I have attached the example process that is failing.
>
>
> Regards
>
>
> On Fri, Jan 8, 2010 at 11:15 AM, Pratik Bhatt <bhatt.pj@gmail.com> wrote:
>
>> 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<http://www.example.com/exampleProcess%7Dactivity-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)
>>
>
>


-- 
Milinda Pathirage
Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps
WSO2 Inc.; http://wso2.com
E-mail: milinda@wso2.com, milinda.pathirage@gmail.com
Web: http://mpathirage.com
Blog: http://blog.mpathirage.com

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