<!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="https://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;">
    Fatal and Critical Error that cause the server log continues to grow indefinitely until out of the harddisk space
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/drupalspring">wqe wqe</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/756352#756352">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>As we all know , many components in jbpm 5.30 final version is full of BUGs .After tremendous effort ,&#160; I managed to solve all the bugs and can run the built-in evaluation process successfully in the gwt-console. Then I try to use the eclipse to develop a process which contains human tasks and the form (ftl) and&#160;&#160; the upload them to the Guvnor , compile it and&#160; use the gwt console to run this process.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBPM-3690">This stupid bug</a> causes my&#160; task forms cannot be shown properly .&#160; So I follow the stupid workaround to rename .ftl to .flt&#160;&#160; before uploading to Guvnor using eclipse.&#160; Then now , when I login in to the gwt-console and select the process. The following errors loop infinitely and will not stop .It causes the size of the size log grows continually indefinitely until the harddisk running of the space. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I don't know what happens and the exact ways to reproduce this problem . I only describe what I have done when&#160; I come across this error . </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Jbpm 5.30 final&#160; is definitely&#160; are very unstable and full of bugs product IMO . The server log is attached , the following show some erros , please advise what happens. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><p><strong>14:16:00,258 INFO&#160; [stdout] (pool-11-thread-1) Unable to execute timer job!</strong></p><p><strong> 14:16:00,273 ERROR [stderr] (pool-11-thread-1) java.lang.NullPointerException</strong></p><p> 14:16:00,273 ERROR [stderr] (pool-11-thread-1)&#160;&#160;&#160;&#160; at org.jbpm.process.instance.impl.ProcessInstanceImpl.setProcess(ProcessInstanceImpl.java:61)</p><p> 14:16:00,273 ERROR [stderr] (pool-11-thread-1)&#160;&#160;&#160;&#160; at org.jbpm.marshalling.impl.AbstractProtobufProcessInstanceMarshaller.readProcessInstance(AbstractProtobufProcessInstanceMarshaller.java:375)</p><p>14:16:00,273 ERROR [stderr] (pool-11-thread-1)&#160;&#160;&#160;&#160; at org.jbpm.persistence.processinstance.ProcessInstanceInfo.getProcessInstance(ProcessInstanceInfo.java:142)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>14:16:00,508 WARN&#160; [com.arjuna.ats.arjuna] (pool-11-thread-1) ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple&lt; 0:ffffac13c765:6d233076:503c6097:5b, </strong>org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@10fc60b &gt;: javax.persistence.PersistenceException: error during managed flush</p><p>&#160;&#160;&#160; at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1505) [hibernate-entitymanager-4.1.6.Final.jar:4.1.6.Final]</p><p>&#160;&#160;&#160; at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109) [hibernate-core-4.1.6.Final.jar:4.1.6.Final]</p><p>&#160;&#160;&#160; at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53) [hibernate-core-4.1.6.Final.jar:4.1.6.Final]</p><p>&#160;&#160;&#160; at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)</p><p>&#160;&#160;&#160; at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)</p><p>&#160;&#160;&#160; at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)</p><p>&#160;&#160;&#160; at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)</p><p>&#160;&#160;&#160; at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)</p><p>&#160;&#160;&#160; at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)</p><p>&#160;&#160;&#160; at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)</p><p>&#160;&#160;&#160; at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:167)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>14:16:00,664 WARN&#160; [org.drools.persistence.jta.JtaTransactionManager] (pool-11-thread-1) Unable to commit transaction: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.</p><p>&#160;&#160;&#160; at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)</p><p>&#160;&#160;&#160; at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)</p><p>&#160;&#160;&#160; at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)</p><p>&#160;&#160;&#160; at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:167)</p><p>&#160;&#160;&#160; at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:179) [drools-persistence-jpa-5.4.0.Final.jar:5.4.0.Final]</p><p>&#160;&#160;&#160; at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:371) [drools-persistence-jpa-5.4.0.Final.jar:5.4.0.Final]</p><p>&#160;&#160;&#160; at org.drools.persistence.jpa.JpaTimerJobInstance.call(JpaTimerJobInstance.java:34) [drools-persistence-jpa-5.4.0.Final.jar:5.4.0.Final]</p><p>&#160;&#160;&#160; at org.drools.persistence.jpa.JpaTimerJobInstance.call(JpaTimerJobInstance.java:14) [drools-persistence-jpa-5.4.0.Final.jar:5.4.0.Final]</p><p>&#160;&#160;&#160; at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_06]</p><p>&#160;&#160;&#160; at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_06]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Caused by: javax.persistence.PersistenceException: error during managed flush</p><p>&#160;&#160;&#160; at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1505) [hibernate-entitymanager-4.1.6.Final.jar:4.1.6.Final]</p><p>&#160;&#160;&#160; at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109) [hibernate-core-4.1.6.Final.jar:4.1.6.Final]</p><p>&#160;&#160;&#160; at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53) [hibernate-core-4.1.6.Final.jar:4.1.6.Final]</p><p>&#160;&#160;&#160; at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)</p><p>&#160;&#160;&#160; at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)</p><p>&#160;&#160;&#160; at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)</p><p>&#160;&#160;&#160; at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)</p></blockquote><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>My environment : AS 7.1 , Postresql 9.1 , JPA2 with hibernate , jbpm 5.3 </p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/756352#756352">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://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>