1 Reply Latest reply on Oct 7, 2014 3:23 PM by Frank Langelage

    Jboss 7 Upgrade Transaction Issue

    kumar k Newbie

      Hi,

       

      We are doing upgradation from Jboss 4 to Jboss 7.

       

      We have some batches in our application.

       

      When we run the batch getting the below exception.

       

       

      8:21:50,285 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffffac12c819:-7fc1ea43:54338515:9 in state  RUN

      08:21:50,285 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffffac12c819:-7fc1ea43:54338515:9 invoked while multiple threads active within it.

      08:21:50,285 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffffac12c819:-7fc1ea43:54338515:9 aborting with 1 threads active!

      08:21:50,785 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffffac12c819:-7fc1ea43:54338515:9 in state  CANCEL

      08:21:51,285 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffffac12c819:-7fc1ea43:54338515:9 in state  CANCEL_INTERRUPTED

      08:21:51,285 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012120: TransactionReaper::check worker Thread[Transaction Reaper Worker 0,5,main] not responding to interrupt when cancelling TX 0:ffffac12c819:-7fc1ea43:54338515:9 -- worker marked as zombie and TX scheduled for mark-as-rollback

      08:21:51,285 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012110: TransactionReaper::check successfuly marked TX 0:ffffac12c819:-7fc1ea43:54338515:9 as rollback only

       

       

      Our persistence.xml file

       

      <persistence-unit name="sample">
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <jta-data-source>java:jboss/datasources/xxxx</jta-data-source>
             <class>com.sample.model.util.Remarks</class> 

              <properties>
         <property name="jboss.entity.manager.factory.jndi.name" value="java:/EntityManagerFactories/xxxx"/> 
         <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/>

         <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>

       

       

      Our Standalone.xml file

       

      <datasource jndi-name="java:jboss/datasources/xxxx" pool-name="sample" enabled="true" use-ccm="false">

                          <connection-url>xxxxx</connection-url>

                          <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>

                          <driver>sqljdbc</driver>

                          <security>

                              <user-name>xxx</user-name>

                              <password>xxxx</password>

                          </security>

                          <validation>

                              <validate-on-match>false</validate-on-match>

                              <background-validation>false</background-validation>

                          </validation>

                          <statement>

                              <share-prepared-statements>false</share-prepared-statements>

                          </statement>

                      </datasource>

       

      <driver name="sqljdbc" module="com.microsoft.sqlserver.jdbc">

                              <xa-datasource-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</xa-datasource-class>

                          </driver>

       

      Could you please help on this.