Skip to main content

JBoss : Transaction is not active: tx=TransactionImple < ac, BasicAction: abc status: ActionStatus.ABORTED >

 Problem

 Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.jdk5.WrappedConnectionJDK5@6e3a0a96

2021-11-16 12:23:43,715 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] (Thread-1371) [com.arjuna.ats.arjuna.coordinator.TransactionReaper_7] - TransactionReaper::doCancellations worker Thread[Thread-1371,5,jboss] successfully canceled TX a11267b:ff8e:61915e7e:1413e57

2021-11-16 12:23:43,715 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] (Thread-1371) [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id a11267b:ff8e:61915e7e:1413e5d invoked while multiple threads active within it.

2021-11-16 12:23:43,715 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] (Thread-1371) [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action a11267b:ff8e:61915e7e:1413e5d aborting with 1 threads active!

2021-11-16 12:23:43,731 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] (WorkerThread#73[10.72.65.85:55546]) [com.arjuna.ats.arjuna.coordinator.BasicAction_40] - Abort called on already aborted atomic action a11267b:ff8e:61915e7e:1413e57

2021-11-16 12:23:43,809 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] (Thread-19) [com.arjuna.ats.arjuna.coordinator.TransactionReaper_18] - TransactionReaper::check timeout for TX a11267b:ff8e:61915e7e:1413e5d in state  CANCEL

2021-11-16 12:23:43,840 WARN  [org.hibernate.util.JDBCExceptionReporter] (WorkerThread#178[10.72.65.85:55540]) SQL Error: 0, SQLState: null

2021-11-16 12:23:43,840 ERROR [org.hibernate.util.JDBCExceptionReporter] (WorkerThread#178[10.72.65.85:55540]) Transaction is not active: tx=TransactionImple < ac, BasicAction: a11267b:ff8e:61915e7e:1413e5d status: ActionStatus.ABORTED >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: a11267b:ff8e:61915e7e:1413e5d status: ActionStatus.ABORTED >)


Possible Solution

1: Increase the transaction timeout in transaction-jboss-beans.xml file inside the jboss deploy folder 

<property name="transactionTimeout">1800</property>


2: Increase the value of txReaperTimeout in jbossts-properties.xml inside the jboss’s conf folder

 <property

            name="com.arjuna.ats.arjuna.coordinator.txReaperTimeout" value="240000"/>


Comments

Popular posts from this blog

Eclipse - Server Tomcat v8.5 Server at localhost failed to start.

When I try to launch the tomcat from Eclipse, I encountered the following error Server Tomcat v8.5 Server at localhost failed to start. Solution Step 1  Delete the .snap file located at the following location     eclipse workspace Path\ .metadata\.plugins\org.eclipse.core.resources Step 2 Delete the  tmp0  folder from the following path      eclipse workspace Path \.metadata\.plugins\org.eclipse.wst.server.core Step 3  Delete the server from servers list Step 4  Remove already added Tomcat Server      i)  Click on Define a new Server     ii)  Select Server Runtime Environments     iii) Select the Tomcat Server and remove it as follows Remove Selected Server Step 5 Make sure that correct version of Server is configured in Project Properties Step 6 Restart the Eclipse IDE.

hibernate-release-5.4.4.Final - Required Jars

Introduction Hibernate (Object Relational Mapping framework) is an implementation of Java Persistence API (JPA) specification.   Required Jars for Hibernate 5.4.4 Following Jars resided inside the required folder are the mandatory jars required for Hibernate 5.4.4 antlr-2.7.7.jar byte-buddy-1.9.11.jar classmate-1.3.4.jar dom4j-2.1.1.jar FastInfoset-1.2.15.jar hibernate-commons-annotations-5.1.0.Final.jar hibernate-core-5.4.4.Final.jar istack-commons-runtime-3.0.7.jar jandex-2.0.5.Final.jar javassist-3.24.0-GA.jar javax.activation-api-1.2.0.jar javax.persistence-api-2.2.jar jaxb-api-2.3.1.jar jaxb-runtime-2.3.1.jar jboss-logging-3.3.2.Final.jar jboss-transaction-api_1.2_spec-1.1.1.Final.jar stax-ex-1.8.jar txw2-2.3.1.jar Hibernate 5.4.4 release is compatible with  Java 8 or 11  JPA 2.2 References https://hibernate.org/orm/releases/5.4/

spark-submit java.lang.NoClassDefFoundError: scala/runtime/java8/JFunction1$mcII$sp

Exception  Exception in thread "main" java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: scala/runtime/java8/JFunction1$mcII$sp         at SparkPi$.main(SparkPi.scala:14)         at SparkPi.main(SparkPi.scala)         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) Problem: It seems that you have compiled and generated your jar file with an upper version of the Scala compiler than the one spark is using. Solution Step 1 Run the following command from spark-installed-directory\bin spark-shell.cmd (or.sh) and note the Scala version, My Spark version was 2.4.3 and Scala version 2.11.12 Step 2 Change the scala version into your build.sbt to 2.11.12 (per your configuration). My build.sbt is name := "SparkPi Project" version := "1.0" scalaVersion := "...