0 Replies Latest reply on Oct 13, 2015 2:16 AM by Pruthviraj Reddy

    Getting Issue while creating process using jbpm6.2.0.Final

    Pruthviraj Reddy Newbie

      Hello,

       

      Working on integration of jbpm6.2.0.Final + Spring 3.2.12.Release + Hibernate + Bitronix. When starting the process I am getting below error.

       

      Process started successfully. Process Id : 112
      Hibernate: insert into SessionInfo (lastModificationDate, startDate, OPTLOCK, id, rulesByteArray) values (?, ?, ?, ?, ?)
      Hibernate: update SessionInfo set lastModificationDate=?, startDate=?, OPTLOCK=?, rulesByteArray=? where id=? and OPTLOCK=?
      Hibernate: insert into ProcessInstanceInfo (lastModificationDate, lastReadDate, processId, startDate, state, OPTLOCK, InstanceId, processInstanceByteArray) values (?, ?, ?, ?, ?, ?, ?, ?)
      Hibernate: insert into VariableInstanceLog (log_date, externalId, oldValue, processId, processInstanceId, value, variableId, variableInstanceId, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
      Hibernate: insert into ProcessInstanceLog (duration, end_date, externalId, user_identity, outcome, parentProcessInstanceId, processId, processInstanceDescription, processInstanceId, processName, processVersion, start_date, status, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
      Hibernate: insert into ContextMappingInfo (CONTEXT_ID, KSESSION_ID, OWNER_ID, OPTLOCK, mappingId) values (?, ?, ?, ?, ?)
      Hibernate: insert into NodeInstanceLog (connection, log_date, externalId, nodeId, nodeInstanceId, nodeName, nodeType, processId, processInstanceId, type, workItemId, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
      Hibernate: insert into NodeInstanceLog (connection, log_date, externalId, nodeId, nodeInstanceId, nodeName, nodeType, processId, processInstanceId, type, workItemId, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
      Hibernate: insert into WorkItemInfo (creationDate, name, processInstanceId, state, OPTLOCK, workItemId, workItemByteArray) values (?, ?, ?, ?, ?, ?, ?)
      Hibernate: insert into Content (id, content) values (?, ?)
      Hibernate: insert into Task (archived, allowedToDelegate, description, formName, name, taskInitiator_id, priority, subTaskStrategy, subject, activationTime, actualOwner_id, createdBy_id, createdOn, deploymentId, documentAccessType, documentContentId, documentType, expirationTime, faultAccessType, faultContentId, faultName, faultType, outputAccessType, outputContentId, outputType, parentId, previousStatus, processId, processInstanceId, processSessionId, skipable, status, workItemId, taskType, OPTLOCK, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
      Hibernate: insert into I18NText (language, shortText, id, text) values (?, ?, ?, ?)


      Oct 13, 2015 11:15:37 AM org.springframework.transaction.support.TransactionSynchronizationUtils triggerBeforeCompletion
      SEVERE: TransactionSynchronization.beforeCompletion threw exception
      java.lang.AbstractMethodError at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.setCharacterStream(DelegatingPreparedStatement.java:328)
      Hibernate: insert into ProcessInstanceInfo (lastModificationDate, lastReadDate, processId, startDate, state, OPTLOCK, InstanceId, processInstanceByteArray) values (?, ?, ?, ?, ?, ?, ?, ?)
      WARN: SQL Error: 1, SQLState: 23000
      Oct 13, 2015 11:15:37 AM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
      ERROR: ORA-00001: unique constraint (TRAINING.SYS_C00357807) violated

      Caused by: java.sql.SQLException: ORA-00001: unique constraint (TRAINING.SYS_C00357807) violated

      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)

      ... 60 more