Hi sathwik, This is exactly the behavior I observed.Finding the correlation keys for the OnEvent in EH_EVENT SELECT run() method fails for some reason and hence ode assumes the session keys used for implicit correlation as the correlation key.
Regards Nandika On Wed, Jun 19, 2013 at 11:55 AM, Sathwik B P <sathwik...@gmail.com> wrote: > Hi Keheliya, > > I see there is some race condition. I have been testing on the trunk and > able to see this behaviour. I haven't been able to identify the root cause > yet. I can point out that there is some problem in the message routes > getting registered after the arrival of the first message followed > immediately with the second onEvent message. > > Here is the data from ODE_MESSAGE_ROUTE, 8 is the value of the correlation. > Record bearing ID 8354 has a bizzare correlation_key value which > corresponds to the onEvent message. The record bearing ID 8355 is that of > your second receive which is perfect. > > 8354 @2[-1~hqejbhcnphr8dggwax9v7q] 15 0 7952 one 6656 > 8355 @2[CorrelationSet~8] 31 0 7952 one > 6655 > > Due to this inappropriate correlation routing data the onEvent message > doesn;t get routed. Will keep posted if I find anything. > > regards, > sathwik > > On Tue, Jun 18, 2013 at 9:49 PM, Keheliya Gallaba < > keheliya.gall...@gmail.com> wrote: > > > Hi Tammo, > > > > I'm using OpenJPA. Because I'm manually invoking the operations via > soapUI, > > there's always a delay between the calls. > > > > Thanks, > > Keheliya > > > > On 18 June 2013 21:42, Tammo van Lessen <tvanles...@gmail.com> wrote: > > > > > Hi Keheliya, > > > > > > do you use OpenJPA or Hibernate? Does this also happen when you add a > > small > > > delay between the first and the second call? > > > > > > Thanks, > > > Tammo > > > > > > > > > On Tue, Jun 18, 2013 at 8:28 AM, Keheliya Gallaba < > > > keheliya.gall...@gmail.com> wrote: > > > > > > > Hi devs, > > > > > > > > I have deployed a process with simple correlation and an event > handler > > in > > > > ODE 1.3.5 (the process archive attached). Sometimes when I invoke the > > > > onEvent operation as the second call to the process instance, it does > > not > > > > get properly correlated. Process instance remain in the Active state > > > > forever. Note this occurs only for some instances. Please help me > with > > > some > > > > insight on this problem. > > > > > > > > Thanks & Best Regards, > > > > Keheliya > > > > > > > > -- > > > > Keheliya Gallaba > > > > More about me: http://about.me/keheliya > > > > > > > > > > > > > > > > -- > > > Tammo van Lessen - http://www.taval.de > > > > > > > > > > > -- > > Keheliya Gallaba > > More about me: http://about.me/keheliya > > >