<!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">JBoss 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;">
    Re: jBPM 3.2.7 / WebSphere 7.0 / Oracle 10g - Timer not working
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/rohit_r">Rohit Raghuwanshi</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/564583#564583">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Turned out to be user error. WebSphere specific CMP to RDB mappings were incorrect. I did the mapping by taking a look at jbosscmp-jdbc.xml. Now the timer works fine. But I see another scheduler related error in WebSphere logs though it does not seem to affect the processing.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #0000ff;">[10/1/10 11:06:12:820 EDT]&#160;&#160;&#160;&#160; FFDC Exception:com.ibm.websphere.scheduler.TaskPending SourceId:com.ibm.ws.scheduler.AlarmListener.handleUpdateException ProbeId:700 Reporter:com.ibm.ws.scheduler.AlarmListener@75a375a3<br/></span></p><p><span style="color: #0000ff;">com.ibm.websphere.scheduler.TaskPending: SCHD0059W: The task information for task ID 52 for scheduler WebSphere_EJB_Timer_Service (WebSphere_EJB_Timer_Service) cannot be removed from the database because the task does not exist or the task information has already been removed by another Scheduler.</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.scheduler.TaskStoreImpl.remove(TaskStoreImpl.java:831)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener.updateTask(AlarmListener.java:1047)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener.access$300(AlarmListener.java:121)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener$TaskWork.doWork(AlarmListener.java:502)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener$TaskWork.run(AlarmListener.java:213)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:268)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at java.security.AccessController.doPrivileged(AccessController.java:224)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at javax.security.auth.Subject.doAs(Subject.java:495)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:131)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:89)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:335)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at java.security.AccessController.doPrivileged(AccessController.java:251)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:777)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.ExecutionContextImpl.go(ExecutionContextImpl.java:86)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener.fireTask(AlarmListener.java:1401)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener.fired(AlarmListener.java:1319)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.AlarmImpl.callListenerMethod(AlarmImpl.java:340)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.timer.GenericTimer.run(GenericTimer.java:216)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:264)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at java.security.AccessController.doPrivileged(AccessController.java:224)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at javax.security.auth.Subject.doAs(Subject.java:495)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:131)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:89)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:335)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at java.security.AccessController.doPrivileged(AccessController.java:251)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1146)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.AlarmImpl.runListenerAsCJWork(AlarmImpl.java:175)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.am._Alarm.fireAlarm(_Alarm.java:333)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.am._Alarm.run(_Alarm.java:230)</span></p><p><span style="color: #0000ff; white-space: pre; "> </span><span style="color: #0000ff;">at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)</span></p><p><span style="color: #0000ff;"><br/></span></p><p><span style="color: #0000ff;"><br/></span></p><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">[10/1/10 11:06:12:820 EDT]&#160;&#160;&#160;&#160; FFDC Exception:com.ibm.websphere.scheduler.TaskPending SourceId:com.ibm.ws.scheduler.AlarmListener.handleUpdateException ProbeId:700 Reporter:com.ibm.ws.scheduler.AlarmListener@75a375a3</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">com.ibm.websphere.scheduler.TaskPending: SCHD0059W: The task information for task ID 52 for scheduler WebSphere_EJB_Timer_Service (WebSphere_EJB_Timer_Service) cannot be removed from the database because the task does not exist or the task information has already been removed by another Scheduler.</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.scheduler.TaskStoreImpl.remove(TaskStoreImpl.java:831)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener.updateTask(AlarmListener.java:1047)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener.access$300(AlarmListener.java:121)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener$TaskWork.doWork(AlarmListener.java:502)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener$TaskWork.run(AlarmListener.java:213)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:268)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at java.security.AccessController.doPrivileged(AccessController.java:224)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at javax.security.auth.Subject.doAs(Subject.java:495)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:131)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:89)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:335)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at java.security.AccessController.doPrivileged(AccessController.java:251)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:777)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.ExecutionContextImpl.go(ExecutionContextImpl.java:86)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener.fireTask(AlarmListener.java:1401)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.scheduler.AlarmListener.fired(AlarmListener.java:1319)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.AlarmImpl.callListenerMethod(AlarmImpl.java:340)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.timer.GenericTimer.run(GenericTimer.java:216)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:264)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at java.security.AccessController.doPrivileged(AccessController.java:224)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at javax.security.auth.Subject.doAs(Subject.java:495)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:131)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:89)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:335)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at java.security.AccessController.doPrivileged(AccessController.java:251)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1146)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.AlarmImpl.runListenerAsCJWork(AlarmImpl.java:175)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.am._Alarm.fireAlarm(_Alarm.java:333)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.asynchbeans.am._Alarm.run(_Alarm.java:230)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="color: #0000ff;">at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)</span></div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div></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/564583#564583">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>