https://issues.apache.org/jira/browse/ODE-847

Here is the JIRA issue

-----Original Message-----
From: Dhanush Gopinath [mailto:[email protected]] 
Sent: Tuesday, June 15, 2010 7:26 PM
To: [email protected]
Subject: RE: Exception during - Parallel Execution

Ok.. I will just attach the process

-----Original Message-----
From: Rafal Rusin [mailto:[email protected]] 
Sent: Tuesday, June 15, 2010 6:23 PM
To: [email protected]
Subject: Re: Exception during - Parallel Execution

If you can prepare test case quick, then go for it. If not, just
attach process.

2010/6/15 Dhanush Gopinath <[email protected]>:
> I will do that, but I do not have a SOAP UI Test case. Will create that and 
> file
>
>
>
> -----Original Message-----
> From: Rafal Rusin [mailto:[email protected]]
> Sent: Tuesday, June 15, 2010 3:40 PM
> To: [email protected]
> Subject: Re: Exception during - Parallel Execution
>
> Can you file jira and provide process + soapui test case?
>
> 2010/6/15 Dhanush Gopinath <[email protected]>:
>> It retries again and get the response back after some time, but the next 
>> task is not activated once this exception is thrown.
>>
>>        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)
>> 14:50:19,691 ERROR [SimpleScheduler] Error while processing job, retrying in 
>> 5s
>> 14:50:21,176 INFO  [ExternalService] Response:
>> <?xml version="1.0" encoding="UTF-8"?>
>> <message><part1><ReviewInvokeResponse 
>> xmlns="http://www.altair.com/schema/Review"; 
>> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"; 
>> xmlns:tns="http://www.altair.com/schema/Review";><humanTaskInvokeResponse 
>> xmlns="http://www.altair.com/WF/Framework/HumanTaskDataSchema"; 
>> xmlns:htds="http://www.altair.com/WF/Framework/HumanTaskDataSchema";>true</humanTaskInvokeResponse></ReviewInvokeResponse></part1></message>
>>
>>
>> My process is something like this
>>
>> repeat
>> {
>>        AttachFile Activity
>>        Flow Activity
>>        {
>>                REVIEW - File Activity
>>        }
>>        {
>>                REVIEW - File Activity
>>        }
>>        {
>>                REVIEW - File Activity
>>        }
>>
>> }until all REVIEW are APPROVED (if reject do a new review)
>>
>> If any of the review is rejected then it loops again and created 3 new 
>> review tasks parallelly. The exception is consistently coming when the loop 
>> is executed second time. Once the review is done for the second time (For eg 
>> all are APPROVED), the next activity is not executed.
>>
>>
>>
>> -----Original Message-----
>> From: Rafal Rusin [mailto:[email protected]]
>> Sent: Monday, June 14, 2010 7:50 PM
>> To: [email protected]
>> Subject: Re: Exception during - Parallel Execution
>>
>> There might be logging problem here. Please verify if your process
>> moves forward. acquireInstanceLock sometimes does rollback and retry
>> transaction.
>>
>>
>> 2010/6/14 Dhanush Gopinath <[email protected]>:
>>> Its still there with 1.3.4. Now I wonder has it something to do with my 
>>> process. It has a flow inside a repeat-until
>>>
>>> 19:29:40,807 ERROR [SimpleScheduler] Error while processing a persisted 
>>> job: Job hqejbhcnphr5csig61fij2 time: 2010-06-14 19:29:37 IST transacted: 
>>> true persisted: true details: JobDetails( instanceId: 3101 mexId: 2941 
>>> processId: null type: INVOKE_RESPONSE channel: 217 correlatorId: null 
>>> correlationKeySet: null retryCount: null inMem: false detailsExt: {})
>>> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException
>>>        at 
>>> org.apache.ode.bpel.engine.BpelEngineImpl.acquireInstanceLock(BpelEngineImpl.java:394)
>>>        at 
>>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:403)
>>>        at 
>>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:450)
>>>
>>> Attached is my process.
>>>
>>> -----Original Message-----
>>> From: Dhanush Gopinath [mailto:[email protected]]
>>> Sent: Monday, June 14, 2010 5:40 PM
>>> To: [email protected]
>>> Subject: RE: Exception during - Parallel Execution
>>>
>>> I will try 1.3.4 I don't think I have this applied.
>>>
>>> The ODE I am having is the patch you gave sometime in April, which includes 
>>> DB Scripts for Postgres (see attached mail).
>>>
>>>
>>> -----Original Message-----
>>> From: Rafal Rusin [mailto:[email protected]]
>>> Sent: Monday, June 14, 2010 5:01 PM
>>> To: [email protected]
>>> Subject: Re: Exception during - Parallel Execution
>>>
>>> Hello,
>>>
>>> do you have this applied?
>>>
>>> commit 75797735770ee3cba63af0cf01d3c8cb598b5c54
>>> Author: Rafal Konrad Rusin <[email protected]>
>>> Date:   Sat May 22 15:21:19 2010 +0000
>>>
>>>    Load immediate fix
>>>
>>>    git-svn-id:
>>> https://svn.apache.org/repos/asf/ode/branches/apache_ode_1.3....@94730813f79535-47bb-0310-9956-ffa450edef68
>>>
>>>
>>> Alternatively, could you try 1.3.4 release?
>>>
>>> On Mon, Jun 14, 2010 at 1:02 PM, Dhanush Gopinath <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> At times when I run my process with parallel flows ODE throws out an
>>>> exception and the process execution path in which the exception is
>>>> thrown is kind of stuck
>>>>
>>>>
>>>>
>>>> 16:20:53,186 ERROR [SimpleScheduler] Error while processing a persisted
>>>> job: Job hqejbhcnphr5cs590vb10q time: 2010-06-14 16:20:50 IST
>>>> transacted: true persisted: true details: JobDetails( instanceId: 3900
>>>> mexId: 3405 processId: null type: INVOKE_RESPONSE channel: 70
>>>> correlatorId: null correlationKeySet: null retryCount: null inMem: false
>>>> detailsExt: {})
>>>>
>>>> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException
>>>>
>>>>      at
>>>> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.
>>>> java:398)
>>>>
>>>>      at
>>>> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.
>>>> java:450)
>>>>
>>>>      at
>>>> org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleSche
>>>> duler.java:518)
>>>>
>>>>      at
>>>> org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleSche
>>>> duler.java:513)
>>>>
>>>>      at
>>>> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleSc
>>>> heduler.java:284)
>>>>
>>>>
>>>>
>>>> The process doesn't move forward. This doesn't happen all the time. Any
>>>> idea why this is happening. I am using ODE 1.3.3 (with a patch) on JBOSS
>>>> and Postgres.
>>>>
>>>>
>>>>
>>>> Please help.
>>>>
>>>>
>>>>
>>>> Thanks & Regards
>>>>
>>>> Dhanush Gopinath
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> Regards,
>>> Rafał Rusin
>>> http://rrusin.blogspot.com
>>>
>>
>>
>>
>> --
>> Regards,
>> Rafał Rusin
>> http://rrusin.blogspot.com
>>
>
>
>
> --
> Regards,
> Rafał Rusin
> http://rrusin.blogspot.com
>



-- 
Regards,
Rafał Rusin
http://rrusin.blogspot.com

Reply via email to