ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafal Rusin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ODE-511) Hibernate DAO + OnEvent + Correlation error
Date Mon, 23 Feb 2009 16:22:02 GMT

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

Rafal Rusin commented on ODE-511:
---------------------------------

>Rafal,
>I noticed that by putting an empty activity just before the <wait>, the process
does not throw the error. The channel gets released properly through a EH_EVENT.WAIT.stop().


I can't confirm that. I put empty before wait and still got an error. I did following:
Index: OnEventCorrelation.bpel
===================================================================
--- OnEventCorrelation.bpel	(revision 747015)
+++ OnEventCorrelation.bpel	(working copy)
@@ -49,9 +49,12 @@
                         </bpws:scope>
                     </bpws:onEvent>
                 </bpws:eventHandlers>
-                <bpws:wait>
-                    <bpws:for><![CDATA['PT4S']]></bpws:for>
-                </bpws:wait>
+                <bpws:sequence>
+                    <bpws:empty/>
+                    <bpws:wait>
+                        <bpws:for><![CDATA['PT4S']]></bpws:for>
+                    </bpws:wait>
+                </bpws:sequence>
             </bpws:scope>
         </bpws:scope>
         <bpws:receive operation="initiate" partnerLink="client"


Note that bpws:sequence is required here. 


> 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
>         Environment: axis2, jbi
>            Reporter: Rafal Rusin
>            Assignee: Sean Ahn
>             Fix For: 1.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.


Mime
View raw message