13 Replies Latest reply on May 5, 2010 10:59 AM by Andrew Rubinger

    Cannot connect to container

    Rick Kilcoyne Newbie

      I'm running into an issue where I get the exception:

       

      org.jboss.arquillian.spi.LifecycleException: Could not connect to container

       

      caused by:

       

      java.io.InvalidClassException: org.jboss.profileservice.spi.ProfileKey; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 2

       

      ...when I execute my tests.

       

      I've tried this with JBoss 6.0M2/Arquillian 1.0.0.Alpha1 and the JBoss trunk build with my own compiled version of Arquillian 1.0.0-SNAPSHOT and I get the same results. jndi.properties is in place. Code looks good -- using the TemperatureConverter example from the Arq reference docs with a few tweaks to accommodate changes to the Shrinkwrap API.

       

      Looking for ideas as to what's ultimately causing this issue.

       

      Thanks,

      Rick

       

      Here's the full stacktrace:

       


      -------------------------------------------------------------------------------
      Test set: com.kilcoynet.arqtest.AppTest
      -------------------------------------------------------------------------------
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.102 sec <<< FAILURE!
      initializationError(com.kilcoynet.arqtest.AppTest)  Time elapsed: 0.021 sec  <<< ERROR!
      org.jboss.arquillian.impl.event.FiredEventException: org.jboss.arquillian.spi.LifecycleException: Could not connect to container
      at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:68)
      at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115)
      at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:62)
      at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:55)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
      at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
      at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
      at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
      at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
      at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.<init>(JUnit4TestSet.java:45)
      at org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite.createTestSet(JUnit4DirectoryTestSuite.java:56)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:96)
      at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:156)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
      Caused by: org.jboss.arquillian.spi.LifecycleException: Could not connect to container
      at org.jboss.arquillian.jboss.JbossRemoteContainer.start(JbossRemoteContainer.java:93)
      at org.jboss.arquillian.impl.handler.ContainerStarter.callback(ContainerStarter.java:47)
      at org.jboss.arquillian.impl.handler.ContainerStarter.callback(ContainerStarter.java:38)
      at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)
      ... 24 more
      Caused by: java.lang.RuntimeException: java.io.InvalidClassException: org.jboss.profileservice.spi.ProfileKey; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 2
      at org.jboss.aop.joinpoint.MethodInvocation.getArguments(MethodInvocation.java:314)
      at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:118)
      at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      at org.jboss.profileservice.management.upload.remoting.DeployHandler.invoke(DeployHandler.java:122)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:897)
      at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:768)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:721)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:548)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
      Caused by: java.io.InvalidClassException: org.jboss.profileservice.spi.ProfileKey; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 2
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
      at org.jboss.aop.joinpoint.MethodInvocation.getArguments(MethodInvocation.java:309)
      at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:118)
      at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      at org.jboss.profileservice.management.upload.remoting.DeployHandler.invoke(DeployHandler.java:122)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:897)
      at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:768)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:721)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:548)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
      at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:213)
      at org.jboss.remoting.Client.invoke(Client.java:1927)
      at org.jboss.remoting.Client.invoke(Client.java:770)
      at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.aop.generatedproxies.AOPProxy$1.loadProfile(AOPProxy$1.java)
      at org.jboss.arquillian.jboss.JbossRemoteContainer.initDeploymentManager(JbossRemoteContainer.java:226)
      at org.jboss.arquillian.jboss.JbossRemoteContainer.start(JbossRemoteContainer.java:89)
      at org.jboss.arquillian.impl.handler.ContainerStarter.callback(ContainerStarter.java:47)
      at org.jboss.arquillian.impl.handler.ContainerStarter.callback(ContainerStarter.java:38)
      at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)
      at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115)
      at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:62)
      at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:55)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
      at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
      at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
      at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
      at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
      at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.<init>(JUnit4TestSet.java:45)
      at org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite.createTestSet(JUnit4DirectoryTestSuite.java:56)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:96)
      at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:156)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
      at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.aop.generatedproxies.AOPProxy$1.loadProfile(AOPProxy$1.java)
      at org.jboss.arquillian.jboss.JbossRemoteContainer.initDeploymentManager(JbossRemoteContainer.java:226)
      at org.jboss.arquillian.jboss.JbossRemoteContainer.start(JbossRemoteContainer.java:89)
      at org.jboss.arquillian.impl.handler.ContainerStarter.callback(ContainerStarter.java:47)
      at org.jboss.arquillian.impl.handler.ContainerStarter.callback(ContainerStarter.java:38)
      at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)
      at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115)
      at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:62)
      at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:55)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
      at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
      at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
      at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
      at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
      at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.<init>(JUnit4TestSet.java:45)
      at org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite.createTestSet(JUnit4DirectoryTestSuite.java:56)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:96)
      at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:156)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)


      Here's my test class:

       

      package com.mynet.arqtest;

       

      import javax.inject.Inject;

      import junit.framework.Assert;

      import org.jboss.arquillian.api.Deployment;

      import org.jboss.arquillian.junit.Arquillian;

      import org.jboss.shrinkwrap.api.ArchivePaths;

      import org.jboss.shrinkwrap.api.ShrinkWrap;

      import org.jboss.shrinkwrap.api.spec.JavaArchive;

      import org.jboss.shrinkwrap.impl.base.asset.ByteArrayAsset;

      import org.junit.Test;

      import org.junit.runner.RunWith;

       

      @RunWith(Arquillian.class)

      public class AppTest {

       

          @Inject

          private TemperatureConverter converter;

       

          @Deployment

          public static JavaArchive createTestArchive() {

              return ShrinkWrap.create("test.jar", JavaArchive.class)

                      .addClasses(TemperatureConverter.class)

                      .addManifestResource(

                          new ByteArrayAsset("<beans/>".getBytes()),

                              ArchivePaths.create("beans.xml"));

          }

       

         @Test

         public void testConvertToCelsius() {

            Assert.assertEquals(converter.convertToCelsius(32d), 0d);

            Assert.assertEquals(converter.convertToCelsius(212d), 100d);

         }

       

       

         @Test

         public void testConvertToFarenheit() {

            Assert.assertEquals(converter.convertToFahrenheit(0d), 32d);

            Assert.assertEquals(converter.convertToFahrenheit(100d), 212d);

         }

       

      }

        • 1. Re: Cannot connect to container
          Aslak Knutsen Master

          Can you post the maven dependency tree output for your test project?

           

          {code}

          mvn dependency:tree

          {code}

          • 2. Re: Cannot connect to container
            Rick Kilcoyne Newbie


            [INFO] [dependency:tree {execution: default-cli}]
            [INFO] com.kilcoynet:arqtest:jar:1.0-SNAPSHOT
            [INFO] +- junit:junit:jar:4.6:test
            [INFO] +- org.jboss.arquillian:arquillian-junit:jar:1.0.0-SNAPSHOT:test
            [INFO] |  \- org.jboss.arquillian:arquillian-impl-base:jar:1.0.0-SNAPSHOT:test
            [INFO] |     +- org.jboss.arquillian:arquillian-api:jar:1.0.0-SNAPSHOT:test
            [INFO] |     |  \- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.0-alpha-9:test
            [INFO] |     +- org.jboss.arquillian:arquillian-spi:jar:1.0.0-SNAPSHOT:test
            [INFO] |     +- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.0-alpha-9:test
            [INFO] |     \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.0.0-alpha-9:test
            [INFO] \- javax.enterprise:cdi-api:jar:1.0-SP1:compile
            [INFO]    +- org.jboss.interceptor:jboss-interceptor-api:jar:1.1:compile
            [INFO]    +- javax.annotation:jsr250-api:jar:1.0:compile
            [INFO]    \- javax.inject:javax.inject:jar:1:compile
            [INFO] ------------------------------------------------------------------------

             

            Thanks!

            • 3. Re: Cannot connect to container
              Aslak Knutsen Master

              Your using Maven profiles for the container it seems. Can you activate the failing profile when you run dependency:tree ?

               

               

              • 4. Re: Cannot connect to container
                Rick Kilcoyne Newbie

                oops. Forgot about that ;-)

                 

                 

                [INFO] [dependency:tree {execution: default-cli}]
                [INFO] com.kilcoynet:arqtest:jar:1.0-SNAPSHOT
                [INFO] +- junit:junit:jar:4.6:test
                [INFO] +- org.jboss.arquillian:arquillian-junit:jar:1.0.0-SNAPSHOT:test
                [INFO] |  \- org.jboss.arquillian:arquillian-impl-base:jar:1.0.0-SNAPSHOT:test
                [INFO] |     +- org.jboss.arquillian:arquillian-api:jar:1.0.0-SNAPSHOT:test
                [INFO] |     |  \- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.0-alpha-9:test
                [INFO] |     +- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.0-alpha-9:test
                [INFO] |     \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.0.0-alpha-9:test
                [INFO] +- javax.enterprise:cdi-api:jar:1.0-SP1:compile
                [INFO] |  +- org.jboss.interceptor:jboss-interceptor-api:jar:1.1:compile
                [INFO] |  +- javax.annotation:jsr250-api:jar:1.0:compile
                [INFO] |  \- javax.inject:javax.inject:jar:1:compile
                [INFO] \- org.jboss.arquillian.container:arquillian-jbossas-remote-60:jar:1.0.0-SNAPSHOT:test
                [INFO]    +- org.jboss.arquillian:arquillian-spi:jar:1.0.0-SNAPSHOT:test
                [INFO]    +- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.0.0-SNAPSHOT:test
                [INFO]    +- org.jboss.arquillian.packager:arquillian-packager-javaee:jar:1.0.0-SNAPSHOT:test
                [INFO]    +- org.jboss.arquillian.testenricher:arquillian-testenricher-cdi:jar:1.0.0-SNAPSHOT:test
                [INFO]    +- org.jboss.arquillian.testenricher:arquillian-testenricher-ejb:jar:1.0.0-SNAPSHOT:test
                [INFO]    +- org.jboss.arquillian.testenricher:arquillian-testenricher-resource:jar:1.0.0-SNAPSHOT:test
                [INFO]    \- org.jboss.jbossas:jboss-as-client:pom:6.0.0.20100216-M2:test
                [INFO]       +- oswego-concurrent:concurrent:jar:1.3.4-jboss-update1:test
                [INFO]       +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0-CR-1:test
                [INFO]       +- org.hibernate:hibernate-annotations:jar:3.5.0-CR-1:test
                [INFO]       |  +- org.hibernate:hibernate-core:jar:3.5.0-CR-1:test
                [INFO]       |  |  +- antlr:antlr:jar:2.7.6:test
                [INFO]       |  |  +- commons-collections:commons-collections:jar:3.1:test
                [INFO]       |  |  +- dom4j:dom4j:jar:1.6.1:test
                [INFO]       |  |  |  \- xml-apis:xml-apis:jar:1.0.b2:test
                [INFO]       |  |  \- javax.transaction:jta:jar:1.1:test
                [INFO]       |  \- org.hibernate:hibernate-commons-annotations:jar:3.2.0.Beta1:test
                [INFO]       +- org.jboss.aop:jboss-aop:jar:client:2.1.8.GA:test
                [INFO]       |  +- apache-xerces:xml-apis:jar:2.9.1:test
                [INFO]       |  +- org.apache.ant:ant:jar:1.7.0:test
                [INFO]       |  |  \- org.apache.ant:ant-launcher:jar:1.7.0:test
                [INFO]       |  +- javassist:javassist:jar:3.10.0.GA:test
                [INFO]       |  +- org.jboss:jboss-reflect:jar:2.0.2.GA:test
                [INFO]       |  +- qdox:qdox:jar:1.6.1:test
                [INFO]       |  +- trove:trove:jar:2.1.1:test
                [INFO]       |  \- log4j:log4j:jar:1.2.14:test
                [INFO]       +- org.jboss.jbossas:jboss-as-ejb3:jar:client:6.0.0.20100216-M2:test
                [INFO]       |  +- cglib:cglib:jar:2.1.3:test
                [INFO]       |  +- jacorb:jacorb:jar:2.3.1jboss.patch01-brew:test
                [INFO]       |  +- org.hibernate:hibernate-entitymanager:jar:3.5.0-CR-1:test
                [INFO]       |  +- org.jboss:jboss-vfs:jar:2.2.0.Alpha2:test
                [INFO]       |  +- org.jboss:jbossxb:jar:2.0.2.Beta3:test
                [INFO]       |  |  +- apache-xerces:xercesImpl:jar:2.9.1:test
                [INFO]       |  |  +- wutka-dtdparser:dtdparser121:jar:1.2.1:test
                [INFO]       |  |  \- javax.activation:activation:jar:1.1.1:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3_1:jar:1.0.4:test
                [INFO]       |  |  +- org.jboss.ejb3:jboss-ejb3-core:jar:1.2.2:test
                [INFO]       |  |  +- org.jboss.ejb3:jboss-ejb3-deployers:jar:1.1.0:test
                [INFO]       |  |  +- org.jboss.ejb3:jboss-ejb3-metadata-deployers:jar:1.0.0:test
                [INFO]       |  |  \- org.jboss.ejb3.nointerface:jboss-ejb3-nointerface-impl:jar:1.0.0-alpha-4:test
                [INFO]       |  |     \- org.jboss.ejb3.nointerface:jboss-ejb3-nointerface-spi:jar:1.0.0-alpha-4:test
                [INFO]       |  +- org.jboss.javaee:jboss-ejb-api:jar:3.0.0.GA_SP1:test
                [INFO]       |  |  +- org.jboss.javaee:jboss-transaction-api:jar:1.0.1.GA:test
                [INFO]       |  |  \- org.jboss.ws.native:jbossws-native-jaxrpc:jar:3.0.4.GA:test
                [INFO]       |  |     \- org.jboss.ws.native:jbossws-native-saaj:jar:3.0.4.GA:test
                [INFO]       |  +- org.jboss.javaee:jboss-jms-api:jar:1.1.0.GA:test
                [INFO]       |  +- org.jboss.jbossas:jboss-as-connector:jar:6.0.0.20100216-M2:test
                [INFO]       |  |  +- javax.mail:mail:jar:1.4.2:test
                [INFO]       |  |  +- org.jboss.cl:jboss-classloading:jar:2.2.0.Alpha2:test
                [INFO]       |  |  |  \- org.jboss.cl:jboss-classloader:jar:2.2.0.Alpha2:test
                [INFO]       |  |  \- org.jboss.threads:jboss-threads:jar:2.0.0.CR3:test
                [INFO]       |  +- org.jboss.jbossas:jboss-as-iiop:jar:6.0.0.20100216-M2:test
                [INFO]       |  +- org.jboss.jbossas:jboss-as-server:jar:6.0.0.20100216-M2:test
                [INFO]       |  +- org.jboss.deployers:jboss-deployers-spi:jar:2.2.0.Alpha1:test
                [INFO]       |  +- org.jboss.deployers:jboss-deployers-structure-spi:jar:2.2.0.Alpha1:test
                [INFO]       |  +- org.jboss.deployers:jboss-deployers-vfs-spi:jar:2.2.0.Alpha1:test
                [INFO]       |  +- org.jboss.kernel:jboss-kernel:jar:2.2.0.Alpha6:test
                [INFO]       |  +- org.jboss.integration:jboss-corba-ots-spi:jar:6.0.0-Alpha8:test
                [INFO]       |  \- org.jboss.reloaded:jboss-reloaded-naming-deployers:jar:0.1.0-alpha-2:test
                [INFO]       +- org.jboss.jbossas:jboss-as-server:jar:client:6.0.0.20100216-M2:test
                [INFO]       |  +- sun-jaxb:jaxb-api:jar:2.2:test
                [INFO]       |  +- org.jboss.bootstrap:jboss-bootstrap-spi-as:jar:2.0.0-alpha-4:test
                [INFO]       |  |  +- org.jboss.bootstrap:jboss-bootstrap-spi-mc:jar:2.0.0-alpha-2:test
                [INFO]       |  |  |  +- org.jboss.bootstrap:jboss-bootstrap-spi:jar:2.0.0-alpha-3:test
                [INFO]       |  |  |  \- org.jboss.bootstrap:jboss-bootstrap-api-mc:jar:2.0.0-alpha-1:test
                [INFO]       |  |  \- org.jboss.bootstrap:jboss-bootstrap-api-as:jar:2.0.0-alpha-1:test
                [INFO]       |  |     \- org.jboss.bootstrap:jboss-bootstrap-api:jar:2.0.0-alpha-1:test
                [INFO]       |  +- org.jboss.integration:jboss-deployment-spi:jar:6.0.0-Alpha8:test
                [INFO]       |  +- org.jboss.jpa:jboss-jpa-deployers:jar:1.0.1:test
                [INFO]       |  |  +- org.jboss.jpa:jboss-jpa-impl:jar:1.0.0:test
                [INFO]       |  |  +- org.jboss.jpa:jboss-jpa-spi:jar:1.0.0:test
                [INFO]       |  |  \- org.jboss.microcontainer:jboss-aop-mc-int:jar:2.0.4.GA:test
                [INFO]       |  +- org.jboss.reloaded:jboss-reloaded-naming:jar:0.1.0-alpha-2:test
                [INFO]       |  +- org.jboss.security:jbosssx:jar:2.1.0.20091223:test
                [INFO]       |  +- org.jboss.metadata:jboss-metadata-common:jar:2.0.0-alpha-10:test
                [INFO]       |  |  \- jboss.jbossws:jboss-jaxws:jar:3.0.1-native-2.0.4.GA:test
                [INFO]       |  +- org.jboss.metadata:jboss-metadata-client:jar:2.0.0.Alpha:test
                [INFO]       |  +- org.jboss.metadata:jboss-metadata-ear:jar:2.0.0.Alpha2:test
                [INFO]       |  +- org.jboss.metadata:jboss-metadata-ejb:jar:2.0.0-alpha-6:test
                [INFO]       |  |  \- org.jboss.javaee:jboss-ejb-api_3.1:jar:1.0-alpha-1:test
                [INFO]       |  |     \- org.jboss.javaee:jboss-transaction-api_1.0:jar:1.0-alpha-1:test
                [INFO]       |  +- org.jboss.metadata:jboss-metadata-rar:jar:2.0.0.Alpha:test
                [INFO]       |  +- org.jboss.metadata:jboss-metadata-war:jar:2.0.0.Alpha13:test
                [INFO]       |  |  \- jboss.web:servlet-api:jar:3.0.0.alpha-13:test
                [INFO]       |  +- org.jboss.jbossas:jboss-as-system-jmx:jar:6.0.0.20100216-M2:test
                [INFO]       |  +- org.jboss.jbossas:jboss-as-system:jar:6.0.0.20100216-M2:test
                [INFO]       |  +- org.jboss.jbossas:jboss-as-security:jar:6.0.0.20100216-M2:test
                [INFO]       |  |  +- org.jboss.javaee:jboss-jaspi-api:jar:1.0.0.GA:test
                [INFO]       |  |  \- org.jboss.security:jbossxacml:jar:2.0.4:test
                [INFO]       |  +- org.jboss.integration:jboss-transaction-spi:jar:6.0.0-Alpha8:test
                [INFO]       |  +- org.jboss.javaee:jboss-jacc-api:jar:1.1.0.GA_SP1:test
                [INFO]       |  +- javax.xml.soap:saaj-api:jar:1.3:test
                [INFO]       |  +- javax.xml.ws:jaxws-api:jar:2.2:test
                [INFO]       |  +- org.jboss.javaee:jboss-jca-api:jar:1.5.0.GA:test
                [INFO]       |  +- bcel:bcel:jar:5.1:test
                [INFO]       |  +- org.jboss.naming:jnpserver:jar:5.0.4.GA:test
                [INFO]       |  +- gnu-getopt:getopt:jar:1.0.12-brew:test
                [INFO]       |  +- org.jboss.service.binding:jboss-service-binding-core:jar:1.0.0.GA:test
                [INFO]       |  +- org.jboss.service.binding:jboss-service-binding-mgmt:jar:1.0.0.GA:test
                [INFO]       |  \- org.jboss.mcann:mcann-core:jar:1.0.0.Alpha1:test
                [INFO]       |     \- org.jboss.cl:jboss-classloading-vfs:jar:2.0.8.GA:test
                [INFO]       +- org.jboss.jbossas:jboss-as-profileservice:jar:client:6.0.0.20100216-M2:test
                [INFO]       |  +- org.jboss.aspects:jboss-remoting-aspects:jar:1.0.1.GA:test
                [INFO]       |  |  +- org.jboss.aspects:jboss-transaction-aspects:jar:1.0.0.Beta1:test
                [INFO]       |  |  |  \- org.jboss:jboss-transaction-spi:jar:5.0.0.Beta4:test
                [INFO]       |  |  \- org.jboss.aspects:jboss-security-aspects:jar:1.0.0.Beta1:test
                [INFO]       |  |     \- javax.security:jacc:jar:1.0:test
                [INFO]       |  +- org.jboss.jbossas:jboss-as-aspects:jar:6.0.0.20100216-M2:test
                [INFO]       |  |  +- org.jboss.aop:jboss-aop-aspects:jar:2.1.8.GA:test
                [INFO]       |  |  |  \- org.beanshell:bsh:jar:1.3.0:test
                [INFO]       |  |  +- org.jboss.aop:jboss-aop-asintegration-core:jar:2.1.8.GA:test
                [INFO]       |  |  +- org.jboss.aop:jboss-aop-asintegration-jmx:jar:2.1.8.GA:test
                [INFO]       |  |  +- org.jboss.aop:jboss-aop-asintegration-mc:jar:2.1.8.GA:test
                [INFO]       |  |  +- org.jboss.test:jboss-test:jar:1.1.5.GA:test
                [INFO]       |  |  |  +- org.apache.ant:ant-junit:jar:1.7.0:test
                [INFO]       |  |  |  +- jboss.profiler.jvmti:jboss-profiler-jvmti:jar:1.0.0.CR5:test
                [INFO]       |  |  |  \- org.jboss.jbossas:jboss-server-manager:jar:1.0.3.GA:test
                [INFO]       |  |  \- org.jboss.aop:pluggable-instrumentor:jar:2.1.8.GA:test
                [INFO]       |  +- org.jboss.man:jboss-managed:jar:2.1.1.SP1:test
                [INFO]       |  +- org.jboss.integration:jboss-profileservice-spi:jar:6.0.0-Alpha8:test
                [INFO]       |  +- org.jboss.man:jboss-metatype:jar:2.1.1.SP1:test
                [INFO]       |  +- org.jboss.aop:jboss-aop:jar:2.1.8.GA:test
                [INFO]       |  +- stax:stax-api:jar:1.0:test
                [INFO]       |  \- org.jboss.ejb3:jboss-ejb3-ext-api:jar:1.1.0:test
                [INFO]       +- org.jboss:jboss-common-core:jar:2.2.17.GA:test
                [INFO]       +- org.jboss.deployers:jboss-deployers-client:jar:2.2.0.Alpha1:test
                [INFO]       +- org.jboss.deployers:jboss-deployers-client-spi:jar:2.2.0.Alpha1:test
                [INFO]       +- org.jboss.deployers:jboss-deployers-core-spi:jar:2.2.0.Alpha1:test
                [INFO]       +- org.jboss.deployers:jboss-deployers-core:jar:2.2.0.Alpha1:test
                [INFO]       +- org.jboss.jbossas:jboss-as-deployment:jar:6.0.0.20100216-M2:test
                [INFO]       |  \- org.jboss.javaee:jboss-jad-api:jar:1.2.0.GA:test
                [INFO]       +- org.jboss.ejb3:jboss-ejb3-common:jar:client:1.0.2:test
                [INFO]       |  \- org.jboss.metadata:jboss-metadata:jar:1.0.0.CR16:test
                [INFO]       +- org.jboss.ejb3:jboss-ejb3-core:jar:client:1.2.2:test
                [INFO]       |  +- org.jboss.integration:jboss-jca-spi:jar:5.0.3.GA:test
                [INFO]       |  +- org.jboss.cache:jbosscache-core:jar:3.1.0.GA:test
                [INFO]       |  |  \- commons-logging:commons-logging:jar:1.1.1:test
                [INFO]       |  +- org.jboss.cluster:jboss-ha-server-api:jar:1.1.1.GA:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-cache:jar:1.0.0:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-common:jar:1.0.1:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-endpoint:jar:0.1.0:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-jpa-int:jar:1.0.0:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-security:jar:1.0.1:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-timerservice-spi:jar:1.0.0:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-ext-api-impl:jar:1.1.0:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-interceptors:jar:1.0.6:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-metadata:jar:1.0.0:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-proxy-impl:jar:1.0.6:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-proxy-clustered:jar:1.0.3:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-proxy-spi:jar:1.0.0:test
                [INFO]       |  +- org.jboss.ejb3:jboss-ejb3-transactions:jar:1.0.2:test
                [INFO]       |  +- org.jboss.ws:jbossws-spi:jar:1.0.3.GA:test
                [INFO]       |  +- quartz:quartz:jar:1.6.0:test
                [INFO]       |  +- sun-jaxws:jaxws-api:jar:2.1.1:test
                [INFO]       |  \- sun-jaxws:jsr181-api:jar:2.1.1:test
                [INFO]       +- org.jboss.ejb3:jboss-ejb3-proxy-impl:jar:client:1.0.6:test
                [INFO]       +- org.jboss.ejb3:jboss-ejb3-proxy-spi:jar:client:1.0.0:test
                [INFO]       +- org.jboss.ejb3:jboss-ejb3-proxy-clustered:jar:client:1.0.2:test
                [INFO]       +- org.jboss.ejb3:jboss-ejb3-security:jar:client:1.0.0:test
                [INFO]       |  \- org.jboss.aspects:jboss-current-invocation-aspects:jar:1.0.0.CR1:test
                [INFO]       +- org.jboss.cluster:jboss-ha-client:jar:1.1.1.GA:test
                [INFO]       +- org.jboss.jbossas:jboss-as-cluster:jar:jboss-ha-legacy-client:6.0.0.20100216-M2:test
                [INFO]       |  +- jgroups:jgroups:jar:2.6.13.GA:test
                [INFO]       |  +- org.jboss.cluster:jboss-ha-server-cache-spi:jar:2.0.0.GA:test
                [INFO]       |  \- org.jboss.cluster:jboss-ha-server-cache-jbc:jar:2.1.2.GA:test
                [INFO]       +- org.jboss.jbossas:jboss-as-iiop:jar:client:6.0.0.20100216-M2:test
                [INFO]       |  +- jboss.jbossts:jbossjts:jar:4.9.0.GA:test
                [INFO]       |  +- org.jboss.integration:jboss-classloading-spi:jar:6.0.0-Alpha8:test
                [INFO]       |  \- org.jboss.jbossas:jboss-as-main:jar:6.0.0.20100216-M2:test
                [INFO]       +- org.jboss.integration:jboss-integration:jar:6.0.0-Alpha8:test
                [INFO]       +- org.jboss.mx:jboss-j2se:jar:6.0.0.Beta5:test
                [INFO]       +- org.jboss.javaee:jboss-javaee:jar:5.2.0.Beta1:test
                [INFO]       +- org.jboss.jbossas:jboss-as-management:jar:jsr77-client:6.0.0.20100216-M2:test
                [INFO]       |  +- org.jboss.deployers:jboss-deployers-vfs:jar:2.2.0.Alpha1:test
                [INFO]       |  \- org.jboss.jbossas:jboss-as-cluster:jar:6.0.0.20100216-M2:test
                [INFO]       +- org.jboss.logging:jboss-logging-jdk:jar:2.2.0.CR1:test
                [INFO]       +- org.jboss.logging:jboss-logging-log4j:jar:2.2.0.CR1:test
                [INFO]       +- org.jboss.logging:jboss-logging-spi:jar:2.2.0.CR1:test
                [INFO]       +- org.jboss:jboss-mdr:jar:2.2.0.Alpha1:test
                [INFO]       +- jboss.messaging:jboss-messaging:jar:1.4.6.GA:test
                [INFO]       +- org.jboss.remoting:jboss-remoting:jar:2.5.2.SP2:test
                [INFO]       +- org.jboss.security:jboss-security-spi:jar:2.1.0.20091223:test
                [INFO]       +- jboss:jboss-serialization:jar:1.0.3.GA:test
                [INFO]       +- org.jboss.jbossas:jboss-as-system:jar:client:6.0.0.20100216-M2:test
                [INFO]       |  +- org.jboss.kernel:jboss-dependency:jar:2.2.0.Alpha6:test
                [INFO]       |  +- org.jboss.deployers:jboss-deployers-impl:jar:2.2.0.Alpha1:test
                [INFO]       |  \- org.jboss.kernel:jboss-aop-mc-int:jar:2.2.0.Alpha6:test
                [INFO]       +- org.jboss.jbossas:jboss-as-system-jmx:jar:client:6.0.0.20100216-M2:test
                [INFO]       |  +- org.jboss.mx:jboss-jmx:jar:6.0.0.Beta5:test
                [INFO]       |  |  +- org.jboss.mx:jboss-mbeans:jar:6.0.0.Beta5:test
                [INFO]       |  |  \- org.jboss.mx:jboss-jmx-annotations:jar:6.0.0.Beta5:test
                [INFO]       |  +- org.jboss.kernel:jboss-jmx-mc-int:jar:2.2.0.Alpha6:test
                [INFO]       |  |  \- org.jboss.mx:jboss-mbeanserver:jar:6.0.0.Beta5:test
                [INFO]       |  \- org.jboss.deployers:jboss-deployers-jmx:jar:2.2.0.Alpha1:test
                [INFO]       +- org.jboss.security:jbosssx-client:jar:2.1.0.20091223:test
                [INFO]       +- org.jboss.jbossas:jboss-as-server:jar:jmx-invoker-adaptor-client:6.0.0.20100216-M2:test
                [INFO]       +- org.jboss.naming:jnp-client:jar:5.0.4.GA:test
                [INFO]       +- org.slf4j:slf4j-api:jar:1.5.6:test
                [INFO]       +- org.slf4j:jcl-over-slf4j:jar:1.5.6:test
                [INFO]       \- org.apache:xmlsec:jar:1.4.3:test
                [INFO] ------------------------------------------------------------------------
                • 5. Re: Cannot connect to container
                  Aslak Knutsen Master

                  And your running this against a JBoss AS 6.0.0.20100216-M2 server ?

                  • 6. Re: Cannot connect to container
                    Rick Kilcoyne Newbie

                    No, running against a jbossas-6 trunk.

                    • 8. Re: Cannot connect to container
                      Aslak Knutsen Master

                      A ha. That makes sense..

                       

                      You will have to exclude the Arquillian JBoss Container dependency on M2 and replace is with your trunk v. e.g:

                       

                      {code}

                       

                        <dependency>
                          <groupId>org.jboss.arquillian.container</groupId>
                          <artifactId>arquillian-jbossas-remote-60</artifactId>
                          <version>${project.version}</version>
                          <exclusions>
                            <exclusion>
                              <groupId>org.jboss.jbossas</groupId>
                              <artifactId>jboss-as-client</artifactId>
                            </exclusion>
                          </exclusions>
                        </dependency>
                        <dependency>
                          <groupId>org.jboss.jbossas</groupId>
                          <artifactId>jboss-as-client</artifactId>
                          <version>YOUR_JBOSS_TRUNK_VERSION</version>
                          <type>pom</type>
                        </dependency>

                      {code}

                      • 9. Re: Cannot connect to container
                        Rick Kilcoyne Newbie

                        Looks like my last response was lost... At any rate, I got it working using the JBoss M2 release and Arquillian 1.0.0.Alpha1.

                         

                        I was trying to get the latest JBoss AS trunk working with the latest Arquillian SNAPSHOT and the exclusion you suggested, but ran into a problem with the Arquillian container not being able to find the org.jboss.VFS class (that's from memory so it's most likely not exact).

                         

                        I guess I was trying to rush versions too fast. I'll reply here with the exact stacktrace I was getting with the VFS error shortly...

                         

                        Thanks for your help!

                        Rick

                        • 10. Re: Cannot connect to container
                          Rick Kilcoyne Newbie

                          Here's the error I got with Arquillian 1.0.0-SNAPSHOT and JBoss AS 6.0.0-SNAPSHOT

                           


                          Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.062 sec <<< FAILURE!
                          initializationError(com.kilcoynet.arqtest.AppTest)  Time elapsed: 0.006 sec  <<< ERROR!
                          java.lang.NoClassDefFoundError: org/jboss/virtual/VFS
                          at org.jboss.arquillian.jboss.JbossRemoteContainer.initDeploymentManager(JbossRemoteContainer.java:223)
                          at org.jboss.arquillian.jboss.JbossRemoteContainer.start(JbossRemoteContainer.java:81)
                          at org.jboss.arquillian.impl.container.ContainerController.start(ContainerController.java:40)
                          at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:55)
                          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                          at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
                          at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
                          at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
                          at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
                          at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
                          at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
                          at org.apache.maven.surefire.junit4.JUnit4TestSet.<init>(JUnit4TestSet.java:45)
                          at org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite.createTestSet(JUnit4DirectoryTestSuite.java:56)
                          at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:96)
                          at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209)
                          at org.apache.maven.surefire.Surefire.run(Surefire.java:156)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:597)
                          at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
                          at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
                          Caused by: java.lang.ClassNotFoundException: org.jboss.virtual.VFS
                          at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
                          at java.security.AccessController.doPrivileged(Native Method)
                          at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                          at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
                          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
                          at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
                          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
                          ... 25 more
                          
                          

                           


                          • 11. Re: Cannot connect to container
                            Dan Allen Master

                            Aslak, perhaps we should set up a Hudson job to run Arquillian against the nightly builds of JBoss AS. That way, we can be ready for any changes that are in the pipeline. I wouldn't worry so much about other containers, we can just test the releases for those, but we should go a little extra for the JBoss AS builds.

                             

                            Of course, this will resolve itself if/when the AS team uses Arquillian to test JBoss AS.

                            • 12. Re: Cannot connect to container
                              Aslak Knutsen Master

                              This is planned, but we need the JBoss AS Local container first. So we can control the container lifecycle(start/stop).

                              • 13. Re: Cannot connect to container
                                Andrew Rubinger Master

                                Dan Allen wrote:

                                 

                                Aslak, perhaps we should set up a Hudson job to run Arquillian against the nightly builds of JBoss AS. That way, we can be ready for any changes that are in the pipeline. I wouldn't worry so much about other containers, we can just test the releases for those, but we should go a little extra for the JBoss AS builds.

                                 

                                Of course, this will resolve itself if/when the AS team uses Arquillian to test JBoss AS.

                                 

                                We need some level of abstraction in place for AS to use Arquillian.  As it stands, Arquillian Container Extensions depend upon the target container; to introduce Arq into the target container testsuite would comprise a cyclic dependency.

                                 

                                S,

                                ALR