<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Subprocess wait state signal handling not working from parent process (jBPM 4.3)
</h3>
<span style="margin-bottom: 10px;">
    reply from <a href="http://community.jboss.org/people/apurv888">apurv agnihotri</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/545134#545134">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>In the same subprocess as above we are trying to use timer as well but as soon as the timer is added in subprocess xml i get following error irrespective of whether signal to the activity in subprocess(from main process) is given before or after timer due time(I am making the parent execution thread to sleep so as to signal execute whithin/after timer fire time).:-</p><p><span style="color: #ff0000; font-size: 10pt; "><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p align="left">May 27, 2010 7:23:30 PM org.hibernate.util.JDBCExceptionReporter logExceptions</p><p align="left">WARNING: SQL Error: 2292, SQLState: 23000</p><p align="left">May 27, 2010 7:23:30 PM org.hibernate.util.JDBCExceptionReporter logExceptions</p><p align="left">SEVERE: ORA-02292: integrity constraint (JBPM.FK_EXEC_SUBPI) violated - child record found</p></span><span style="font-size: 10pt;"><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span></p><p><span style="color: #ff0000; font-size: 10pt; "><p align="left">May 27, 2010 7:23:30 PM org.hibernate.event.def.AbstractFlushingEventListener performExecutions</p><p align="left">SEVERE: Could not synchronize database state with session</p></span><span style="color: #000080; font-size: 10pt; "><p align="left"><span style="text-decoration: underline;">org.hibernate.exception.ConstraintViolationException</span></p><span style="color: #000080; font-size: 10pt; "><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="text-decoration: underline;"> </span>&#160;</p><p align="left"><span style="color: #ff0000; font-size: 10pt; text-decoration: underline; ">: could not delete: [org.jbpm.pvm.internal.model.ExecutionImpl#46]</span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.exception.SQLStateConverter.convert(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">SQLStateConverter.java:94</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.exception.JDBCExceptionHelper.convert(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">JDBCExceptionHelper.java:66</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.persister.entity.AbstractEntityPersister.delete(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">AbstractEntityPersister.java:2569</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.persister.entity.AbstractEntityPersister.delete(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">AbstractEntityPersister.java:2725</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.action.EntityDeleteAction.execute(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">EntityDeleteAction.java:97</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.engine.ActionQueue.execute(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">ActionQueue.java:279</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.engine.ActionQueue.executeActions(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">ActionQueue.java:263</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.engine.ActionQueue.executeActions(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">ActionQueue.java:172</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">AbstractFlushingEventListener.java:321</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">DefaultAutoFlushEventListener.java:64</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.impl.SessionImpl.autoFlushIfRequired(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">SessionImpl.java:996</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.impl.SessionImpl.list(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">SessionImpl.java:1141</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.hibernate.impl.QueryImpl.list(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">QueryImpl.java:102</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.pvm.internal.hibernate.DbSessionImpl.deleteProcessDefinitionHistory(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">DbSessionImpl.java:168</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.pvm.internal.cmd.DeleteDeploymentCmd.execute(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">DeleteDeploymentCmd.java:78</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">DefaultCommandService.java:42</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">StandardTransactionInterceptor.java:54</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">EnvironmentInterceptor.java:53</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">EnvironmentInterceptor.java:40</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">RetryInterceptor.java:55</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">SkipInterceptor.java:43</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.pvm.internal.repository.RepositoryServiceImpl.deleteDeploymentCascade(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">RepositoryServiceImpl.java:73</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.test.JbpmTestCase.deleteRegisteredDeployments(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">JbpmTestCase.java:166</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.jbpm.test.JbpmTestCase.tearDown(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">JbpmTestCase.java:95</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at junit.framework.TestCase.runBare(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">TestCase.java:140</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at junit.framework.TestResult$1.protect(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">TestResult.java:110</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at junit.framework.TestResult.runProtected(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">TestResult.java:128</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at junit.framework.TestResult.run(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">TestResult.java:113</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at junit.framework.TestCase.run(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">TestCase.java:124</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at junit.framework.TestSuite.runTest(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">TestSuite.java:232</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at junit.framework.TestSuite.run(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">TestSuite.java:227</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.junit.internal.runners.JUnit38ClassRunner.run(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">JUnit38ClassRunner.java:79</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">JUnit4TestReference.java:46</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.eclipse.jdt.internal.junit.runner.TestExecution.run(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">TestExecution.java:38</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">RemoteTestRunner.java:467</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">RemoteTestRunner.java:683</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">RemoteTestRunner.java:390</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">RemoteTestRunner.java:197</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">Caused by:</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">java.sql.SQLException</span><span style="color: #ff0000; font-size: 10pt; ">: ORA-02292: integrity constraint (JBPM.FK_EXEC_SUBPI) violated - child record found</span></span><span style="font-size: 10pt;"><span style="text-decoration: underline;"> </span><p align="left" style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="text-decoration: underline;"> </span>&#160;</p></span><span style="color: #ff0000; font-size: 10pt; "><p align="left"><span style="text-decoration: underline;">at oracle.jdbc.driver.DatabaseError.throwSqlException(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">DatabaseError.java:125</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at oracle.jdbc.driver.T4CTTIoer.processError(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">T4CTTIoer.java:305</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at oracle.jdbc.driver.T4CTTIoer.processError(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">T4CTTIoer.java:272</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at oracle.jdbc.driver.T4C8Oall.receive(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">T4C8Oall.java:623</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at oracle.jdbc.driver.T4CPreparedStatement.doOall8(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">T4CPreparedStatement.java:181</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">T4CPreparedStatement.java:543</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">OracleStatement.java:1028</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">OraclePreparedStatement.java:2888</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p align="left"><span style="text-decoration: underline;">at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(</span></p><p align="left"><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">OraclePreparedStatement.java:2960</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span><span style="color: #ff0000; font-size: 10pt; "><span style="text-decoration: underline;"> </span><p><span style="text-decoration: underline;">at org.hibernate.persister.entity.AbstractEntityPersister.delete(</span></p><p><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; ">AbstractEntityPersister.java:2551</span><span style="color: #ff0000; font-size: 10pt; ">)</span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="color: #000000;"> </span>&#160;</p><p><span style="color: #000000;">my timerlistener code is as below :-</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="color: #000000;"> </span>&#160;</p><p><span style="color: #000000;">import org.jbpm.api.listener.EventListener;<br/>import org.jbpm.api.listener.EventListenerExecution;</span></p><p><span style="color: #000000;">public class WaitStateTimeoutListener implements EventListener{</span></p><p><span style="color: #000000;"> /**<br/>&#160; * <br/>&#160; */<br/> private static final long serialVersionUID = 1L;</span></p><p><span style="color: #000000;"> @Override<br/> public void notify(EventListenerExecution arg0) throws Exception {<br/>&#160; <br/>&#160; System.out.println("WaitStateTimeoutListener called");<br/>&#160; <br/>&#160; // TODO Auto-generated method stub<br/>&#160; <br/>&#160; <br/>&#160; <br/> }</span></p><p><span style="color: #000000;">}</span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></p></span></span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/545134#545134">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>