AnsweredAssumed Answered

Transaction warning in JBoss

Question asked by drams on Nov 5, 2013
Latest reply on May 27, 2014 by nagyf
We are preparing to go in to production for a important public-facing platform and we are doing some last cleans up checks.
While doing this we are noticing that there are some warnings being logged by/during Activiti actions in our log files, which we would like to investigate. All functionalitity seems to be working though.
We are currently running Activiti 5.13 on a JBoss SOA-P 5 platform in combination with an Oracle database using a XA datasource.

If I understand correctly the following warnings won't be shown anymore in the logs as soon as we upgrade to version 5.14? (https://jira.codehaus.org/browse/ACT-1625)


[org.activiti.engine.impl.bpmn.parser.BpmnParse] (http-0.0.0.0-8843-3) Invalid reference in diagram interchange definition: could not find ApprovalWorkflowContainer
2013-08-01 13:44:31,615 WARN  [org.activiti.engine.impl.bpmn.parser.BpmnParse] (http-0.0.0.0-8843-3) Invalid reference in diagram interchange definition: could not find rejectExecutionSubflowToMailService


Besides that we keep having the following transaction warning in our logs only for Activiti related actions. But like mentioned before the transactions seems to work fine.


2013-08-01 13:44:31,687 WARN  [org.jboss.tm.usertx.UserTransactionRegistry] (http-0.0.0.0-8843-3) Error notifying listener org.jboss.resource.connectionmanager.CachedConnectionManager@
bfdd46 of userTransactionStarted
java.lang.IllegalStateException: Trying to change transaction TransactionImple < ac, BasicAction: a122d0a:8ec5:51fa2e3a:2db2 status: ActionStatus.RUNNING > in enlist!
        at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:700)
        at org.jboss.resource.connectionmanager.TxConnectionManager.transactionStarted(TxConnectionManager.java:437)
        at org.jboss.resource.connectionmanager.CachedConnectionManager.userTransactionStarted(CachedConnectionManager.java:350)
        at org.jboss.tm.usertx.UserTransactionRegistry.userTransactionStarted(UserTransactionRegistry.java:119)
        at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:141)
        at org.springframework.transaction.jta.JtaTransactionManager.doJtaBegin(JtaTransactionManager.java:864)
        at org.springframework.transaction.jta.JtaTransactionManager.doBegin(JtaTransactionManager.java:821)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.handleExistingTransaction(AbstractPlatformTransactionManager.java:423)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:347)
        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
        at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:37)
        at org.activiti.engine.impl.db.DbIdGenerator.getNewBlock(DbIdGenerator.java:41)
        at org.activiti.engine.impl.db.DbIdGenerator.getNextId(DbIdGenerator.java:34)
        at org.activiti.engine.impl.db.DbSqlSession.insert(DbSqlSession.java:112)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.insert(ExecutionEntity.java:1040)
        at org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.newProcessInstance(ProcessDefinitionEntity.java:113)
        at org.activiti.engine.impl.pvm.process.ProcessDefinitionImpl.createProcessInstanceForInitial(ProcessDefinitionImpl.java:63)
        at org.activiti.engine.impl.pvm.process.ProcessDefinitionImpl.createProcessInstance(ProcessDefinitionImpl.java:53)
        at org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.createProcessInstance(ProcessDefinitionEntity.java:71)
        at org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.createProcessInstance(ProcessDefinitionEntity.java:102)
        at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:79)
        at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:36)
        at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61)
        at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
        at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:37)
        at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:63)
        at


Thanks in advance for your input!

Outcomes