[jBPM] - No active JTA transaction on joinTransaction call
by Hari Kumar
Hari Kumar [https://community.jboss.org/people/hari6025] created the discussion
"No active JTA transaction on joinTransaction call"
To view the discussion, visit: https://community.jboss.org/message/828166#828166
--------------------------------------------------------------
Hi All,
We have a common work item handler which is used at multiple locations across processes. When we are trying to complete the work item handler we get an error saying :
ERROR org.drools.persistence.SingleSessionCommandService - Could not commit session
No active JTA transaction on joinTransaction call
We just set some process level variable values while completing the workitemhandler. We have printed all the values and none of the the values are null.
The same work item handler gets completed successfully when executed as part of a different process. We have cross verifed both the processes and the configuration is exactly the same, the input output parameters etc as the same for both processes.
Can you please let us know what the error could be ?
Unfortunately we wont be able to share the exact code implemented in the handlers.
Thanks and Regards,
Hari.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/828166#828166]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months
Re: [jboss-user] [JBoss Cache] - how to config org.jboss.cache.loader.LocalDelegatingCacheLoader
by Libor Krzyžanek
Libor Krzyžanek [https://community.jboss.org/people/lkrzyzanek] replied to the discussion
"how to config org.jboss.cache.loader.LocalDelegatingCacheLoader"
To view the discussion, visit: https://community.jboss.org/message/828121#828121
--------------------------------------------------------------
Hi,
I'm failed to config this cache loader in the tutorial, any clue should be helpful
=====my config=========
<loaders passivation="false" shared="false">
<!--
we can have multiple cache loaders, which get chained
-->
<loader class="org.jboss.cache.loader.LocalDelegatingCacheLoader" async="false" fetchPersistentState="true"
ignoreModifications="true" purgeOnStartup="true">
<properties>
</properties>
</loader>
</loaders>
====error log of launching 1st instance ====
2013-07-16 14:49:04,193 WARN [org.jboss.cache.transaction.GenericTransactionManagerLookup] (main) Falling back to JBoss Cache's internal DummyTransactionManager
2013-07-16 14:49:04,584 INFO [org.jboss.cache.RPCManagerImpl] (main) Received new cluster view: [127.0.0.1:53717|1] [127.0.0.1:53717, 127.0.0.1:54627]
2013-07-16 14:49:04,615 INFO [org.jboss.cache.statetransfer.DefaultStateTransferIntegrator] (Incoming-1,127.0.0.1:54627) Using version 4096
2013-07-16 14:49:04,615 INFO [org.jboss.cache.interceptors.CacheLoaderInterceptor] (Incoming-1,127.0.0.1:54627) Cache loader was unable to load state
java.lang.NullPointerException
at org.jboss.cache.loader.LocalDelegatingCacheLoader.getChildrenNames(LocalDelegatingCacheLoader.java:74)
at org.jboss.cache.loader.AbstractDelegatingCacheLoader.getChildrenNames(AbstractDelegatingCacheLoader.java:84)
at org.jboss.cache.interceptors.CacheLoaderInterceptor.loadChildren(CacheLoaderInterceptor.java:362)
at org.jboss.cache.interceptors.CacheLoaderInterceptor.visitGetChildrenNamesCommand(CacheLoaderInterceptor.java:191)
at org.jboss.cache.commands.read.GetChildrenNamesCommand.acceptVisitor(GetChildrenNamesCommand.java:115)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)
at org.jboss.cache.commands.AbstractVisitor.visitGetChildrenNamesCommand(AbstractVisitor.java:125)
at org.jboss.cache.commands.read.GetChildrenNamesCommand.acceptVisitor(GetChildrenNamesCommand.java:115)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)
at org.jboss.cache.commands.AbstractVisitor.visitGetChildrenNamesCommand(AbstractVisitor.java:125)
at org.jboss.cache.commands.read.GetChildrenNamesCommand.acceptVisitor(GetChildrenNamesCommand.java:115)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:301)
at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:283)
at org.jboss.cache.commands.AbstractVisitor.visitGetChildrenNamesCommand(AbstractVisitor.java:125)
at org.jboss.cache.commands.read.GetChildrenNamesCommand.acceptVisitor(GetChildrenNamesCommand.java:115)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)
at org.jboss.cache.commands.AbstractVisitor.visitGetChildrenNamesCommand(AbstractVisitor.java:125)
at org.jboss.cache.commands.read.GetChildrenNamesCommand.acceptVisitor(GetChildrenNamesCommand.java:115)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)
at org.jboss.cache.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:130)
at org.jboss.cache.commands.AbstractVisitor.visitGetChildrenNamesCommand(AbstractVisitor.java:125)
at org.jboss.cache.commands.read.GetChildrenNamesCommand.acceptVisitor(GetChildrenNamesCommand.java:115)
at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:287)
at org.jboss.cache.invocation.CacheInvocationDelegate.getChildrenNamesInternal(CacheInvocationDelegate.java:654)
at org.jboss.cache.invocation.CacheInvocationDelegate.getChildrenNames(CacheInvocationDelegate.java:639)
at org.jboss.cache.invocation.NodeInvocationDelegate.getChildrenNames(NodeInvocationDelegate.java:297)
at org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateTransientState(DefaultStateTransferIntegrator.java:353)
at org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateTransientState(DefaultStateTransferIntegrator.java:234)
at org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateState(DefaultStateTransferIntegrator.java:113)
at org.jboss.cache.statetransfer.DefaultStateTransferManager.setState(DefaultStateTransferManager.java:201)
at org.jboss.cache.statetransfer.DefaultStateTransferManager.setState(DefaultStateTransferManager.java:165)
at org.jboss.cache.remoting.jgroups.ChannelMessageListener.setState(ChannelMessageListener.java:297)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUpEvent(MessageDispatcher.java:714)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:776)
at org.jgroups.JChannel.up(JChannel.java:1288)
at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:454)
at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:486)
at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER.connectToStateProvider(STREAMING_STATE_TRANSFER.java:575)
at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER.handleStateRsp(STREAMING_STATE_TRANSFER.java:512)
at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER.up(STREAMING_STATE_TRANSFER.java:275)
at org.jgroups.protocols.FRAG2.up(FRAG2.java:188)
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:820)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:233)
at org.jgroups.protocols.UNICAST.handleDataReceived(UNICAST.java:628)
at org.jgroups.protocols.UNICAST.up(UNICAST.java:309)
at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:750)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:167)
at org.jgroups.protocols.FD.up(FD.java:284)
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:307)
at org.jgroups.protocols.MERGE2.up(MERGE2.java:144)
at org.jgroups.protocols.Discovery.up(Discovery.java:264)
at org.jgroups.protocols.PING.up(PING.java:273)
at org.jgroups.protocols.TP.passMessageUp(TP.java:1273)
at org.jgroups.protocols.TP.access$100(TP.java:49)
at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1826)
at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1805)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/828121#828121]
Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months
[jBPM] - issue about jbpm5.4 human task config
by 席斌 席
席斌 席 [https://community.jboss.org/people/nbxibin380] created the discussion
"issue about jbpm5.4 human task config"
To view the discussion, visit: https://community.jboss.org/message/827936#827936
--------------------------------------------------------------
hi
I have modify content of jbpm-installer/conf/default.jbpm.console.properties.
it's content :
jbpm.console.server.host=192.168.100.131
jbpm.console.server.port=8088
jbpm.console.task.service.strategy=HornetQ
jbpm.console.task.service.host=192.168.100.131
jbpm.console.task.service.port=5153
jbpm.console.directory=
guvnor.protocol=http
guvnor.host=192.168.100.131:8088
guvnor.subdomain=drools-guvnor
guvnor.usr=admin
guvnor.pwd=admin
guvnor.packages=
guvnor.connect.timeout=10000
guvnor.read.timeout=10000
guvnor.snapshot.name=LATEST
console and drools-guvnor service is correctly ,but HornetQ is bad。
15/07 17:49:22,760[main] ERROR service.hornetq.HornetQTaskClientConnector.connect - Unable to connect to server using configuration org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5153&host=192-168-100-131
org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.evaluation:1 - Self Evaluation:2] -- Could not connect task client: on ip: 192.168.100.131 - port: 5153
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:132)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:279)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:238)
at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)
at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:194)
at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:309)
at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:170)
at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:140)
at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1098)
at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:320)
at com.sample.ProcessTest.main(ProcessTest.java:31)
Caused by: java.lang.IllegalArgumentException: Could not connect task client: on ip: 192.168.100.131 - port: 5153
at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.connect(GenericHTWorkItemHandler.java:158)
at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:180)
at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:107)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)
... 13 more
Please How resolve this question?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/827936#827936]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months