1 2 Previous Next 15 Replies Latest reply on Apr 22, 2013 4:21 PM by Bartosz Majsak

    No active JTA transaction on joinTransaction call: with @Transactional from JTA extension

    Esteve Aviles Newbie

      Hi,

       

      I can't get JTA transactions working in arquillian tests. I' am using: Jboss 7.1 container and:

      {code:xml}

      <dependency>

                                    <groupId>org.jboss.arquillian.junit</groupId>

                                    <artifactId>arquillian-junit-container</artifactId>

                                    <scope>test</scope>

                          </dependency>

       

       

                          <dependency>

                                    <groupId>org.jboss.arquillian.protocol</groupId>

                                    <artifactId>arquillian-protocol-servlet</artifactId>

                                    <scope>test</scope>

                          </dependency>

       

       

                          <dependency>

                                    <groupId>org.jboss.shrinkwrap.resolver</groupId>

                                    <artifactId>shrinkwrap-resolver-impl-maven</artifactId>

                                    <scope>test</scope>

                          </dependency>

       

       

                          <dependency>

                                    <groupId>org.jboss.shrinkwrap.resolver</groupId>

                                    <artifactId>shrinkwrap-resolver-api-maven</artifactId>

                                    <scope>test</scope>

                          </dependency>

       

       

                          <dependency>

                                    <groupId>org.jboss.arquillian.extension</groupId>

                                    <artifactId>arquillian-transaction-bom</artifactId>

                                    <type>pom</type>

                                    <version>1.0.0.Alpha3</version>

                                    <scope>import</scope>

                          </dependency>

       

       

                          <dependency>

                                    <groupId>org.jboss.arquillian.extension</groupId>

                                    <artifactId>arquillian-persistence-impl</artifactId>

                                    <version>1.0.0.Alpha6</version>

                                    <scope>test</scope>

                          </dependency>

      {code}

       

       

      I trying a simple persist test:

      {code}

      @RunWith(Arquillian.class)

      @PersistenceTest

      public class CustomerTest {

                @Deployment

                public static Archive<?> createDeployment() {

                          return new DefaultDeployment().

                                              withPersistence().

                                              withImportedData().

                                              getArchive()

                                              .addPackages(true, BaseEntity.class.getPackage());

                }

       

       

                @Inject

                CustomerBO customerBO;

       

       

                Long id;

       

       

                @Before

                public void preparePersistenceTest() throws Exception {

                          clearData();

                          insertData();

                          startTransaction();

                }

       

       

       

       

                private void clearData() throws Exception {

                          System.out.println("Dumping old records...");

                }

       

       

       

       

                private void insertData() throws Exception {

                }

       

       

                private void startTransaction() throws Exception {

       

       

                }

       

       

                @After

                public void commitTransaction() throws Exception {

       

       

                }

       

       

                @Test

                @InSequence(1)

                public void shouldFindByEmail() {

                          // Test pagination logic

                          Customer customer = customerBO.findByEmail("eavilesa@fespack.com");

                          assertNotNull(customer);

                          assertEquals(new Long(1), customer.id);

       

                }

       

       

                @Test

                @InSequence(2)

                @Transactional

                public void shouldCreateNewCustomerl() {

                          // Test pagination logic

                          Customer customer = customerBO.createCustomer("121212121eavilesa@fespack.com",

                                              "3123222212",

                                              "Test First Name",

                                              "Test Last Name",

                                              "St. Tragklarar ",

                                              "Badalona", new Long(1), "00000",

                                              new Long(1));

       

                          assertNotNull(customer.id);

       

                }

       

       

       

       

      }

      {code}

       

      Where:

      {code}

       

      @Produces

                @PersistenceContext(unitName="fespackPersistenceUnit")

                @Default

                private EntityManager em;

       

      em.persist(newCustomer);

       


      {code}

       

      I can not find any documentation regarding JTA transaction support.

       

      Thanks in advance.

       

      Regards,

      Esteve

        • 1. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
          Bartosz Majsak Master

          Hi Esteve,

           

          When using Persistence extension (here due to@PersistenceTest annotation) each and every test is wrapped in the transaction transparently (unless disabled by @Transactional(NONE)).

           

          Therefore you don't need to start/commit transactions on your own.

           

          Please try to simplify the code and let me know if it works for you.

           

          Cheers,

          Bartosz

          • 2. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
            Esteve Aviles Newbie

            Bartosz,

             

            Thanks for the quick reply.

             

            You are right, I was calling "joinTransaction". I have removed the sentence and changed EntityManagerProducer this way:

             


            @Produces

            @PersistenceContext(unitName="fespackPersistenceUnit",type=PersistenceContextType.EXTENDED)

            @Default

            private EntityManager em;

             

            Now I am getting the opposite error:

             

            SEVERE: Failed: com.pelopiti.fespack.test.CustomerTest.shouldCreateNewCustomerl

            javax.persistence.TransactionRequiredException: JBAS011469: Transaction is required to perform this operation (either use a transaction or extended persistence context)

                      at org.jboss.as.jpa.container.AbstractEntityManager.transactionIsRequired(AbstractEntityManager.java:692)

                      at org.jboss.as.jpa.container.AbstractEntityManager.persist(AbstractEntityManager.java:562)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264)

                      at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)

                      at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)

                      at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260)

                      at org.jboss.weld.bean.builtin.CallableMethodHandler.invoke(CallableMethodHandler.java:51)

                      at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)

                      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105)

                      at org.jboss.weldx.persistence.EntityManager$218597297$Proxy$_$$_Weld$Proxy$.persist(EntityManager$218597297$Proxy$_$$_Weld$Proxy$.java)

                      at com.pelopiti.fespack.services.persistence.PersistenceUtil.persist(PersistenceUtil.java:25)

                      at com.pelopiti.fespack.bo.AddressBO.createCustomerAddress(AddressBO.java:32)

                      at com.pelopiti.fespack.bo.CustomerBO.createCustomer(CustomerBO.java:63)

                      at com.pelopiti.fespack.test.CustomerTest.shouldCreateNewCustomerl(CustomerTest.java:85)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)

                      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

                      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)

                      at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:270)

                      at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

                      at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

                      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

                      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

                      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

                      at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

                      at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

                      at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

                      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

                      at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

                      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

                      at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

                      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

                      at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

                      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

                      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

                      at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)

                      at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)

                      at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)

                      at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)

                      at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)

                      at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)

                      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)

                      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)

                      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)

                      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)

                      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)

                      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)

                      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)

                      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)

                      at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)

                      at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)

                      at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)

                      at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)

                      at org.junit.runners.ParentRunner.run(ParentRunner.java:300)

                      at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)

                      at org.junit.runner.JUnitCore.run(JUnitCore.java:157)

                      at org.junit.runner.JUnitCore.run(JUnitCore.java:136)

                      at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:65)

                      at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:129)

                      at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:108)

                      at org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:226)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)

                      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)

                      at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)

                      at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)

                      at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:250)

                      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)

                      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)

                      at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:498)

                      at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:246)

                      at org.jboss.remotingjmx.protocol.v1.ServerProxy$InvokeHandler.handle(ServerProxy.java:1034)

                      at org.jboss.remotingjmx.protocol.v1.ServerProxy$MessageReciever$1.run(ServerProxy.java:215)

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

                      at java.lang.Thread.run(Thread.java:722)

             

            Thanks in advance

             

            Regards,

            Esteve

            • 4. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
              Esteve Aviles Newbie

              Bartosz,

               

              Simplified test:

               

               

              @RunWith(Arquillian.class)

              @PersistenceTest

              public class CustomerTest {

                        @Deployment

                        public static Archive<?> createDeployment() {

                                  return new DefaultDeployment().

                                                      withPersistence().

                                                      withImportedData().

                                                      getArchive()

                                                      .addPackages(true, BaseEntity.class.getPackage());

                        }

               

               

                        @Inject

                        CustomerBO customerBO;

               

               

                        @Test

                        @InSequence(1)

                        public void shouldFindByEmail() {

                                  // Test pagination logic

                                  Customer customer = customerBO.findByEmail("rwar@fasdfa.c");

                                  assertNotNull(customer);

                                  assertEquals(new Long(1), customer.id);

                        }

               

               

                        @Test

                        @InSequence(2)

                        @Transactional

                        public void shouldCreateNewCustomerl() {

                                  // Test pagination logic

                                  Customer customer = customerBO.createCustomer("rwar@fasdfa.c,

                                                      "3123222212",

                                                      "Test First Name",

                                                      "Test Last Name",

                                                      "St. Tragklarar ",

                                                      "Badalona", new Long(1), "00000",

                                                      new Long(1));

               

                                  assertNotNull(customer.id);

               

                        }

               

               

              }

              • 5. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
                Bartosz Majsak Master

                Hmm that's strange. I will try to reproduce it.

                 

                Can you also share CustomerBO?

                 

                As a side note - you don't need to put @Transactional explicitly (because of @PersistenceTest)

                • 6. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
                  Esteve Aviles Newbie

                  Bartosz,

                   

                  This is an even simpler test with the same result:

                   

                  @RunWith(Arquillian.class)

                  @PersistenceTest

                  public class PersistenceUtilsTest {

                            @Deployment

                            public static Archive<?> createDeployment() {

                                      return new DefaultDeployment().

                                                          withPersistence().

                                                          withImportedData().

                                                          getArchive()

                                                          .addPackages(true, BaseEntity.class.getPackage());

                            }

                   

                   

                            @Inject

                            @FesPackEntityManager

                            private EntityManager entityManager;

                   

                   

                            @Test

                            @InSequence(1)

                            public void shouldMergeAnEntity() {

                                      // Test pagination logic

                                      Customer customer = entityManager.find(Customer.class, new Long(1));

                                      customer.email = "newEmail@mail.com";

                                      entityManager.merge(customer);

                                      assertNotNull(customer);

                                      assertEquals(new Long(1), customer.id);

                            }

                       

                  }

                   

                  I think it has to do with:


                  @Inject

                  @FesPackEntityManager

                  private EntityManager entityManager;

                   


                  @Produces

                  //@PersistenceContext(unitName="fespackPersistenceUnit",type=PersistenceContextType.EXTENDED)



                  @Default

                  private EntityManager entityManager;

                   


                  Thanks in advance.

                   

                  Regards

                  Esteve

                  • 7. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
                    Esteve Aviles Newbie

                    Bartosz,

                     

                    I have tried different options with the same result. Have you seen anything that points out which is the problem?

                     

                    Thanks again.

                     

                    Cheers,

                     

                    Esteve

                    • 9. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
                      Esteve Aviles Newbie

                      Here you are. Thanks.

                       

                      [INFO] Scanning for projects...

                      [INFO]                                                                        

                      [INFO] ------------------------------------------------------------------------

                      [INFO] Building FesPack - fespack-server-webapp 1.0.0-SNAPSHOT

                      [INFO] ------------------------------------------------------------------------

                      [INFO]

                      [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ fespack-server-webapp ---

                      [INFO] com.pelopiti.fespack:fespack-server-webapp:war:1.0.0-SNAPSHOT

                      [INFO] +- com.pelopiti.fespack.core:fespack-core:jar:1.0.0-SNAPSHOT:compile

                      [INFO] +- javax.enterprise:cdi-api:jar:1.0-SP4:provided

                      [INFO] |  +- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.1.Final:provided (version managed from 1.0.0.Beta1)

                      [INFO] |  \- javax.inject:javax.inject:jar:1:provided

                      [INFO] +- javax.faces:javax.faces-api:jar:2.1:provided

                      [INFO] +- org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar:1.0.1.Final:provided

                      [INFO] +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar:1.0.0.Final:provided

                      [INFO] +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:provided (scope not updated to compile)

                      [INFO] +- org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar:1.0.2.Final:provided

                      [INFO] +- org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar:1.0.1.Final:compile

                      [INFO] +- org.jboss.spec.javax.jms:jboss-jms-api_1.1_spec:jar:1.0.1.Final:provided

                      [INFO] +- org.slf4j:slf4j-api:jar:1.7.2:compile

                      [INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.2:compile

                      [INFO] +- log4j:log4j:jar:1.2.17:compile

                      [INFO] +- mysql:mysql-connector-java:jar:5.1.14:provided

                      [INFO] +- org.hibernate:hibernate-core:jar:4.1.7.Final:compile

                      [INFO] |  +- org.jboss.logging:jboss-logging:jar:3.1.0.GA:compile

                      [INFO] |  +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.1.Final:compile (version managed from 1.0.0.Final)

                      [INFO] |  +- dom4j:dom4j:jar:1.6.1:compile

                      [INFO] |  +- org.javassist:javassist:jar:3.15.0-GA:compile

                      [INFO] |  \- org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:compile

                      [INFO] +- org.hibernate:hibernate-jpamodelgen:jar:1.2.0.Final:provided

                      [INFO] +- org.hibernate:hibernate-ehcache:jar:4.1.7.Final:compile

                      [INFO] +- net.sf.ehcache:ehcache-core:jar:2.6.5:compile

                      [INFO] +- org.mongodb:mongo-java-driver:jar:2.9.1:compile

                      [INFO] +- com.google.code.morphia:morphia:jar:0.99:compile

                      [INFO] +- cglib:cglib-nodep:jar:3.0:provided

                      [INFO] +- com.thoughtworks.proxytoys:proxytoys:jar:1.0:provided

                      [INFO] +- joda-time:joda-time:jar:1.6.2:compile

                      [INFO] +- org.hibernate:hibernate-validator:jar:4.2.0.Final:compile

                      [INFO] |  \- javax.validation:validation-api:jar:1.0.0.GA:compile

                      [INFO] +- org.picketbox:picketbox-cdi:jar:5.0.0-2013Jan04:compile

                      [INFO] |  +- org.picketbox:picketbox-core:jar:5.0.0-2013Jan04:compile

                      [INFO] |  |  +- org.picketlink:picketlink-idm-api:jar:3.0-2013Jan04:compile

                      [INFO] |  |  +- org.picketlink:picketlink-idm-impl:jar:3.0-2013Jan04:compile

                      [INFO] |  |  \- org.picketlink:picketlink-idm-schema:jar:3.0-2013Jan04:compile

                      [INFO] |  +- org.picketlink:picketlink-core-api:jar:3.0-2013Jan04:compile

                      [INFO] |  +- org.picketlink:picketlink-core-impl:jar:3.0-2013Jan04:compile

                      [INFO] |  +- org.apache.deltaspike.core:deltaspike-core-api:jar:0.3-incubating:compile

                      [INFO] |  +- org.apache.deltaspike.core:deltaspike-core-impl:jar:0.3-incubating:compile

                      [INFO] |  +- org.apache.deltaspike.modules:deltaspike-security-module-api:jar:0.3-incubating:compile

                      [INFO] |  \- org.apache.deltaspike.modules:deltaspike-security-module-impl:jar:0.3-incubating:compile

                      [INFO] +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.2:provided

                      [INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.2:provided

                      [INFO] |  \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:provided

                      [INFO] +- org.jboss.resteasy:resteasy-jaxrs:jar:2.3.3.Final:provided

                      [INFO] |  +- org.jboss.resteasy:jaxrs-api:jar:2.3.3.Final:provided

                      [INFO] |  +- org.scannotation:scannotation:jar:1.0.3:provided

                      [INFO] |  |  \- javassist:javassist:jar:3.12.1.GA:provided

                      [INFO] |  +- javax.annotation:jsr250-api:jar:1.0:provided

                      [INFO] |  +- javax.activation:activation:jar:1.1:provided

                      [INFO] |  \- commons-httpclient:commons-httpclient:jar:3.1:provided

                      [INFO] +- org.jboss.resteasy:resteasy-multipart-provider:jar:2.3.3.Final:provided

                      [INFO] |  +- org.jboss.resteasy:resteasy-jaxb-provider:jar:2.3.3.Final:provided

                      [INFO] |  |  \- com.sun.xml.bind:jaxb-impl:jar:2.2.4:provided

                      [INFO] |  |     \- javax.xml.bind:jaxb-api:jar:2.2.3:provided

                      [INFO] |  |        \- javax.xml.stream:stax-api:jar:1.0-2:provided

                      [INFO] |  +- javax.mail:mail:jar:1.4.4:provided

                      [INFO] |  +- org.apache.james:apache-mime4j:jar:0.6:provided

                      [INFO] |  \- javax.servlet:servlet-api:jar:2.5:provided

                      [INFO] +- org.json:json:jar:20090211:provided (scope not updated to compile)

                      [INFO] +- org.openid4java:openid4java-nodeps:jar:0.9.6:compile

                      [INFO] |  +- commons-logging:commons-logging:jar:1.1.1:compile

                      [INFO] |  +- com.google.code.guice:guice:jar:2.0:compile

                      [INFO] |  \- net.jcip:jcip-annotations:jar:1.0:compile

                      [INFO] +- org.picketlink:picketlink-social-standalone:jar:2.0.0.2012sep25:compile

                      [INFO] +- org.twitter4j:twitter4j-core:jar:2.2.6:compile

                      [INFO] +- org.apache.httpcomponents:httpclient:jar:4.1.2:compile

                      [INFO] |  +- org.apache.httpcomponents:httpcore:jar:4.1.2:compile

                      [INFO] |  \- commons-codec:commons-codec:jar:1.4:compile

                      [INFO] +- org.apache.velocity:velocity:jar:1.7:compile

                      [INFO] |  \- commons-collections:commons-collections:jar:3.2.1:compile

                      [INFO] +- commons-lang:commons-lang:jar:2.6:compile

                      [INFO] +- commons-fileupload:commons-fileupload:jar:1.2.2:compile

                      [INFO] +- org.apache.commons:commons-math3:jar:3.1.1:compile

                      [INFO] +- junit:junit:jar:4.10:test

                      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.1:test

                      [INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.0.0.Final:test

                      [INFO] |  +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

                      [INFO] |  +- org.jboss.arquillian.test:arquillian-test-api:jar:1.0.3.Final:test

                      [INFO] |  |  \- org.jboss.arquillian.core:arquillian-core-api:jar:1.0.3.Final:test

                      [INFO] |  +- org.jboss.arquillian.test:arquillian-test-spi:jar:1.0.3.Final:test

                      [INFO] |  |  \- org.jboss.arquillian.core:arquillian-core-spi:jar:1.0.3.Final:test

                      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

                      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

                      [INFO] |  +- org.jboss.arquillian.core:arquillian-core-impl-base:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

                      [INFO] |  +- org.jboss.arquillian.test:arquillian-test-impl-base:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

                      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-impl-base:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

                      [INFO] |  |  +- org.jboss.arquillian.config:arquillian-config-api:jar:1.0.3.Final:test

                      [INFO] |  |  \- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.0.3.Final:test

                      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-impl-base:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

                      [INFO] |  \- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.1:test (version managed from 1.0.0)

                      [INFO] |     \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.0.1:test

                      [INFO] +- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.0.0.Final:test

                      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-spi:jar:1.0.3.Final:test

                      [INFO] |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:2.0.0-alpha-3:test

                      [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven:jar:1.0.0-beta-7:test

                      [INFO] |  +- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.1:test

                      [INFO] |  +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api:jar:1.0.0-beta-7:test

                      [INFO] |  +- org.sonatype.aether:aether-api:jar:1.8:test

                      [INFO] |  +- org.sonatype.aether:aether-util:jar:1.8:test

                      [INFO] |  +- org.sonatype.aether:aether-connector-wagon:jar:1.8:test

                      [INFO] |  |  +- org.sonatype.aether:aether-spi:jar:1.8:test

                      [INFO] |  |  \- org.codehaus.plexus:plexus-container-default:jar:1.5.5:test

                      [INFO] |  |     +- org.codehaus.plexus:plexus-classworlds:jar:2.2.2:test

                      [INFO] |  |     +- org.apache.xbean:xbean-reflect:jar:3.4:test

                      [INFO] |  |     |  \- commons-logging:commons-logging-api:jar:1.1:test

                      [INFO] |  |     \- com.google.collections:google-collections:jar:1.0:test

                      [INFO] |  +- org.apache.maven:maven-aether-provider:jar:3.0.1:test

                      [INFO] |  |  +- org.apache.maven:maven-model:jar:3.0.1:test

                      [INFO] |  |  +- org.apache.maven:maven-model-builder:jar:3.0.1:test

                      [INFO] |  |  +- org.apache.maven:maven-repository-metadata:jar:3.0.1:test

                      [INFO] |  |  +- org.sonatype.aether:aether-impl:jar:1.8:test

                      [INFO] |  |  +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:test

                      [INFO] |  |  \- org.codehaus.plexus:plexus-utils:jar:2.0.4:test

                      [INFO] |  +- org.apache.maven:maven-settings-builder:jar:3.0.1:test

                      [INFO] |  |  +- org.codehaus.plexus:plexus-interpolation:jar:1.14:test

                      [INFO] |  |  +- org.apache.maven:maven-settings:jar:3.0.1:test

                      [INFO] |  |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:test

                      [INFO] |  |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:test

                      [INFO] |  +- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-7:test

                      [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-7:test

                      [INFO] |  \- org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-7:test

                      [INFO] |     \- org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-7:test

                      [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven:jar:1.0.0-beta-7:test

                      [INFO] +- org.jboss.arquillian.extension:arquillian-persistence-impl:jar:1.0.0.Alpha6:test

                      [INFO] |  +- org.jboss.arquillian.extension:arquillian-persistence-api:jar:1.0.0.Alpha6:test

                      [INFO] |  +- org.jboss.arquillian.extension:arquillian-transaction-spi:jar:1.0.0.Alpha3:test

                      [INFO] |  +- org.dbunit:dbunit:jar:2.4.9:test

                      [INFO] |  +- org.yaml:snakeyaml:jar:1.10:test

                      [INFO] |  +- org.apache.poi:poi:jar:3.2-FINAL:test

                      [INFO] |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0-alpha-3:test

                      [INFO] +- org.jboss.arquillian.extension:arquillian-transaction-jta:jar:1.0.0.Alpha3:test

                      [INFO] |  +- org.jboss.arquillian.extension:arquillian-transaction-api:jar:1.0.0.Alpha3:test

                      [INFO] |  \- org.jboss.arquillian.extension:arquillian-transaction-impl-base:jar:1.0.0.Alpha3:test

                      [INFO] +- com.yammer.metrics:metrics-core:jar:2.2.0:compile

                      [INFO] +- com.yammer.metrics:metrics-servlet:jar:2.2.0:compile

                      [INFO] |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.1.1:compile

                      [INFO] |     +- com.fasterxml.jackson.core:jackson-annotations:jar:2.1.1:compile

                      [INFO] |     \- com.fasterxml.jackson.core:jackson-core:jar:2.1.1:compile

                      [INFO] +- com.yammer.metrics:metrics-ehcache:jar:2.2.0:compile

                      [INFO] \- com.yammer.metrics:metrics-web:jar:2.2.0:compile

                      [INFO] ------------------------------------------------------------------------

                      [INFO] BUILD SUCCESS

                      • 10. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
                        Bartosz Majsak Master

                        I think the problem lies in your dependency setup

                        [INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.0.0.Final:test

                        [INFO] |  +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

                         

                        Solution described in this thread should solve the problem

                        • 11. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
                          Esteve Aviles Newbie

                          Bartosz,

                           

                          Resolved dependency issue with the same result:

                          SEVERE: Failed: com.pelopiti.fespack.test.PersistenceUtilsTest.shouldMergeAnEntity

                          javax.persistence.TransactionRequiredException: JBAS011469: Transaction is required to perform this operation (either use a transaction or extended persistence context)

                                    at org.jboss.as.jpa.container.AbstractEntityManager.transactionIsRequired(AbstractEntityManager.java:692)

                           

                          New dep tree:

                           

                           

                          [INFO] ------------------------------------------------------------------------

                          [INFO] Building FesPack - fespack-server-webapp 1.0.0-SNAPSHOT

                          [INFO] ------------------------------------------------------------------------

                          [INFO]

                          [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ fespack-server-webapp ---

                          [INFO] com.pelopiti.fespack:fespack-server-webapp:war:1.0.0-SNAPSHOT

                          [INFO] +- com.pelopiti.fespack.core:fespack-core:jar:1.0.0-SNAPSHOT:compile

                          [INFO] +- javax.enterprise:cdi-api:jar:1.0-SP4:provided

                          [INFO] |  +- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.1.Final:provided (version managed from 1.0.0.Beta1)

                          [INFO] |  \- javax.inject:javax.inject:jar:1:provided

                          [INFO] +- javax.faces:javax.faces-api:jar:2.1:provided

                          [INFO] +- org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar:1.0.1.Final:provided

                          [INFO] +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar:1.0.0.Final:provided

                          [INFO] +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:provided (scope not updated to compile)

                          [INFO] +- org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar:1.0.2.Final:provided

                          [INFO] +- org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar:1.0.1.Final:compile

                          [INFO] +- org.jboss.spec.javax.jms:jboss-jms-api_1.1_spec:jar:1.0.1.Final:provided

                          [INFO] +- org.slf4j:slf4j-api:jar:1.7.2:compile

                          [INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.2:compile

                          [INFO] +- log4j:log4j:jar:1.2.17:compile

                          [INFO] +- mysql:mysql-connector-java:jar:5.1.14:provided

                          [INFO] +- org.hibernate:hibernate-core:jar:4.1.7.Final:compile

                          [INFO] |  +- org.jboss.logging:jboss-logging:jar:3.1.0.GA:compile

                          [INFO] |  +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.1.Final:compile (version managed from 1.0.0.Final)

                          [INFO] |  +- dom4j:dom4j:jar:1.6.1:compile

                          [INFO] |  +- org.javassist:javassist:jar:3.15.0-GA:compile

                          [INFO] |  \- org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:compile

                          [INFO] +- org.hibernate:hibernate-jpamodelgen:jar:1.2.0.Final:provided

                          [INFO] +- org.hibernate:hibernate-ehcache:jar:4.1.7.Final:compile

                          [INFO] +- net.sf.ehcache:ehcache-core:jar:2.6.5:compile

                          [INFO] +- org.mongodb:mongo-java-driver:jar:2.9.1:compile

                          [INFO] +- com.google.code.morphia:morphia:jar:0.99:compile

                          [INFO] +- cglib:cglib-nodep:jar:3.0:provided

                          [INFO] +- com.thoughtworks.proxytoys:proxytoys:jar:1.0:provided

                          [INFO] +- joda-time:joda-time:jar:1.6.2:compile

                          [INFO] +- org.hibernate:hibernate-validator:jar:4.2.0.Final:compile

                          [INFO] |  \- javax.validation:validation-api:jar:1.0.0.GA:compile

                          [INFO] +- org.picketbox:picketbox-cdi:jar:5.0.0-2013Jan04:compile

                          [INFO] |  +- org.picketbox:picketbox-core:jar:5.0.0-2013Jan04:compile

                          [INFO] |  |  +- org.picketlink:picketlink-idm-api:jar:3.0-2013Jan04:compile

                          [INFO] |  |  +- org.picketlink:picketlink-idm-impl:jar:3.0-2013Jan04:compile

                          [INFO] |  |  \- org.picketlink:picketlink-idm-schema:jar:3.0-2013Jan04:compile

                          [INFO] |  +- org.picketlink:picketlink-core-api:jar:3.0-2013Jan04:compile

                          [INFO] |  +- org.picketlink:picketlink-core-impl:jar:3.0-2013Jan04:compile

                          [INFO] |  +- org.apache.deltaspike.core:deltaspike-core-api:jar:0.3-incubating:compile

                          [INFO] |  +- org.apache.deltaspike.core:deltaspike-core-impl:jar:0.3-incubating:compile

                          [INFO] |  +- org.apache.deltaspike.modules:deltaspike-security-module-api:jar:0.3-incubating:compile

                          [INFO] |  \- org.apache.deltaspike.modules:deltaspike-security-module-impl:jar:0.3-incubating:compile

                          [INFO] +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.2:provided

                          [INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.2:provided

                          [INFO] |  \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:provided

                          [INFO] +- org.jboss.resteasy:resteasy-jaxrs:jar:2.3.3.Final:provided

                          [INFO] |  +- org.jboss.resteasy:jaxrs-api:jar:2.3.3.Final:provided

                          [INFO] |  +- org.scannotation:scannotation:jar:1.0.3:provided

                          [INFO] |  |  \- javassist:javassist:jar:3.12.1.GA:provided

                          [INFO] |  +- javax.annotation:jsr250-api:jar:1.0:provided

                          [INFO] |  +- javax.activation:activation:jar:1.1:provided

                          [INFO] |  \- commons-httpclient:commons-httpclient:jar:3.1:provided

                          [INFO] +- org.jboss.resteasy:resteasy-multipart-provider:jar:2.3.3.Final:provided

                          [INFO] |  +- org.jboss.resteasy:resteasy-jaxb-provider:jar:2.3.3.Final:provided

                          [INFO] |  |  \- com.sun.xml.bind:jaxb-impl:jar:2.2.4:provided

                          [INFO] |  |     \- javax.xml.bind:jaxb-api:jar:2.2.3:provided

                          [INFO] |  |        \- javax.xml.stream:stax-api:jar:1.0-2:provided

                          [INFO] |  +- javax.mail:mail:jar:1.4.4:provided

                          [INFO] |  +- org.apache.james:apache-mime4j:jar:0.6:provided

                          [INFO] |  \- javax.servlet:servlet-api:jar:2.5:provided

                          [INFO] +- org.json:json:jar:20090211:provided (scope not updated to compile)

                          [INFO] +- org.openid4java:openid4java-nodeps:jar:0.9.6:compile

                          [INFO] |  +- commons-logging:commons-logging:jar:1.1.1:compile

                          [INFO] |  +- com.google.code.guice:guice:jar:2.0:compile

                          [INFO] |  \- net.jcip:jcip-annotations:jar:1.0:compile

                          [INFO] +- org.picketlink:picketlink-social-standalone:jar:2.0.0.2012sep25:compile

                          [INFO] +- org.twitter4j:twitter4j-core:jar:2.2.6:compile

                          [INFO] +- org.apache.httpcomponents:httpclient:jar:4.1.2:compile

                          [INFO] |  +- org.apache.httpcomponents:httpcore:jar:4.1.2:compile

                          [INFO] |  \- commons-codec:commons-codec:jar:1.4:compile

                          [INFO] +- org.apache.velocity:velocity:jar:1.7:compile

                          [INFO] |  \- commons-collections:commons-collections:jar:3.2.1:compile

                          [INFO] +- commons-lang:commons-lang:jar:2.6:compile

                          [INFO] +- commons-fileupload:commons-fileupload:jar:1.2.2:compile

                          [INFO] +- org.apache.commons:commons-math3:jar:3.1.1:compile

                          [INFO] +- junit:junit:jar:4.10:test

                          [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.1:test

                          [INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.0.3.Final:test

                          [INFO] |  +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.0.3.Final:test

                          [INFO] |  +- org.jboss.arquillian.test:arquillian-test-api:jar:1.0.3.Final:test

                          [INFO] |  |  \- org.jboss.arquillian.core:arquillian-core-api:jar:1.0.3.Final:test

                          [INFO] |  +- org.jboss.arquillian.test:arquillian-test-spi:jar:1.0.3.Final:test

                          [INFO] |  |  \- org.jboss.arquillian.core:arquillian-core-spi:jar:1.0.3.Final:test

                          [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.0.3.Final:test

                          [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.0.3.Final:test

                          [INFO] |  +- org.jboss.arquillian.core:arquillian-core-impl-base:jar:1.0.3.Final:test

                          [INFO] |  +- org.jboss.arquillian.test:arquillian-test-impl-base:jar:1.0.3.Final:test

                          [INFO] |  +- org.jboss.arquillian.container:arquillian-container-impl-base:jar:1.0.3.Final:test

                          [INFO] |  |  +- org.jboss.arquillian.config:arquillian-config-api:jar:1.0.3.Final:test

                          [INFO] |  |  \- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.0.3.Final:test

                          [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-impl-base:jar:1.0.3.Final:test

                          [INFO] |  \- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.1:test

                          [INFO] |     \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.0.1:test

                          [INFO] +- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.0.3.Final:test

                          [INFO] |  +- org.jboss.arquillian.container:arquillian-container-spi:jar:1.0.3.Final:test

                          [INFO] |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:2.0.0-alpha-3:test

                          [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven:jar:1.0.0-beta-7:test

                          [INFO] |  +- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.1:test

                          [INFO] |  +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api:jar:1.0.0-beta-7:test

                          [INFO] |  +- org.sonatype.aether:aether-api:jar:1.8:test

                          [INFO] |  +- org.sonatype.aether:aether-util:jar:1.8:test

                          [INFO] |  +- org.sonatype.aether:aether-connector-wagon:jar:1.8:test

                          [INFO] |  |  +- org.sonatype.aether:aether-spi:jar:1.8:test

                          [INFO] |  |  \- org.codehaus.plexus:plexus-container-default:jar:1.5.5:test

                          [INFO] |  |     +- org.codehaus.plexus:plexus-classworlds:jar:2.2.2:test

                          [INFO] |  |     +- org.apache.xbean:xbean-reflect:jar:3.4:test

                          [INFO] |  |     |  \- commons-logging:commons-logging-api:jar:1.1:test

                          [INFO] |  |     \- com.google.collections:google-collections:jar:1.0:test

                          [INFO] |  +- org.apache.maven:maven-aether-provider:jar:3.0.1:test

                          [INFO] |  |  +- org.apache.maven:maven-model:jar:3.0.1:test

                          [INFO] |  |  +- org.apache.maven:maven-model-builder:jar:3.0.1:test

                          [INFO] |  |  +- org.apache.maven:maven-repository-metadata:jar:3.0.1:test

                          [INFO] |  |  +- org.sonatype.aether:aether-impl:jar:1.8:test

                          [INFO] |  |  +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:test

                          [INFO] |  |  \- org.codehaus.plexus:plexus-utils:jar:2.0.4:test

                          [INFO] |  +- org.apache.maven:maven-settings-builder:jar:3.0.1:test

                          [INFO] |  |  +- org.codehaus.plexus:plexus-interpolation:jar:1.14:test

                          [INFO] |  |  +- org.apache.maven:maven-settings:jar:3.0.1:test

                          [INFO] |  |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:test

                          [INFO] |  |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:test

                          [INFO] |  +- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-7:test

                          [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-7:test

                          [INFO] |  \- org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-7:test

                          [INFO] |     \- org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-7:test

                          [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven:jar:1.0.0-beta-7:test

                          [INFO] +- org.jboss.arquillian.extension:arquillian-persistence-impl:jar:1.0.0.Alpha6:test

                          [INFO] |  +- org.jboss.arquillian.extension:arquillian-persistence-api:jar:1.0.0.Alpha6:test

                          [INFO] |  +- org.jboss.arquillian.extension:arquillian-transaction-spi:jar:1.0.0.Alpha3:test

                          [INFO] |  +- org.dbunit:dbunit:jar:2.4.9:test

                          [INFO] |  +- org.yaml:snakeyaml:jar:1.10:test

                          [INFO] |  +- org.apache.poi:poi:jar:3.2-FINAL:test

                          [INFO] |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0-alpha-3:test

                          [INFO] +- org.jboss.arquillian.extension:arquillian-transaction-jta:jar:1.0.0.Alpha3:test

                          [INFO] |  +- org.jboss.arquillian.extension:arquillian-transaction-api:jar:1.0.0.Alpha3:test

                          [INFO] |  \- org.jboss.arquillian.extension:arquillian-transaction-impl-base:jar:1.0.0.Alpha3:test

                          [INFO] +- com.yammer.metrics:metrics-core:jar:2.2.0:compile

                          [INFO] +- com.yammer.metrics:metrics-servlet:jar:2.2.0:compile

                          [INFO] |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.1.1:compile

                          [INFO] +- com.yammer.metrics:metrics-ehcache:jar:2.2.0:compile

                          [INFO] +- com.yammer.metrics:metrics-web:jar:2.2.0:compile

                          [INFO] +- net.sf.jasperreports:jasperreports:jar:5.0.1:compile

                          [INFO] |  +- commons-beanutils:commons-beanutils:jar:1.8.0:compile

                          [INFO] |  +- commons-digester:commons-digester:jar:2.1:compile

                          [INFO] |  +- com.lowagie:itext:jar:2.1.7.js1:compile

                          [INFO] |  |  +- bouncycastle:bcmail-jdk14:jar:138:compile

                          [INFO] |  |  +- bouncycastle:bcprov-jdk14:jar:138:compile

                          [INFO] |  |  \- org.bouncycastle:bctsp-jdk14:jar:1.38:compile

                          [INFO] |  |     +- org.bouncycastle:bcprov-jdk14:jar:1.38:compile

                          [INFO] |  |     \- org.bouncycastle:bcmail-jdk14:jar:1.38:compile

                          [INFO] |  +- jfree:jcommon:jar:1.0.15:compile

                          [INFO] |  +- jfree:jfreechart:jar:1.0.12:compile

                          [INFO] |  +- xml-apis:xml-apis:jar:1.3.02:compile

                          [INFO] |  +- eclipse:jdtcore:jar:3.1.0:compile

                          [INFO] |  +- org.codehaus.castor:castor:jar:1.2:compile

                          [INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.0.5:compile

                          [INFO] |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.0.5:compile

                          [INFO] \- org.codehaus.groovy:groovy-all:jar:2.1.2:compile

                          • 12. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
                            Bartosz Majsak Master

                            ok, let's make it simple. could you share the project somehow (or the relevant part in isolation)? Github would work best. I will look at it.

                            • 13. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
                              Esteve Aviles Newbie

                              Bartosz,

                               

                              Created a sample project from scratch using forge and then added manually the rest of the dependencies:

                              https://github.com/esteveavi/sandbox

                               

                              The new project tests work properly with transactional operations, but I haven't found the difference yet. As soon as I get them I'll update the post.

                               

                              Thanks again.

                               

                              Regards,

                               

                              Esteve

                              • 14. Re: No active JTA transaction on joinTransaction call: with @Transactional from JTA extension
                                Esteve Aviles Newbie

                                Bartosz,

                                 

                                I have been able to reproduce the error with code that run correctly in another machine so I have checked serve. Cleaning the JBoss temp dir solved the problem.

                                 

                                Thanks for you time an effort. I apologize.

                                 

                                Regards,

                                 

                                Esteve

                                1 2 Previous Next