5 Replies Latest reply on Oct 31, 2008 9:54 AM by Stefan Woerner

    Problem running bpel process designed with eclipse bpel desi

    Stefan Woerner Newbie

      Hello,

      i'm completely new to bpel. i've installed and deployed the jBPM BPEL engine to jboss, like described in the online tutorial. i'am able to deploy the sample processes delivered with die jBPM BPEL 1.1.1 zip-archive. So far so fine. but now i want to design my own processes with the bpel designer plugin for eclipse (Version 0.3.0 and Eclipse 3.3.2). after i've designed the process, i'm able to deploy it, using the ant script of the samples, with modification. in the JBoss jBPM BPEL Console i can see, that the process is deployed correctly and the wsdls also exit. but when i test the process using SOAP UI 2.5 Beta 1 i'm getting still an error, even if i only design a very simple process.

      here the simple bpel-file:

      <?xml version="1.0" encoding="UTF-8"?>
      <bpws:process exitOnStandardFault="yes" name="TestProject"
       suppressJoinFailure="yes" targetNamespace="http://project.test.de"
       xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
       xmlns:tns="http://project.test.de">
      
       <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
       location="TestProject.wsdl" namespace="http://project.test.de" />
      
       <bpws:partnerLinks>
       <bpws:partnerLink myRole="TestProjectProvider" name="client"
       partnerLinkType="tns:TestProject" />
       </bpws:partnerLinks>
      
       <bpws:variables>
       <bpws:variable messageType="tns:TestProjectRequestMessage"
       name="input" />
       <bpws:variable messageType="tns:TestProjectResponseMessage"
       name="output" />
       </bpws:variables>
      
       <bpws:sequence name="main">
       <bpws:receive createInstance="yes" name="receiveInput"
       operation="process" partnerLink="client" portType="tns:TestProject"
       variable="input" />
       <bpws:assign name="Assign" validate="no">
       <bpws:copy>
       <bpws:from part="payload" variable="input">
       <bpws:query
       queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/tns:input]]></bpws:query>
       </bpws:from>
       <bpws:to part="payload" variable="output">
       <bpws:query
       queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/tns:result]]></bpws:query>
       </bpws:to>
       </bpws:copy>
       </bpws:assign>
       <bpws:reply name="replyOutput" operation="process"
       partnerLink="client" portType="tns:TestProject" variable="output" />
       </bpws:sequence>
      
      </bpws:process>
      


      ... and the wsdl-file:

      <?xml version="1.0"?>
      <definitions name="TestProject" targetNamespace="http://project.test.de"
       xmlns:tns="http://project.test.de"
       xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
       xmlns="http://schemas.xmlsoap.org/wsdl/">
      
       <types>
       <schema attributeFormDefault="unqualified"
       elementFormDefault="qualified"
       targetNamespace="http://project.test.de"
       xmlns="http://www.w3.org/2001/XMLSchema">
      
       <element name="TestProjectRequest">
       <complexType>
       <sequence>
       <element name="input" type="string" />
       </sequence>
       </complexType>
       </element>
      
       <element name="TestProjectResponse">
       <complexType>
       <sequence>
       <element name="result" type="string" />
       </sequence>
       </complexType>
       </element>
       </schema>
       </types>
      
       <message name="TestProjectRequestMessage">
       <part name="payload" element="tns:TestProjectRequest" />
       </message>
       <message name="TestProjectResponseMessage">
       <part name="payload" element="tns:TestProjectResponse" />
       </message>
      
       <portType name="TestProject">
       <operation name="process">
       <input message="tns:TestProjectRequestMessage" />
       <output message="tns:TestProjectResponseMessage" />
       </operation>
       </portType>
      
       <plnk:partnerLinkType name="TestProject">
       <plnk:role name="TestProjectProvider"
       portType="tns:TestProject" />
       </plnk:partnerLinkType>
      
      </definitions>
      


      the jboss-log shows this:
      13:50:20,168 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.CompositeActivity - this operation breaks ==
      13:50:20,215 ERROR [XPathEvaluator] selection of size other than one: []
      13:50:20,246 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@151cc3
      13:50:20,246 ERROR [TimerEntityBean#findByProcessInstanceId] Find failed
      org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >))
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:225)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:144)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:54)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntities(JDBCStoreManager.java:613)
       at org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:337)
       at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.java:242)
       at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:662)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
       at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1126)
       at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
       at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
       at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
       at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
       at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:136)
       at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
       at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:45)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
       at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
       at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
       at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:521)
       at org.jboss.ejb.Container.invoke(Container.java:981)
       at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
       at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
       at $Proxy63.findByProcessInstanceId(Unknown Source)
       at org.jbpm.scheduler.ejbtimer.EntitySchedulerService.deleteTimersByProcessInstance(EntitySchedulerService.java:73)
       at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:329)
       at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:329)
       at org.jbpm.graph.exe.Token.end(Token.java:301)
       at org.jbpm.graph.exe.Token.end(Token.java:251)
       at org.jbpm.bpel.graph.exe.state.EndState.enterFaulted(EndState.java:81)
       at org.jbpm.bpel.graph.exe.state.FaultingState$2.childrenCompensated(FaultingState.java:56)
       at org.jbpm.bpel.graph.exe.state.StateUtil.invokeDefaultCompensation(StateUtil.java:48)
       at org.jbpm.bpel.graph.exe.state.FaultingState$1.childrenTerminated(FaultingState.java:46)
       at org.jbpm.bpel.graph.exe.ScopeInstance.terminateChildren(ScopeInstance.java:285)
       at org.jbpm.bpel.graph.exe.state.FaultingState.enterFaulting(FaultingState.java:109)
       at org.jbpm.bpel.graph.exe.state.ActiveState.faulted(ActiveState.java:65)
       at org.jbpm.bpel.graph.exe.ScopeInstance.faulted(ScopeInstance.java:106)
       at org.jbpm.bpel.graph.scope.FaultActionHandler.execute(FaultActionHandler.java:28)
       at org.jbpm.graph.def.Action.execute(Action.java:122)
       at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
       at org.jbpm.graph.def.ExceptionHandler.handleException(ExceptionHandler.java:60)
       at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:358)
       at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:373)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
       at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_21.raiseException(CompositeActivity_$$_javassist_21.java)
       at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:373)
       at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:126)
       at org.jbpm.graph.def.Transition.take(Transition.java:151)
       at org.jbpm.graph.def.Node.leave(Node.java:390)
       at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
       at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
       at org.jbpm.bpel.graph.basic.Receive.messageReceived(Receive.java:53)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
       at org.jbpm.bpel.graph.basic.Receive_$$_javassist_80.messageReceived(Receive_$$_javassist_80.java)
       at org.jbpm.bpel.integration.def.ReceiveAction.deliverMessage(ReceiveAction.java:98)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
       at org.jbpm.bpel.integration.def.ReceiveAction_$$_javassist_40.deliverMessage(ReceiveAction_$$_javassist_40.java)
       at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:219)
       at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
       at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:697)
       at java.lang.Thread.run(Unknown Source)
      Caused by: org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >)
       at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:358)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:524)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:405)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
       ... 81 more
      Caused by: javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >
       at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.checkEnlisted(TxConnectionManager.java:759)
       at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:592)
       at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:352)
       ... 85 more
      13:50:20,246 ERROR [EntitySchedulerService] failed to retrieve timer entities for process instance org.jbpm.graph.exe.ProcessInstance@795d5f
      javax.ejb.FinderException: Find failed: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >))
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:260)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:144)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:54)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntities(JDBCStoreManager.java:613)
       at org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:337)
       at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.java:242)
       at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:662)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
       at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1126)
       at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
       at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
       at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
       at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
       at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:136)
       at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
       at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:45)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
       at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
       at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
       at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:521)
       at org.jboss.ejb.Container.invoke(Container.java:981)
       at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
       at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
       at $Proxy63.findByProcessInstanceId(Unknown Source)
       at org.jbpm.scheduler.ejbtimer.EntitySchedulerService.deleteTimersByProcessInstance(EntitySchedulerService.java:73)
       at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:329)
       at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:329)
       at org.jbpm.graph.exe.Token.end(Token.java:301)
       at org.jbpm.graph.exe.Token.end(Token.java:251)
       at org.jbpm.bpel.graph.exe.state.EndState.enterFaulted(EndState.java:81)
       at org.jbpm.bpel.graph.exe.state.FaultingState$2.childrenCompensated(FaultingState.java:56)
       at org.jbpm.bpel.graph.exe.state.StateUtil.invokeDefaultCompensation(StateUtil.java:48)
       at org.jbpm.bpel.graph.exe.state.FaultingState$1.childrenTerminated(FaultingState.java:46)
       at org.jbpm.bpel.graph.exe.ScopeInstance.terminateChildren(ScopeInstance.java:285)
       at org.jbpm.bpel.graph.exe.state.FaultingState.enterFaulting(FaultingState.java:109)
       at org.jbpm.bpel.graph.exe.state.ActiveState.faulted(ActiveState.java:65)
       at org.jbpm.bpel.graph.exe.ScopeInstance.faulted(ScopeInstance.java:106)
       at org.jbpm.bpel.graph.scope.FaultActionHandler.execute(FaultActionHandler.java:28)
       at org.jbpm.graph.def.Action.execute(Action.java:122)
       at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
       at org.jbpm.graph.def.ExceptionHandler.handleException(ExceptionHandler.java:60)
       at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:358)
       at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:373)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
       at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_21.raiseException(CompositeActivity_$$_javassist_21.java)
       at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:373)
       at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:126)
       at org.jbpm.graph.def.Transition.take(Transition.java:151)
       at org.jbpm.graph.def.Node.leave(Node.java:390)
       at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
       at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
       at org.jbpm.bpel.graph.basic.Receive.messageReceived(Receive.java:53)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
       at org.jbpm.bpel.graph.basic.Receive_$$_javassist_80.messageReceived(Receive_$$_javassist_80.java)
       at org.jbpm.bpel.integration.def.ReceiveAction.deliverMessage(ReceiveAction.java:98)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
       at org.jbpm.bpel.integration.def.ReceiveAction_$$_javassist_40.deliverMessage(ReceiveAction_$$_javassist_40.java)
       at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:219)
       at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
       at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:697)
       at java.lang.Thread.run(Unknown Source)
      Caused by: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >))
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:225)
       ... 80 more
      Caused by: org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >)
       at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:358)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:524)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:405)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
       ... 81 more
      Caused by: javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >
       at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.checkEnlisted(TxConnectionManager.java:759)
       at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:592)
       at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:352)
       ... 85 more
      13:50:20,246 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
      13:50:20,246 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >)
      13:50:20,261 ERROR [StartListener] request delivery failed due to non-recoverable exception, giving up
      org.hibernate.exception.GenericJDBCException: Cannot open connection
       at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
       at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
       at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
       at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
       at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
       at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
       at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:94)
       at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:30)
       at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2158)
       at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2638)
       at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
       at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
       at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298)
       at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
       at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
       at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
       at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
       at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
       at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
       at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
       at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
       at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
       at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
       at org.jbpm.logging.db.DbLoggingService.log(DbLoggingService.java:50)
       at org.jbpm.svc.save.SaveLogsOperation.save(SaveLogsOperation.java:47)
       at org.jbpm.svc.Services.save(Services.java:170)
       at org.jbpm.JbpmContext.save(JbpmContext.java:427)
       at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:226)
       at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
       at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:697)
       at java.lang.Thread.run(Unknown Source)
      Caused by: org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >)
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
       at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
       at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
       ... 26 more
      Caused by: javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53efe93f:cd7:4905b454:9e status: ActionStatus.ABORT_ONLY >
       at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:319)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
       ... 28 more
      


      i would be very thankfull about some help!
      thanks

        • 1. Re: Problem running bpel process designed with eclipse bpel
          Alejandro Guizar Master

          I see two different problems.

          13:50:20,215 ERROR [XPathEvaluator] selection of size other than one: []

          This means one of your expressions is required to return a node-set of size 1, as described in the BPEL spec, but it returned an empty node-set (as evidenced by the empty string inside the square brackets []). Check your expressions. The server log file (jboss-4.x.x/server/default/log/server.log) will tell you which expression was being evaluated and help you pinpoint the problem.
          13:50:20,246 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@151cc3

          This situation is known and documented. Please refer to section 3.5.2 "Transaction Manager" of the jBPM BPEL 1.1.1 manual for details.

          • 2. Re: Problem running bpel process designed with eclipse bpel
            Peter Turanyi Newbie

            I suggest rename portType and partnerLinkType to have different names. Best TestProjectPT and TestProjectPLT

            • 3. Re: Problem running bpel process designed with eclipse bpel
              Stefan Woerner Newbie

              ok, thank you for your help.

              now i added an invoke-call for an external webservice. i add 2 assignments and one invoke node to the bpel-process. but when i want to test the process with soapUI i get also an error:

              no port implements the required port type


              my bpel-file:
              <?xml version="1.0" encoding="UTF-8"?>
              <bpws:process exitOnStandardFault="yes" name="SifedsBpelProcess"
               suppressJoinFailure="yes"
               targetNamespace="http://process.bpel.sifeds.de"
               xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
               xmlns:ns="http://process.bpel.sifeds.deArtifacts"
               xmlns:ns0="http://authentification.sifeds.de/"
               xmlns:tns="http://process.bpel.sifeds.de">
              
               <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
               location="SifedsBpelProcess.wsdl"
               namespace="http://process.bpel.sifeds.de" />
              
               <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
               location="SifedsBpelProcessArtifacts.wsdl"
               namespace="http://process.bpel.sifeds.deArtifacts" />
              
               <bpws:partnerLinks>
               <bpws:partnerLink myRole="SifedsBpelProcessProvider"
               name="client" partnerLinkType="tns:SifedsBpelProcessPLT" />
               <bpws:partnerLink name="auth" partnerLinkType="ns:authPLT"
               partnerRole="authRole" />
               </bpws:partnerLinks>
              
               <bpws:variables>
               <bpws:variable messageType="tns:SifedsBpelProcessRequestMessage"
               name="input" />
               <bpws:variable
               messageType="tns:SifedsBpelProcessResponseMessage" name="output" />
               <bpws:variable messageType="ns0:Sifedsauth_validateUserResponse"
               name="authResponse" />
               <bpws:variable messageType="ns0:Sifedsauth_validateUser"
               name="authRequest" />
               </bpws:variables>
              
               <bpws:sequence name="main">
               <bpws:receive createInstance="yes" name="receiveInput"
               operation="runBpelProcess" partnerLink="client"
               portType="tns:SifedsBpelProcessPT" variable="input" />
               <bpws:assign name="assignInput" validate="no">
               <bpws:copy>
               <bpws:from><![CDATA[$input.request/tns:procInputUserName]]></bpws:from>
               <bpws:to><![CDATA[$authRequest.validateUser/arg0]]></bpws:to>
               </bpws:copy>
               <bpws:copy>
               <bpws:from><![CDATA[$input.request/tns:procInputPassword]]></bpws:from>
               <bpws:to><![CDATA[$authRequest.validateUser/arg1]]></bpws:to>
               </bpws:copy>
               </bpws:assign>
               <bpws:invoke inputVariable="authRequest" name="invokeAuth"
               operation="validateUser" outputVariable="authResponse"
               partnerLink="auth" portType="ns0:Sifedsauth" />
               <bpws:assign name="assignOutput" validate="no">
               <bpws:copy>
               <bpws:from><![CDATA[$authResponse.validateUserResponse/return/id]]></bpws:from>
               <bpws:to><![CDATA[$output.response/tns:result/tns:procOutputID]]></bpws:to>
               </bpws:copy>
               <bpws:copy>
               <bpws:from><![CDATA[$authResponse.validateUserResponse/return/roleList]]></bpws:from>
               <bpws:to><![CDATA[$output.response/tns:result/tns:procOutputRoleList]]></bpws:to>
               </bpws:copy>
               <bpws:copy>
               <bpws:from><![CDATA[$authResponse.validateUserResponse/return/userName]]></bpws:from>
               <bpws:to><![CDATA[$output.response/tns:result/tns:procOutputUserName]]></bpws:to>
               </bpws:copy>
               </bpws:assign>
               <bpws:reply name="replyOutput" operation="runBpelProcess"
               partnerLink="client" portType="tns:SifedsBpelProcessPT"
               variable="output" />
               </bpws:sequence>
              </bpws:process>
              


              my Artefact-wsdl:
              <?xml version="1.0" encoding="UTF-8" standalone="no"?>
              <definitions xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
               xmlns:tns="http://process.bpel.sifeds.deArtifacts"
               xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
               xmlns:wsdl="http://authentification.sifeds.de/"
               name="SifedsBpelProcessArtifacts"
               targetNamespace="http://process.bpel.sifeds.deArtifacts"
               xmlns="http://schemas.xmlsoap.org/wsdl/">
              
               <import
               location="http://testserver:8080/SifedsApplication-SifedsAuthentificationBean/SifedsAuthentificationBean?wsdl"
               namespace="http://authentification.sifeds.de/" />
              
               <plnk:partnerLinkType name="authPLT">
               <plnk:role name="authRole" portType="wsdl:Sifedsauth" />
               </plnk:partnerLinkType>
              </definitions>
              


              and finally my process-wsdl:
              <?xml version="1.0"?>
              <definitions name="SifedsBpelProcess"
               targetNamespace="http://process.bpel.sifeds.de"
               xmlns:tns="http://process.bpel.sifeds.de"
               xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
               xmlns="http://schemas.xmlsoap.org/wsdl/">
              
               <types>
               <schema attributeFormDefault="unqualified"
               elementFormDefault="qualified"
               targetNamespace="http://process.bpel.sifeds.de"
               xmlns="http://www.w3.org/2001/XMLSchema">
              
               <element name="SifedsBpelProcessRequest"
               type="tns:SifedsBpelProcessRequest">
               </element>
              
               <element name="SifedsBpelProcessResponse">
               <complexType>
               <sequence>
               <element name="result"
               type="tns:SifedsProcessResponse" />
               </sequence>
               </complexType>
               </element>
              
               <complexType name="SifedsBpelProcessRequest">
               <sequence>
               <element name="procInputUserName" type="string"
               minOccurs="0" maxOccurs="1">
               </element>
               <element name="procInputPassword" type="string"
               minOccurs="0" maxOccurs="1">
               </element>
               </sequence>
               </complexType>
              
               <complexType name="SifedsProcessResponse">
               <sequence>
               <element name="procOutputID" type="string"
               minOccurs="0" maxOccurs="1">
               </element>
               <element name="procOutputRoleList" type="string"
               minOccurs="0" maxOccurs="unbounded">
               </element>
               <element name="procOutputUserName" type="string"
               minOccurs="0" maxOccurs="1">
               </element>
               </sequence>
               </complexType>
               </schema>
               </types>
              
               <message name="SifedsBpelProcessRequestMessage">
               <part name="request" element="tns:SifedsBpelProcessRequest" />
               </message>
               <message name="SifedsBpelProcessResponseMessage">
               <part name="response" element="tns:SifedsBpelProcessResponse" />
               </message>
              
               <portType name="SifedsBpelProcessPT">
               <operation name="runBpelProcess">
               <input message="tns:SifedsBpelProcessRequestMessage" />
               <output message="tns:SifedsBpelProcessResponseMessage" />
               </operation>
               </portType>
              
               <plnk:partnerLinkType name="SifedsBpelProcessPLT">
               <plnk:role name="SifedsBpelProcessProvider"
               portType="tns:SifedsBpelProcessPT" />
               </plnk:partnerLinkType>
              
              </definitions>
              


              as i already said, i'm completely new to bpel and maybe it's a very simple or stupid failure, which i make here.

              here is the log:
              16:25:19,868 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.CompositeActivity - this operation breaks ==
              16:25:19,899 ERROR [GraphElement] action threw exception: no port implements the required port type: portType={http://authentification.sifeds.de/}Sifedsauth
              org.jbpm.bpel.BpelException: no port implements the required port type: portType={http://authentification.sifeds.de/}Sifedsauth
               at org.jbpm.bpel.endpointref.SoapEndpointReference.selectPort(SoapEndpointReference.java:97)
               at org.jbpm.bpel.endpointref.SoapEndpointReference.selectPort(SoapEndpointReference.java:52)
               at org.jbpm.bpel.integration.jms.IntegrationControl.createCaller(IntegrationControl.java:261)
               at org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:162)
               at org.jbpm.bpel.integration.def.InvokeAction.execute(InvokeAction.java:75)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
               at java.lang.reflect.Method.invoke(Unknown Source)
               at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
               at org.jbpm.graph.def.Action_$$_javassist_114.execute(Action_$$_javassist_114.java)
               at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
               at org.jbpm.graph.def.Node.execute(Node.java:335)
               at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
               at org.jbpm.graph.def.Transition.take(Transition.java:151)
               at org.jbpm.graph.def.Node.leave(Node.java:390)
               at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
               at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
               at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:47)
               at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
               at org.jbpm.graph.def.Transition.take(Transition.java:151)
               at org.jbpm.graph.def.Node.leave(Node.java:390)
               at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
               at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
               at org.jbpm.bpel.graph.basic.Receive.messageReceived(Receive.java:53)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
               at java.lang.reflect.Method.invoke(Unknown Source)
               at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
               at org.jbpm.bpel.graph.basic.Receive_$$_javassist_80.messageReceived(Receive_$$_javassist_80.java)
               at org.jbpm.bpel.integration.def.ReceiveAction.deliverMessage(ReceiveAction.java:98)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
               at java.lang.reflect.Method.invoke(Unknown Source)
               at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
               at org.jbpm.bpel.integration.def.ReceiveAction_$$_javassist_40.deliverMessage(ReceiveAction_$$_javassist_40.java)
               at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:219)
               at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
               at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:697)
               at java.lang.Thread.run(Unknown Source)
              16:25:19,899 ERROR [StartListener] request delivery failed due to non-recoverable exception, giving up
              org.jbpm.bpel.BpelException: no port implements the required port type: portType={http://authentification.sifeds.de/}Sifedsauth
               at org.jbpm.bpel.endpointref.SoapEndpointReference.selectPort(SoapEndpointReference.java:97)
               at org.jbpm.bpel.endpointref.SoapEndpointReference.selectPort(SoapEndpointReference.java:52)
               at org.jbpm.bpel.integration.jms.IntegrationControl.createCaller(IntegrationControl.java:261)
               at org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:162)
               at org.jbpm.bpel.integration.def.InvokeAction.execute(InvokeAction.java:75)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
               at java.lang.reflect.Method.invoke(Unknown Source)
               at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
               at org.jbpm.graph.def.Action_$$_javassist_114.execute(Action_$$_javassist_114.java)
               at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
               at org.jbpm.graph.def.Node.execute(Node.java:335)
               at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
               at org.jbpm.graph.def.Transition.take(Transition.java:151)
               at org.jbpm.graph.def.Node.leave(Node.java:390)
               at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
               at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
               at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:47)
               at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
               at org.jbpm.graph.def.Transition.take(Transition.java:151)
               at org.jbpm.graph.def.Node.leave(Node.java:390)
               at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
               at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
               at org.jbpm.bpel.graph.basic.Receive.messageReceived(Receive.java:53)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
               at java.lang.reflect.Method.invoke(Unknown Source)
               at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
               at org.jbpm.bpel.graph.basic.Receive_$$_javassist_80.messageReceived(Receive_$$_javassist_80.java)
               at org.jbpm.bpel.integration.def.ReceiveAction.deliverMessage(ReceiveAction.java:98)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
               at java.lang.reflect.Method.invoke(Unknown Source)
               at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
               at org.jbpm.bpel.integration.def.ReceiveAction_$$_javassist_40.deliverMessage(ReceiveAction_$$_javassist_40.java)
               at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:219)
               at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
               at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:697)
               at java.lang.Thread.run(Unknown Source)
              


              thank you very much!!!

              • 4. Re: Problem running bpel process designed with eclipse bpel
                Stefan Woerner Newbie

                hello again.

                now i found out what went wrong with the port typ. i have to add the external web service to the partner services in jbpm bpel. now i'm able to run my process using soap ui. but i still get some errors and warnings. one of the warnings (logger)

                14:00:42,028 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@12b87e5
                


                you told me to take a look into the manual. i read the paragraph 3.5.2 but i couldn't fix the problem. is there another solution for this problem? the next thing are the errors, but i think they're caused of the logger problem, am i right?

                here is the complete log-file:
                14:00:42,028 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@12b87e5
                14:00:42,028 ERROR [TimerEntityBean#findByProcessInstanceId] Find failed
                org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >))
                 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
                 at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:225)
                 at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:144)
                 at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:54)
                 at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntities(JDBCStoreManager.java:613)
                 at org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:337)
                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.java:242)
                 at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:662)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
                 at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1126)
                 at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
                 at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
                 at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
                 at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:136)
                 at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
                 at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:45)
                 at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
                 at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
                 at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
                 at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
                 at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
                 at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
                 at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:521)
                 at org.jboss.ejb.Container.invoke(Container.java:981)
                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
                 at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
                 at $Proxy63.findByProcessInstanceId(Unknown Source)
                 at org.jbpm.scheduler.ejbtimer.EntitySchedulerService.deleteTimersByProcessInstance(EntitySchedulerService.java:73)
                 at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:329)
                 at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:329)
                 at org.jbpm.graph.exe.Token.end(Token.java:301)
                 at org.jbpm.graph.exe.Token.end(Token.java:251)
                 at org.jbpm.bpel.graph.exe.ScopeInstance.proceed(ScopeInstance.java:249)
                 at org.jbpm.bpel.graph.exe.state.EndState.enterCompleted(EndState.java:66)
                 at org.jbpm.bpel.graph.exe.state.ActiveState$1.completed(ActiveState.java:34)
                 at org.jbpm.bpel.graph.exe.ScopeInstance.completed(ScopeInstance.java:119)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:238)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.bpel.graph.struct.StructuredActivity$End_$$_javassist_174.leave(StructuredActivity$End_$$_javassist_174.java)
                 at org.jbpm.bpel.graph.struct.StructuredActivity.leave(StructuredActivity.java:66)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_21.leave(CompositeActivity_$$_javassist_21.java)
                 at org.jbpm.bpel.graph.struct.StructuredActivity$End.execute(StructuredActivity.java:298)
                 at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.bpel.graph.struct.StructuredActivity$End_$$_javassist_174.enter(StructuredActivity$End_$$_javassist_174.java)
                 at org.jbpm.graph.def.Transition.take(Transition.java:151)
                 at org.jbpm.graph.def.Node.leave(Node.java:390)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:120)
                 at org.jbpm.bpel.integration.def.ReplyAction.execute(ReplyAction.java:79)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.graph.def.Action_$$_javassist_114.execute(Action_$$_javassist_114.java)
                 at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
                 at org.jbpm.graph.def.Node.execute(Node.java:335)
                 at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
                 at org.jbpm.graph.def.Transition.take(Transition.java:151)
                 at org.jbpm.graph.def.Node.leave(Node.java:390)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:47)
                 at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
                 at org.jbpm.graph.def.Transition.take(Transition.java:151)
                 at org.jbpm.graph.def.Node.leave(Node.java:390)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:120)
                 at org.jbpm.bpel.integration.def.InvokeAction.execute(InvokeAction.java:76)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.graph.def.Action_$$_javassist_114.execute(Action_$$_javassist_114.java)
                 at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
                 at org.jbpm.graph.def.Node.execute(Node.java:335)
                 at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
                 at org.jbpm.graph.def.Transition.take(Transition.java:151)
                 at org.jbpm.graph.def.Node.leave(Node.java:390)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:47)
                 at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
                 at org.jbpm.graph.def.Transition.take(Transition.java:151)
                 at org.jbpm.graph.def.Node.leave(Node.java:390)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at org.jbpm.bpel.graph.basic.Receive.messageReceived(Receive.java:53)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.bpel.graph.basic.Receive_$$_javassist_80.messageReceived(Receive_$$_javassist_80.java)
                 at org.jbpm.bpel.integration.def.ReceiveAction.deliverMessage(ReceiveAction.java:98)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.bpel.integration.def.ReceiveAction_$$_javassist_40.deliverMessage(ReceiveAction_$$_javassist_40.java)
                 at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:219)
                 at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
                 at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:697)
                 at java.lang.Thread.run(Unknown Source)
                Caused by: org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >)
                 at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:358)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:524)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:405)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
                 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
                 ... 128 more
                Caused by: javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >
                 at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.checkEnlisted(TxConnectionManager.java:759)
                 at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:592)
                 at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:352)
                 ... 132 more
                14:00:42,059 ERROR [EntitySchedulerService] failed to retrieve timer entities for process instance org.jbpm.graph.exe.ProcessInstance@106c17b
                javax.ejb.FinderException: Find failed: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >))
                 at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:260)
                 at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:144)
                 at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:54)
                 at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntities(JDBCStoreManager.java:613)
                 at org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:337)
                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.java:242)
                 at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:662)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
                 at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1126)
                 at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
                 at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
                 at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
                 at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:136)
                 at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
                 at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:45)
                 at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
                 at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
                 at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
                 at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
                 at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
                 at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
                 at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:521)
                 at org.jboss.ejb.Container.invoke(Container.java:981)
                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
                 at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
                 at $Proxy63.findByProcessInstanceId(Unknown Source)
                 at org.jbpm.scheduler.ejbtimer.EntitySchedulerService.deleteTimersByProcessInstance(EntitySchedulerService.java:73)
                 at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:329)
                 at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:329)
                 at org.jbpm.graph.exe.Token.end(Token.java:301)
                 at org.jbpm.graph.exe.Token.end(Token.java:251)
                 at org.jbpm.bpel.graph.exe.ScopeInstance.proceed(ScopeInstance.java:249)
                 at org.jbpm.bpel.graph.exe.state.EndState.enterCompleted(EndState.java:66)
                 at org.jbpm.bpel.graph.exe.state.ActiveState$1.completed(ActiveState.java:34)
                 at org.jbpm.bpel.graph.exe.ScopeInstance.completed(ScopeInstance.java:119)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:238)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.bpel.graph.struct.StructuredActivity$End_$$_javassist_174.leave(StructuredActivity$End_$$_javassist_174.java)
                 at org.jbpm.bpel.graph.struct.StructuredActivity.leave(StructuredActivity.java:66)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_21.leave(CompositeActivity_$$_javassist_21.java)
                 at org.jbpm.bpel.graph.struct.StructuredActivity$End.execute(StructuredActivity.java:298)
                 at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.bpel.graph.struct.StructuredActivity$End_$$_javassist_174.enter(StructuredActivity$End_$$_javassist_174.java)
                 at org.jbpm.graph.def.Transition.take(Transition.java:151)
                 at org.jbpm.graph.def.Node.leave(Node.java:390)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:120)
                 at org.jbpm.bpel.integration.def.ReplyAction.execute(ReplyAction.java:79)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.graph.def.Action_$$_javassist_114.execute(Action_$$_javassist_114.java)
                 at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
                 at org.jbpm.graph.def.Node.execute(Node.java:335)
                 at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
                 at org.jbpm.graph.def.Transition.take(Transition.java:151)
                 at org.jbpm.graph.def.Node.leave(Node.java:390)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:47)
                 at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
                 at org.jbpm.graph.def.Transition.take(Transition.java:151)
                 at org.jbpm.graph.def.Node.leave(Node.java:390)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:120)
                 at org.jbpm.bpel.integration.def.InvokeAction.execute(InvokeAction.java:76)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.graph.def.Action_$$_javassist_114.execute(Action_$$_javassist_114.java)
                 at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
                 at org.jbpm.graph.def.Node.execute(Node.java:335)
                 at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
                 at org.jbpm.graph.def.Transition.take(Transition.java:151)
                 at org.jbpm.graph.def.Node.leave(Node.java:390)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:47)
                 at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
                 at org.jbpm.graph.def.Transition.take(Transition.java:151)
                 at org.jbpm.graph.def.Node.leave(Node.java:390)
                 at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
                 at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
                 at org.jbpm.bpel.graph.basic.Receive.messageReceived(Receive.java:53)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.bpel.graph.basic.Receive_$$_javassist_80.messageReceived(Receive_$$_javassist_80.java)
                 at org.jbpm.bpel.integration.def.ReceiveAction.deliverMessage(ReceiveAction.java:98)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
                 at org.jbpm.bpel.integration.def.ReceiveAction_$$_javassist_40.deliverMessage(ReceiveAction_$$_javassist_40.java)
                 at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:219)
                 at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
                 at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:697)
                 at java.lang.Thread.run(Unknown Source)
                Caused by: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >))
                 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
                 at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:225)
                 ... 127 more
                Caused by: org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >)
                 at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:358)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:524)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:405)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
                 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
                 ... 128 more
                Caused by: javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >
                 at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.checkEnlisted(TxConnectionManager.java:759)
                 at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:592)
                 at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:352)
                 ... 132 more
                14:00:42,059 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
                14:00:42,059 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >)
                14:00:42,059 ERROR [StartListener] request delivery failed due to non-recoverable exception, giving up
                org.hibernate.exception.GenericJDBCException: Cannot open connection
                 at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
                 at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
                 at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
                 at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
                 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
                 at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
                 at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:94)
                 at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:30)
                 at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2158)
                 at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2638)
                 at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
                 at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
                 at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298)
                 at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
                 at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
                 at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
                 at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
                 at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
                 at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
                 at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
                 at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
                 at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
                 at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
                 at org.jbpm.logging.db.DbLoggingService.log(DbLoggingService.java:50)
                 at org.jbpm.svc.save.SaveLogsOperation.save(SaveLogsOperation.java:47)
                 at org.jbpm.svc.Services.save(Services.java:170)
                 at org.jbpm.JbpmContext.save(JbpmContext.java:427)
                 at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:226)
                 at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
                 at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:697)
                 at java.lang.Thread.run(Unknown Source)
                Caused by: org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >)
                 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
                 at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
                 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
                 ... 26 more
                Caused by: javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53efe93f:114d:490b0137:66 status: ActionStatus.ABORT_ONLY >
                 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:319)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
                 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
                 ... 28 more
                


                greetings stefan

                • 5. Re: Problem running bpel process designed with eclipse bpel
                  Stefan Woerner Newbie

                  ok, problem fixed. sorry for the last post. the solution is in section 3.5.2 in the manual, as alex said. thanks!