You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Sean Ahn (JIRA)" <ji...@apache.org> on 2009/05/19 07:18:45 UTC

[jira] Issue Comment Edited: (ODE-511) Hibernate DAO + OnEvent + Correlation error

    [ https://issues.apache.org/jira/browse/ODE-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710536#action_12710536 ] 

Sean Ahn edited comment on ODE-511 at 5/18/09 10:17 PM:
--------------------------------------------------------

Added cleaning up of the route group in the ParentScopeChannelListener.complete(), in EH_EVENT.

When a fault is thrown, the event handler that throws the fault gets terminated through the parent scope channel. 

The termination channel is used only when you have multiple event handlers set up. The event handler that throws a fault is always terminated through the parent scope channel and only the rest of handlers will be terminated through the termination channel.

Thanks Rafal and sorry for the late reply.

      was (Author: seanahn):
    Added cleaning up of the route group in the ParentScopeChannelListener.complete(), in EH_EVENT.

When a fault thrown, the event handler that threw the fault gets terminated through the parent scope channel. 

The termination channel is used only when you have multiple event handlers set up. The event handler that throws a fault is always terminated through the parent scope channel and the rest of handlers will be terminated through the termination channel.

Thanks Rafal and sorry for the late reply.
  
> Hibernate DAO + OnEvent + Correlation error
> -------------------------------------------
>
>                 Key: ODE-511
>                 URL: https://issues.apache.org/jira/browse/ODE-511
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.2
>         Environment: axis2, jbi
>            Reporter: Rafal Rusin
>            Assignee: Sean Ahn
>             Fix For: 1.3.3
>
>         Attachments: axis.zip, error-hib.txt, event-handler-correlation.diff, jbi-sa.zip, OnEventCorrelation-soapui-project.xml, OnEventCorrelation.bpel, testRequest.soap
>
>
> I run ode1x with hibernate DAO, created a process with receive,
> onevent, receive, all correlated.
> I sent testRequest.soap from attachment twice.
> I had an error
> ERROR 23505: The statement was aborted because it would have caused a
> duplicate key value in a unique or primary key constraint or unique
> index identified by 'SQL090129030544101' defined on 'BPEL_SELECTORS'.
> Note that I didn't have this on OpenJPA DB.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.