5 Replies Latest reply on Oct 14, 2013 5:17 AM by Martin Varga

    Transaction Extenstion fails at configuration

    Martin Varga Newbie

      I have added Persistence extension to my Arquillian 1.0.3.Final test project, but the tests fail to run due to:

       

       

      java.lang.RuntimeException: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
              at org.jboss.arquillian.transaction.impl.configuration.TransactionConfigurationConverter.exportToProperties(TransactionConfigurationConverter.java:52)
              at org.jboss.arquillian.transaction.impl.client.TransactionArchiveAppender.createAuxiliaryArchive(TransactionArchiveAppender.java:69)
      

       

       

      pom.xml:

       

       

      <dependency>
        <groupId>org.jboss.arquillian.extension</groupId>
        <artifactId>arquillian-persistence-impl</artifactId>
        <version>1.0.0.Alpha6</version>
        <scope>test</scope>
      </dependency>
      

       

      I have added the following to arquillian.xml, but got the same:

       

       

      <extension qualifier="transaction">
          <property name="manager">java:jboss/UserTransaction</property>
      </extension>
      

       

      Any ideas what is wrong, what did I miss?

        • 1. Re: Transaction Extenstion fails at configuration
          Bartosz Majsak Master

          Hi Martin,

           

          this stack trace is not very informative... Can you share more info about your setup and test which is failing?

           

          Also mvn dependecy:tree output might give us some hints.

           

          Cheers,

          Bartosz

          • 2. Re: Transaction Extenstion fails at configuration
            Martin Varga Newbie

            It fails before it runs the tests, or maybe in better words it doesn't matter which test I run. I am using TestNG.

             

            java.lang.RuntimeException: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
                    at org.jboss.arquillian.transaction.impl.configuration.TransactionConfigurationConverter.exportToProperties(TransactionConfigurationConverter.java:52)
                    at org.jboss.arquillian.transaction.impl.client.TransactionArchiveAppender.createAuxiliaryArchive(TransactionArchiveAppender.java:69)
                    at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.loadAuxiliaryArchives(DeploymentGenerator.java:209)
                    at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.buildTestableDeployments(DeploymentGenerator.java:160)
                    at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.createTestableDeployments(DeploymentGenerator.java:148)
                    at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.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.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.extension.suite.ArquillianSuiteExtension$SuiteDeployer$1.call(ArquillianSuiteExtension.java:61)
                    at org.jboss.arquillian.extension.suite.ArquillianSuiteExtension$SuiteDeployer$1.call(ArquillianSuiteExtension.java:59)
                    at org.jboss.arquillian.extension.suite.ArquillianSuiteExtension$SuiteDeployer.executeInClassScope(ArquillianSuiteExtension.java:112)
                    at org.jboss.arquillian.extension.suite.ArquillianSuiteExtension$SuiteDeployer.startup(ArquillianSuiteExtension.java:59)
                    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.ManagerImpl.start(ManagerImpl.java:261)
                    at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.<init>(EventTestRunnerAdaptor.java:56)
                    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
                    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
                    at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:156)
                    at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:111)
                    at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:97)
                    at org.jboss.arquillian.test.spi.TestRunnerAdaptorBuilder.build(TestRunnerAdaptorBuilder.java:52)
                    at org.jboss.arquillian.testng.Arquillian.arquillianBeforeSuite(Arquillian.java:64)
                    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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)
                    at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)
                    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
                    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
                    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:260)
                    at org.testng.SuiteRunner.run(SuiteRunner.java:223)
                    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
                    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
                    at org.testng.TestNG.runSuitesSequentially(TestNG.java:995)
                    at org.testng.TestNG.runSuitesLocally(TestNG.java:920)
                    at org.testng.TestNG.run(TestNG.java:856)
                    at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
                    at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:189)
                    at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:105)
                    at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:117)
                    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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
                    at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159)
                    at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87)
                    at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
                    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
            
            
            

             

             

             

            arquillian.xml (fails both with or without the extension config)

             

            <?xml version="1.0" encoding="UTF-8"?>
            <arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns="http://jboss.org/schema/arquillian"
                xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
            
                <defaultProtocol type="Servlet 3.0"></defaultProtocol>
                <container qualifier="jboss7" default="true">
                    <configuration>
                        <property name="managementAddress">10.3.8.104</property>
                        <property name="managementPort">14382</property>
                        <property name="username">admin</property>
                        <property name="password">adminPassword</property>
                    </configuration>
                </container>
                
                <extension qualifier="seam2">
                    <!-- This way you can override Seam version which you have defined in pom.xml -->
                    <property name="seamVersion">2.3.0.Final</property>
                    <autopackage>false</autopackage>
                </extension>
            
                <extension qualifier="suite">
                    <property name="deploymentClass">com.example.arquillian.ArquillianDeployments</property>
                </extension>
            
            <extension qualifier="transaction">
                <property name="manager">java:jboss/UserTransaction</property>
            </extension>   
            
            </arquillian>
            

             

             

            dependency:tree

             

             

            [INFO] +- org.jboss.arquillian.testng:arquillian-testng-container:jar:1.0.3.Final:test
            [INFO] |  +- org.jboss.arquillian.testng:arquillian-testng-core: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.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.jsfunit:jsfunit-arquillian:jar:2.0.0.Beta2:test
            [INFO] +- org.jboss.jsfunit:jboss-jsfunit-core:jar:2.0.0.Beta2:test
            [INFO] |  +- net.sourceforge.htmlunit:htmlunit:jar:2.8:test
            [INFO] |  |  +- commons-codec:commons-codec:jar:1.4:test
            [INFO] |  |  +- xerces:xercesImpl:jar:2.9.1:test
            [INFO] |  |  \- commons-logging:commons-logging:jar:1.1.1:test
            [INFO] |  +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.8:test
            [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.0.1:test
            [INFO] |  |  \- org.apache.httpcomponents:httpcore:jar:4.0.1:test
            [INFO] |  +- org.apache.httpcomponents:httpmime:jar:4.0.1:test
            [INFO] |  +- org.apache.james:apache-mime4j:jar:0.6:test
            [INFO] |  +- commons-lang:commons-lang:jar:2.4:test
            [INFO] |  +- commons-io:commons-io:jar:1.4:test
            [INFO] |  +- net.sourceforge.cssparser:cssparser:jar:0.9.5:test
            [INFO] |  |  \- org.w3c.css:sac:jar:1.3:test
            [INFO] |  +- net.sourceforge.nekohtml:nekohtml:jar:1.9.14:test
            [INFO] |  \- xalan:xalan:jar:2.7.1:test
            [INFO] |     \- xalan:serializer:jar:2.7.1:test
            [INFO] +- org.jboss.as:jboss-as-arquillian-container-remote:jar:7.1.1.Final:test
            [INFO] |  +- org.jboss.as:jboss-as-arquillian-common:jar:7.1.1.Final:test
            [INFO] |  |  +- org.jboss.arquillian.container:arquillian-container-osgi:jar:1.0.2.Final:test
            [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-cdi:jar:1.0.0.CR7:test
            [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-ejb:jar:1.0.0.CR7:test
            [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-initialcontext:jar:1.0.0.CR7:test
            [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-osgi:jar:1.0.2.Final:test
            [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-resource:jar:1.0.0.CR7:test
            [INFO] |  |  +- org.jboss.as:jboss-as-arquillian-testenricher-msc:jar:7.1.1.Final:test
            [INFO] |  |  |  +- org.jboss.logging:jboss-logging:jar:3.1.0.GA:test
            [INFO] |  |  |  \- org.jboss.msc:jboss-msc:jar:1.0.2.GA:test
            [INFO] |  |  +- org.jboss.as:jboss-as-controller-client:jar:7.1.1.Final:test
            [INFO] |  |  |  +- org.jboss.as:jboss-as-protocol:jar:7.1.1.Final:test
            [INFO] |  |  |  |  \- org.jboss.xnio:xnio-nio:jar:3.0.3.GA:test
            [INFO] |  |  |  +- org.jboss:jboss-dmr:jar:1.1.1.Final:test
            [INFO] |  |  |  \- org.jboss.threads:jboss-threads:jar:2.0.0.GA:test
            [INFO] |  |  +- org.jboss.as:jboss-as-jmx:jar:7.1.1.Final:test
            [INFO] |  |  |  +- org.jboss:jboss-common-core:jar:2.2.17.GA:test
            [INFO] |  |  |  \- org.jboss.as:jboss-as-server:jar:7.1.1.Final:test
            [INFO] |  |  |     +- org.jboss.as:jboss-as-controller:jar:7.1.1.Final:test
            [INFO] |  |  |     |  \- org.jboss:staxmapper:jar:1.1.0.Final:test
            [INFO] |  |  |     +- org.jboss.as:jboss-as-domain-http-interface:jar:7.1.1.Final:test
            [INFO] |  |  |     |  +- org.jboss.as:jboss-as-domain-management:jar:7.1.1.Final:test
            [INFO] |  |  |     |  \- org.jboss.com.sun.httpserver:httpserver:jar:1.0.0.Final:test
            [INFO] |  |  |     +- org.jboss.as:jboss-as-deployment-repository:jar:7.1.1.Final:test
            [INFO] |  |  |     +- org.jboss.as:jboss-as-embedded:jar:7.1.1.Final:test
            [INFO] |  |  |     +- org.jboss.as:jboss-as-platform-mbean:jar:7.1.1.Final:test
            [INFO] |  |  |     +- org.jboss.as:jboss-as-process-controller:jar:7.1.1.Final:test
            [INFO] |  |  |     |  \- system:jdk-tools:jar:jdk:system
            [INFO] |  |  |     +- org.jboss.as:jboss-as-remoting:jar:7.1.1.Final:test
            [INFO] |  |  |     |  +- org.jboss.as:jboss-as-network:jar:7.1.1.Final:test
            [INFO] |  |  |     |  \- org.jboss.as:jboss-as-threads:jar:7.1.1.Final:test
            [INFO] |  |  |     +- org.jboss:jandex:jar:1.0.3.Final:test
            [INFO] |  |  |     +- org.jboss.invocation:jboss-invocation:jar:1.1.1.Final:test
            [INFO] |  |  |     +- org.jboss.logmanager:jboss-logmanager-log4j:jar:1.0.0.GA:test
            [INFO] |  |  |     +- org.jboss.stdio:jboss-stdio:jar:1.0.1.GA:test
            [INFO] |  |  |     \- org.jboss:jboss-vfs:jar:3.1.0.Final:test
            [INFO] |  |  +- org.jboss.osgi.spi:jbosgi-spi:jar:3.0.1.Final:test
            [INFO] |  |  |  \- org.jboss.osgi.vfs:jbosgi-vfs:jar:1.0.7.Final:test
            [INFO] |  |  +- org.jboss.remotingjmx:remoting-jmx:jar:1.0.2.Final:test
            [INFO] |  |  |  +- org.jboss.logmanager:jboss-logmanager:jar:1.2.2.GA:test
            [INFO] |  |  |  +- org.jboss.remoting3:jboss-remoting:jar:3.2.2.GA:test
            [INFO] |  |  |  \- org.jboss.xnio:xnio-api:jar:3.0.3.GA:test
            [INFO] |  |  +- org.jboss.sasl:jboss-sasl:jar:1.0.0.Final:test
            [INFO] |  |  \- org.osgi:org.osgi.core:jar:4.2.0:test
            [INFO] |  +- org.jboss.as:jboss-as-arquillian-protocol-jmx:jar:7.1.1.Final:test
            [INFO] |  |  +- org.jboss.as:jboss-as-osgi-service:jar:7.1.1.Final:test
            [INFO] |  |  |  +- org.jboss.as:jboss-as-ee:jar:7.1.1.Final:test
            [INFO] |  |  |  |  +- org.hibernate:hibernate-validator:jar:4.2.0.Final:test
            [INFO] |  |  |  |  |  \- org.slf4j:slf4j-api:jar:1.6.1:test
            [INFO] |  |  |  |  +- org.jboss.interceptor:jboss-interceptor-spi:jar:2.0.0.Final:test
            [INFO] |  |  |  |  +- org.jboss.metadata:jboss-metadata-common:jar:7.0.1.Final:test
            [INFO] |  |  |  |  \- org.jboss.metadata:jboss-metadata-ear:jar:7.0.1.Final:test
            [INFO] |  |  |  +- org.jboss.as:jboss-as-naming:jar:7.1.1.Final:test
            [INFO] |  |  |  |  \- org.jboss:jboss-remote-naming:jar:1.0.2.Final:test
            [INFO] |  |  |  |     \- org.jboss:jboss-ejb-client:jar:1.0.0.Final:test
            [INFO] |  |  |  +- org.jboss.modules:jboss-modules:jar:1.1.1.GA:test
            [INFO] |  |  |  +- org.jboss.osgi.framework:jbosgi-framework-core:jar:1.1.8.Final:test
            [INFO] |  |  |  |  +- org.jboss.osgi.deployment:jbosgi-deployment:jar:1.0.12.Final:test
            [INFO] |  |  |  |  +- org.jboss.osgi.resolver:jbosgi-resolver-felix:jar:1.0.13.Final:test
            [INFO] |  |  |  |  |  +- org.jboss.osgi.resolver:jbosgi-resolver-api:jar:1.0.13.Final:test
            [INFO] |  |  |  |  |  |  \- org.jboss.osgi.metadata:jbosgi-metadata:jar:2.0.3.Final:test
            [INFO] |  |  |  |  |  \- org.jboss.osgi.resolver:jbosgi-resolver-spi:jar:1.0.13.Final:test
            [INFO] |  |  |  |  +- org.jboss.osgi.vfs:jbosgi-vfs30:jar:1.0.7.Final:test
            [INFO] |  |  |  |  \- org.osgi:org.osgi.compendium:jar:4.2.0:test
            [INFO] |  |  |  +- org.jboss.osgi.repository:jbosgi-repository-core:jar:1.0.5:test
            [INFO] |  |  |  |  \- org.jboss.osgi.repository:jbosgi-repository-api:jar:1.0.5:test
            [INFO] |  |  |  |     \- org.jboss.osgi.resolver:jbosgi-resolver-api-v2:jar:2.0.0.Beta2:test
            [INFO] |  |  |  |        \- org.apache.felix:org.apache.felix.resolver:jar:0.1.0.Beta1:test
            [INFO] |  |  |  \- org.osgi:org.osgi.enterprise:jar:4.2.0:test
            [INFO] |  |  \- org.jboss.arquillian.protocol:arquillian-protocol-jmx:jar:1.0.0.CR7:test
            [INFO] |  +- org.jboss.marshalling:jboss-marshalling-river:jar:1.3.11.GA:test
            [INFO] |  |  \- org.jboss.marshalling:jboss-marshalling:jar:1.3.11.GA:test
            [INFO] |  \- org.jboss.as:jboss-as-build-config:jar:7.1.1.Final:test
            [INFO] +- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.0.3.Final:test
            [INFO] +- org.jboss.arquillian.extension:arquillian-suite:jar:1.0:test
            [INFO] +- org.jboss.arquillian.extension:arquillian-seam2:jar:1.0.0.Final-SNAPSHOT:test
            [INFO] |  +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven:jar:1.0.0-beta-7:test
            [INFO] |  |  \- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api:jar:1.0.0-beta-7:test
            [INFO] |  +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven: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] |  |  |     |  +- log4j:log4j:jar:1.2.12: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:shrinkwrap-extension-descriptors:jar:1.0.0-beta-5:test
            [INFO] |     \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api:jar:0.1.4:test
            [INFO] +- org.jboss.arquillian.extension:arquillian-transaction-jta:jar:1.0.0.Alpha3:compile
            [INFO] |  +- org.jboss.arquillian.extension:arquillian-transaction-api:jar:1.0.0.Alpha3:compile
            [INFO] |  +- org.jboss.arquillian.extension:arquillian-transaction-spi:jar:1.0.0.Alpha3:compile
            [INFO] |  |  \- org.jboss.arquillian.test:arquillian-test-spi:jar:1.0.3.Final:compile
            [INFO] |  |     \- org.jboss.arquillian.test:arquillian-test-api:jar:1.0.3.Final:compile
            [INFO] |  \- org.jboss.arquillian.extension:arquillian-transaction-impl-base:jar:1.0.0.Alpha3:compile
            [INFO] |     +- org.jboss.arquillian.core:arquillian-core-spi:jar:1.0.2.Final:compile
            [INFO] |     |  \- org.jboss.arquillian.core:arquillian-core-api:jar:1.0.2.Final:compile
            [INFO] |     +- org.jboss.arquillian.container:arquillian-container-spi:jar:1.0.3.Final:compile
            [INFO] |     |  +- org.jboss.arquillian.config:arquillian-config-api:jar:1.0.3.Final:compile
            [INFO] |     |  +- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.0.3.Final:compile
            [INFO] |     |  |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:2.0.0-alpha-3:compile
            [INFO] |     |  +- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.1:compile
            [INFO] |     |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0-alpha-3:compile
            [INFO] |     \- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.0.3.Final:compile
            [INFO] |        \- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.0.3.Final:compile
            [INFO] +- org.testng:testng:jar:5.14.6:test
            [INFO] |  +- junit:junit:jar:3.8.1:test
            [INFO] |  +- org.beanshell:bsh:jar:2.0b4:test
            [INFO] |  +- com.google.inject:guice:jar:2.0:test
            [INFO] |  |  \- aopalliance:aopalliance:jar:1.0:test
            [INFO] |  \- com.beust:jcommander:jar:1.12:test
            [INFO] +- org.jboss.seam:jboss-seam:jar:2.3.0.Final:provided
            [INFO] |  \- org.jboss.el:jboss-el:jar:1.0_02.CR6:provided
            [INFO] |     \- javax.el:el-api:jar:1.0:provided
            [INFO] +- org.jboss.seam:jboss-seam-ui:jar:2.3.0.Final:provided
            [INFO] |  \- org.jboss.seam:jboss-seam:ejb:2.3.0.Final:provided
            [INFO] +- org.jboss.seam:jboss-seam-ioc:jar:2.3.0.Final:provided
            [INFO] \- org.jboss.seam:jboss-seam-debug:jar:2.3.0.Final:provided
            

             

             

            This is when I add the transaction extension alone.

             

            arquillian-suite is created from Aslak Knutsen's code found somewhere on this forum. Using remote JBoss 7.1.1.Final.

             

            ArquillianDeployments is a class that has the @Deployment method only. The method is now pretty complex, I am creating an EAR archive from existing EAR and including test.WAR archive in it. Everything works until I just simply add the dependency to pom. It fails both with persistence extension and transaction extension alone.

            • 3. Re: Transaction Extenstion fails at configuration
              Bartosz Majsak Master

              If you look at the line causing this error... probably exception is swallowed. Would it be possible for you to debug this stuff and nail down the exception?

              • 4. Re: Transaction Extenstion fails at configuration
                Bartosz Majsak Master

                As reported in other thread this might be related mainly to suite-extension. I will investigate.

                • 5. Re: Transaction Extenstion fails at configuration
                  Martin Varga Newbie

                  Sorry, I did not get a chance to investigate this further. I have removed the transacations and I used Seam static calls instead.