javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction. | 4 months ago
  1. 0

    Bug 1047905 – REPEATABLE_READ not working for AtomicMap and FineGrainedAtomicMap | 4 months ago
    javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    steps used to install: In the home directory of the "bonita" user: create a directory "packages" unzip into this directory In the home directory of the "bonita" user: create a directory "bonita" copy content of bonita-home-7.1.0 from packages to ./bonita Copy JAR from packages/BonitaBPMSubscription-7.1.0-deploy/Tomcat-7.0.55/lib/ to lib/: Stop the tomcat instance -Copy bitronix-* to the conf/ directory. -Copy conf/Catalina/localhost/bonita.xml from packages to conf/Catalina/localhost/ -Copy webapps/bonita.war from packages to webapps/ -Copy from packages to conf/ -copy a JDBC driver adapted to your version of oracle into lib/ -Adapt server configuration edit server.xml to add bitronix Listent <!-- Bitronix listener. Used by Bonita Engine for transaction management (JTA) --> <Listener className="" /> -edit server.xml to add bonita auth service (basic) <Host ...> <Valve className="" authenticationUrl="/loginservice" asyncSupported="true"/> </Host> -modify ./bin/envvars, adding: # <Bonita> CATALINA_OPTS="$CATALINA_OPTS -Dbonita.home=${CATALINA_BASE}/bonita" CATALINA_OPTS="$CATALINA_OPTS -Dsysprop.bonita.db.vendor=oracle" CATALINA_OPTS="$CATALINA_OPTS -Dbtm.root=${CATALINA_BASE}" CATALINA_OPTS="$CATALINA_OPTS${CATALINA_BASE}/conf/" CATALINA_OPTS="$CATALINA_OPTS${CATALINA_BASE}/conf/jaas-standard.cfg" CATALINA_OPTS="$CATALINA_OPTS -Dfile.encoding=UTF-8 -Xshare:auto" # </Bonita> -Configure database configuration -Tomcat datasource -Edit the conf/Catalina/localhost/bonita.xml file: <Resource name="bonitaSequenceManagerDS"> Comment out others. -Bitronix modify with changes made for resource.ds1 with correct db details. Start the instance. With Oracle, XA transaction check fails, hence the platform does not start. the error logs are below. WARNING: error running recovery on resource 'jdbc/bonitaDSXA', resource marked as failed (background recoverer will retry recovery) cannot start recovery on a PoolingDataSource containing an XAPool of resource jdbc/bonitaDSXA with 1 connection(s) (1 still available) -failed- at at at at at Caused by: incremental recovery failed when trying to acquire a connection from failed resource 'jdbc/bonitaDSXA' at at ... 4 more Caused by: failed recovering resource jdbc/bonitaDSXA at at ... 5 more Caused by: javax.transaction.xa.XAException at oracle.jdbc.xa.OracleXAResource.recover( at at at ... 6 more and this as well ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita].[homepage]- Servlet.service() for servlet [homepage] in context with path [/bonita] threw exception [org.bonitasoft.console.common.server.utils.DefaultTenantIdException: Can't retrieve default tenant id] with root cause org.bonitasoft.engine.platform.NodeNotStartedException: The current node has not been started yet. Method PlatformAPI.startNode() must be called previously. We tried granting necessary rights to the user on the database which we use but we still receive the same error. Request some help from your side. Thanks, Sanjeev

    JIRA | 4 months ago | Sanjeev Balasubramanian cannot start recovery on a PoolingDataSource containing an XAPool of resource jdbc/bonitaDSXA with 1 connection(s) (1 still available) -failed-

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.transaction.xa.XAException

      No message provided

      at org.infinispan.transaction.TransactionCoordinator.prepare()
    2. Infinispan Core
      1. org.infinispan.transaction.TransactionCoordinator.prepare(
      2. org.infinispan.transaction.TransactionCoordinator.prepare(
      3. org.infinispan.transaction.synchronization.SynchronizationAdapter.beforeCompletion(
      3 frames
    3. JBossTS jbossjta
      1. com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(
      2. com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(
      3. com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(
      4. com.arjuna.ats.arjuna.AtomicAction.commit(
      5. com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(
      6. com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(
      6 frames
    4. org.infinispan.tx
      1. org.infinispan.tx.totalorder.writeskew.DistTotalOrderL1WriteSkewTest.transactionCleanupWithWriteSkew(
      1 frame
    5. Java RT
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(
      4. java.lang.reflect.Method.invoke(
      4 frames
    6. TestNG
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(
      2. org.testng.internal.Invoker.invokeMethod(
      3. org.testng.internal.Invoker.invokeTestMethod(
      4. org.testng.internal.Invoker.invokeTestMethods(
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(
      7. org.testng.TestRunner.privateRun(
      9. org.testng.SuiteRunner.runTest(
      10. org.testng.SuiteRunner.access$000(
      11. org.testng.SuiteRunner$
      12. org.testng.internal.thread.ThreadUtil$
      12 frames
    7. Java RT
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(
      3. java.util.concurrent.ThreadPoolExecutor$
      4 frames