<state name="checkserveravailability">
<timer name="repeaterTimer" duedate="10 seconds" transition="fire">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
logger.log("Executing the timer!");
</script>
</action>
</timer>
<transition name="fire" to="isserveravailable">
<exception-handler>
</exception-handler>
</transition>
</state>
<decision name="isserveravailable">
<event type="node-enter">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
logger.log("Checking server availability!");
</script>
</action>
<action class="org.zaizi.alfresco.module.valueretail.villagewww.avm.wf.AVMCheckServerAvailability" />
</event>
<transition name="busy" to="checkserveravailability"/>
<transition name="available" to="review">
<cancel-timer name="repeaterTimer"/>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
logger.log("Publishing the content to Prelive!");
</script>
</action>
<exception-handler>
<action class="org.alfresco.repo.avm.wf.AVMReleaseTestServerHandler"/>
</exception-handler>
<condition>#{wf_serverAvailable != null && wf_serverAvailable == true}</condition>
</transition>
</decision>
21:19:36,394 ERROR [repo.transaction.AlfrescoTransactionSupport] After completion (rolled-back) listener exception:
listener: org.alfresco.repo.workflow.jbpm.JBPMTransactionTemplate@a0590509
org.jbpm.JbpmException: closed JbpmContext in different order then they were created… check your try-finally's around JbpmContexts blocks
at org.jbpm.JbpmConfiguration.popJbpmContext(JbpmConfiguration.java:707)
at org.jbpm.JbpmConfiguration.jbpmContextClosed(JbpmConfiguration.java:720)
at org.jbpm.JbpmContext.close(JbpmContext.java:144)
at org.springmodules.workflow.jbpm31.JbpmTemplate.releaseContext(JbpmTemplate.java:111)
at org.alfresco.repo.workflow.jbpm.JBPMTransactionTemplate.afterRollback(JBPMTransactionTemplate.java:189)
at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.afterCompletion(AlfrescoTransactionSupport.java:824)
at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:168)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.invokeAfterCompletion(AbstractPlatformTransactionManager.java:996)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCompletion(AbstractPlatformTransactionManager.java:971)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:874)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:822)
at org.springframework.transaction.interceptor.TransactionAspectSupport.completeTransactionAfterThrowing(TransactionAspectSupport.java:412)
at org.alfresco.util.transaction.SpringAwareUserTransaction.completeTransactionAfterThrowing(SpringAwareUserTransaction.java:567)
at org.alfresco.util.transaction.SpringAwareUserTransaction.rollback(SpringAwareUserTransaction.java:537)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:394)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:232)
at org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread.executeJob(AlfrescoJobExecutorThread.java:187)
at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:60)
21:19:36,408 ERROR [workflow.jbpm.AlfrescoJobExecutorThread] failed to execute Timer(repeaterTimer,2010-12-19 21:19:33,000,Token(/))
org.jbpm.JbpmException: closed JbpmContext in different order then they were created… check your try-finally's around JbpmContexts blocks
at org.jbpm.JbpmConfiguration.popJbpmContext(JbpmConfiguration.java:707)
at org.jbpm.JbpmConfiguration.jbpmContextClosed(JbpmConfiguration.java:720)
at org.jbpm.JbpmContext.close(JbpmContext.java:144)
at org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread$3.execute(AlfrescoJobExecutorThread.java:222)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:232)
at org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread.executeJob(AlfrescoJobExecutorThread.java:187)
at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:60)
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.