3 Replies Latest reply on Jan 24, 2012 2:11 PM by Prasanth Manchambhatla

    Error while starting process from jbpm-console

    Prasanth Manchambhatla Newbie

      I am getting the following error while trying to start a process from jbpm-console "Processes" tab.

       

      17:46:53,061 WARN  [org.jboss.resteasy.core.SynchronousDispatcher] (http--0.0.0.0-8080-5) failed to execute: javax.ws.rs.WebApplicationException: org.hibernate.exception.ConstraintViolationException: could not insert: [org.jbpm.process.audit.ProcessInstanceLog]

                at org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:211) [classes:]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]

                at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) [resteasy-jaxrs-2.2.1.GA.jar:]

                at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255) [resteasy-jaxrs-2.2.1.GA.jar:]

                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220) [resteasy-jaxrs-2.2.1.GA.jar:]

                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209) [resteasy-jaxrs-2.2.1.GA.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519) [resteasy-jaxrs-2.2.1.GA.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]

                at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]

                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]

                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]

      Caused by: org.hibernate.exception.ConstraintViolationException: could not insert: [org.jbpm.process.audit.ProcessInstanceLog]

                at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:64) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2176) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2656) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:563) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.impl.SessionImpl.save(SessionImpl.java:551) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.impl.SessionImpl.save(SessionImpl.java:547) [hibernate-core-3.3.2.GA.jar:]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]

                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]

                at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:342) [hibernate-core-3.3.2.GA.jar:]

                at $Proxy105.save(Unknown Source)          at org.jbpm.process.audit.WorkingMemoryDbLogger.addProcessLog(WorkingMemoryDbLogger.java:67) [jbpm-bam-5.2.0.Final.jar:]

                at org.jbpm.process.audit.WorkingMemoryDbLogger.logEventCreated(WorkingMemoryDbLogger.java:44) [jbpm-bam-5.2.0.Final.jar:]

                at org.drools.audit.WorkingMemoryLogger.filterLogEvent(WorkingMemoryLogger.java:196) [drools-core-5.3.1.Final.jar:]

                at org.drools.audit.WorkingMemoryLogger.beforeProcessStarted(WorkingMemoryLogger.java:421) [drools-core-5.3.1.Final.jar:]

                at org.drools.event.ProcessEventSupport.fireBeforeProcessStarted(ProcessEventSupport.java:40) [drools-core-5.3.1.Final.jar:]

                at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:167) [jbpm-flow-5.2.0.Final.jar:]

                at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:138) [jbpm-flow-5.2.0.Final.jar:]

                at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1079) [drools-core-5.3.1.Final.jar:]

                at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:306) [drools-core-5.3.1.Final.jar:]

                at org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:119) [drools-core-5.3.1.Final.jar:]

                at org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:38) [drools-core-5.3.1.Final.jar:]

                at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36) [drools-core-5.3.1.Final.jar:]

                at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:345) [drools-persistence-jpa-5.3.1.Final.jar:]

                at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:223) [drools-core-5.3.1.Final.jar:]

                at org.jbpm.integration.console.CommandDelegate.startProcess(CommandDelegate.java:304) [jbpm-gwt-core-5.2.0.Final.jar:]

                at org.jbpm.integration.console.ProcessManagement.newInstance(ProcessManagement.java:75) [jbpm-gwt-core-5.2.0.Final.jar:]

                at org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:206) [classes:]

                ... 33 more

      Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("JBPM"."PROCESSINSTANCELOG"."ID")

       

       

                at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3468) [ojdbc6-11.1.0.7.0.jar:]

                at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350) [ojdbc6-11.1.0.7.0.jar:]

                at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:94) [hibernate-core-3.3.2.GA.jar:]

                at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:57) [hibernate-core-3.3.2.GA.jar:]

                ... 71 more

        • 1. Re: Error while starting process from jbpm-console
          Prasanth Manchambhatla Newbie

          Some logs before the above exception:

           

          18:31:02,663 DEBUG [org.apache.catalina.realm.RealmBase] (http--0.0.0.0-8080-3)   Checking roles GenericPrincipal[krisv(admin,manager,user,)]

          18:31:02,663 DEBUG [org.apache.catalina.realm.RealmBase] (http--0.0.0.0-8080-3) Username krisv does NOT have role administrator

          18:31:02,663 DEBUG [org.apache.catalina.realm.RealmBase] (http--0.0.0.0-8080-3) No role found:  administrator

          18:31:02,663 DEBUG [org.apache.catalina.realm.RealmBase] (http--0.0.0.0-8080-3) Username krisv has role manager

          18:31:02,663 DEBUG [org.apache.catalina.realm.RealmBase] (http--0.0.0.0-8080-3) Role found:  manager

          18:31:02,663 DEBUG [org.apache.catalina.realm.RealmBase] (http--0.0.0.0-8080-3) Username krisv has role user

          18:31:02,663 DEBUG [org.apache.catalina.realm.RealmBase] (http--0.0.0.0-8080-3) Role found:  user

          18:31:02,663 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] (http--0.0.0.0-8080-3)  Successfully passed all security constraints

          18:31:02,663 TRACE [org.jboss.as.web.security.SecurityContextAssociationValve] (http--0.0.0.0-8080-3) Begin invoke, caller=GenericPrincipal[krisv(admin,manager,user,)]

          18:31:02,663 TRACE [org.jboss.as.web.security.SecurityContextAssociationValve] (http--0.0.0.0-8080-3) Restoring principal info from cache

          18:31:02,663 DEBUG [org.jboss.resteasy.core.SynchronousDispatcher] (http--0.0.0.0-8080-3) PathInfo: /process/definition/com.sample.bpmn.signalEventTest/new_instance

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.TxConnectionManager] (http--0.0.0.0-8080-3) Subject: null

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.TxConnectionManager] (http--0.0.0.0-8080-3) getManagedConnection interleaving=false , tx=TransactionImple < ac, BasicAction: 0:ffff0a65b366:6cdc3262:4f1e0900:1b status: ActionStatus.RUNNING >

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (http--0.0.0.0-8080-3) supplying ManagedConnection from pool: org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368656478 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=null]

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (http--0.0.0.0-8080-3) Got connection from pool tracked by transaction=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368656478 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=null] tx=TransactionImple < ac, BasicAction: 0:ffff0a65b366:6cdc3262:4f1e0900:1b status: ActionStatus.RUNNING >

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (http--0.0.0.0-8080-3) Using connection from pool tracked by transaction=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368656478 trackByTx=true pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=null] tx=TransactionImple < ac, BasicAction: 0:ffff0a65b366:6cdc3262:4f1e0900:1b status: ActionStatus.RUNNING >

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (http--0.0.0.0-8080-3) Pre-enlist: org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368656478 trackByTx=true pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=null] threadTx=TransactionImple < ac, BasicAction: 0:ffff0a65b366:6cdc3262:4f1e0900:1b status: ActionStatus.RUNNING >

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (http--0.0.0.0-8080-3) Get synchronizer org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368656478 trackByTx=true pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=null] threadTx=TransactionImple < ac, BasicAction: 0:ffff0a65b366:6cdc3262:4f1e0900:1b status: ActionStatus.RUNNING >

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (http--0.0.0.0-8080-3) Enlisting resource org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368656478 trackByTx=true pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=TxSync16641499{tx=TransactionImple < ac, BasicAction: 0:ffff0a65b366:6cdc3262:4f1e0900:1b status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=false}]

          18:31:02,678 TRACE [org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl] (http--0.0.0.0-8080-3) start(< formatId=131076, gtrid_length=29, bqual_length=28, tx_uid=0:ffff0a65b366:6cdc3262:4f1e0900:1b, node_name=1, branch_uid=0:ffff0a65b366:6cdc3262:4f1e0900:21, eis_name=unknown eis name >, 0)

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (http--0.0.0.0-8080-3) Enlisted resource org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368656478 trackByTx=true pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=TxSync16641499{tx=TransactionImple < ac, BasicAction: 0:ffff0a65b366:6cdc3262:4f1e0900:1b status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=false}]

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (http--0.0.0.0-8080-3) Check enlisted org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368656478 trackByTx=true pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=TxSync16641499{tx=TransactionImple < ac, BasicAction: 0:ffff0a65b366:6cdc3262:4f1e0900:1b status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=true}] threadTx=TransactionImple < ac, BasicAction: 0:ffff0a65b366:6cdc3262:4f1e0900:1b status: ActionStatus.RUNNING >

          18:31:02,678 INFO  [stdout] (http--0.0.0.0-8080-3) Hibernate: select hibernate_sequence.nextval from dual

           

           

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (http--0.0.0.0-8080-3) connectionClosed called mc=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (http--0.0.0.0-8080-3) unregisterConnection: 0 handles left

          18:31:02,678 TRACE [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (http--0.0.0.0-8080-3) isManagedConnectionFree=false mc=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3

          18:31:02,709 TRACE [org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl] (http--0.0.0.0-8080-3) end(< formatId=131076, gtrid_length=29, bqual_length=28, tx_uid=0:ffff0a65b366:6cdc3262:4f1e0900:1b, node_name=1, branch_uid=0:ffff0a65b366:6cdc3262:4f1e0900:21, eis_name=unknown eis name >,67108864)

          18:31:02,709 TRACE [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (http--0.0.0.0-8080-3) afterCompletion(4) isTrackByTx=true for org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368656478 trackByTx=true pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=null]

          18:31:02,709 TRACE [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (http--0.0.0.0-8080-3) putting ManagedConnection back into pool kill=false cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368656478 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=null]

          18:31:02,709 TRACE [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (http--0.0.0.0-8080-3) Returning connection to pool org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@d171b2[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@7f61a3 connection handles=0 lastUse=1327368662709 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@93a985 pool internal context=org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool@e34d01 xaResource=org.jboss.jca.core.tx.jbossts.LocalXAResourceImpl@d4b480 txSync=null]

          18:31:02,709 WARN  [org.jboss.resteasy.core.SynchronousDispatcher] (http--0.0.0.0-8080-3) failed to execute: javax.ws.rs.WebApplicationException: org.hibernate.exception.ConstraintViolationException: could not insert: [org.jbpm.process.audit.ProcessInstanceLog]

          • 3. Re: Error while starting process from jbpm-console
            Prasanth Manchambhatla Newbie

            Fix:

            jbpm-gwt-core.jar

            org.jbpm.integration.console.CommandDelegate

             

            replaced

            new WorkingMemoryDbLogger(ksession);

            with

            new JPAWorkingMemoryDbLogger(ksession);