6 Replies Latest reply on Jan 6, 2012 4:51 PM by dmartinjpr

    Issues getting started with remote jboss 5.1 and arquillian

    dmartinjpr Newbie

      Hello,

      I've been working with the examples in the documentation, but I have been unable to get my sample tests to run.  The issue that I'm running into is that apparently I have incompatible dependencies and I can't figure out what versions should be used.

       

      Latest exception..

       

       

      java.lang.RuntimeException: Could not create a new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor see cause.

      at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:170)

      at org.jboss.arquillian.test.spi.TestRunnerAdaptorBuilder.build(TestRunnerAdaptorBuilder.java:52)

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

      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)

      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

      Caused by: java.lang.reflect.InvocationTargetException

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

      at java.lang.reflect.Constructor.newInstance(Unknown Source)

      at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:166)

      ... 8 more

      Caused by: java.lang.RuntimeException: Could not create a new instance of class org.jboss.arquillian.core.impl.ManagerImpl see cause.

      at org.jboss.arquillian.core.spi.SecurityActions.newInstance(SecurityActions.java:157)

      at org.jboss.arquillian.core.spi.ManagerBuilder.create(ManagerBuilder.java:77)

      at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.<init>(EventTestRunnerAdaptor.java:55)

      ... 13 more

      Caused by: java.lang.reflect.InvocationTargetException

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

      at java.lang.reflect.Constructor.newInstance(Unknown Source)

      at org.jboss.arquillian.core.spi.SecurityActions.newInstance(SecurityActions.java:153)

      ... 15 more

      Caused by: java.lang.NoClassDefFoundError: org/jboss/arquillian/container/spi/event/StartSuiteContainers

      at java.lang.Class.getDeclaredMethods0(Native Method)

      at java.lang.Class.privateGetDeclaredMethods(Unknown Source)

      at java.lang.Class.privateGetPublicMethods(Unknown Source)

      at java.lang.Class.getMethods(Unknown Source)

      at org.jboss.arquillian.core.impl.Reflections.getObserverMethods(Reflections.java:53)

      at org.jboss.arquillian.core.impl.ExtensionImpl.of(ExtensionImpl.java:51)

      at org.jboss.arquillian.core.impl.ManagerImpl.createExtensions(ManagerImpl.java:409)

      at org.jboss.arquillian.core.impl.ManagerImpl.fireProcessing(ManagerImpl.java:344)

      at org.jboss.arquillian.core.impl.ManagerImpl.<init>(ManagerImpl.java:97)

      ... 20 more

      Caused by: java.lang.ClassNotFoundException: org.jboss.arquillian.container.spi.event.StartSuiteContainers

      at java.net.URLClassLoader$1.run(Unknown Source)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.net.URLClassLoader.findClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      ... 29 more

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

      my POM .xml

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>

        <groupId>Group_001</groupId>
        <artifactId>Artifact_001</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <packaging>jar</packaging>

        <name>Artifact_001</name>
        <url>http://maven.apache.org</url>

        <properties>
          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <arquillian.version>1.0.0.CR7</arquillian.version>
         <shrinkwrap.version>1.0.0-cr-2</shrinkwrap.version>
         <shrinkwrap_descriptor.version>1.1.0-beta-1</shrinkwrap_descriptor.version>
        
      </properties>

        <dependencies>
          <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
          </dependency>
          <dependency>
           <groupId>javax.enterprise</groupId>
           <artifactId>cdi-api</artifactId>
           <version>1.0-SP4</version>
      </dependency>
      <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>4.8.2</version>
         <scope>test</scope>
      </dependency>
      <dependency>
          <groupId>org.jboss.jbossas</groupId>
          <artifactId>jboss-as-client</artifactId>
          <version>5.1.0.GA</version>  
          <type>pom</type>
      </dependency> 
      <dependency>
         <groupId>org.jboss.arquillian.junit</groupId>
         <artifactId>arquillian-junit-container</artifactId>
         <version>${arquillian.version}</version>
         <scope>test</scope>
      </dependency>
      <dependency>
          <groupId>org.jboss.arquillian.container</groupId>
          <artifactId>arquillian-jbossas-remote-5.1</artifactId>
          <version>1.0.0.CR2</version>
      </dependency>
      </dependencies>

      <profiles>
          <profile>
            <id>jboss-public-repository</id>
            <repositories>
            <repository>
                <id>jboss-public-repository-group</id>
                <name>JBoss Public Maven Repository Group</name>
                <url>https://repository.jboss.org/nexus/content/groups/developer/</url>
                <layout>default</layout>
                <releases>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </snapshots>
              </repository>
              <repository>
                <id>jboss-public-repository-group</id>
                <name>JBoss Public Maven Repository Group</name>
                <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
                <layout>default</layout>
                <releases>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </snapshots>
              </repository>
              <repository>
                <id>jboss-deprecated-repository</id>
                <name>JBoss Deprecated Maven Repository</name>
                <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
                <layout>default</layout>
                <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                <enabled>false</enabled>
                <updatePolicy>never</updatePolicy>
                </snapshots>
            </repository>
         </repositories>
            <pluginRepositories>
              <pluginRepository>
                <id>jboss-public-repository-group</id>
                <name>JBoss Public Maven Repository Group</name>
                <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
                <layout>default</layout>
                <releases>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </snapshots>
              </pluginRepository>
            </pluginRepositories>
          </profile>

        </profiles>

        <activeProfiles>
          <activeProfile>jboss-public-repository</activeProfile>
        </activeProfiles>

      </project>

       

      Any help would be appreciated.

       

      Thanks,

        • 1. Re: Issues getting started with remote jboss 5.1 and arquillian
          Aslak Knutsen Master

          I recommend you use the Arquillian-BOM to import the core versions, that will help with the issue you're seeing here, where the Container Adaptor you're using is 'linked' against a older version of Arquillan Core then the one you want to use. The general point is to use the Arquillian-BOM to specify which Arquillian Core version to use (dependencyManagement scope import), then that version will take precedence when Maven starts resolving the depednency tree.

           

          https://gist.github.com/1154075#file_pom.xml

          • 2. Re: Issues getting started with remote jboss 5.1 and arquillian
            dmartinjpr Newbie

            Thanks for that.  So I've gotten closer.  I'm using the BOM and I needed to add a dependency to be able to resolve jboss-profile-spi.  So now it's attempting to connect to the remote container, but it fails.  It appears to be another classnotfound issue in regards to org.jnp.NamingContextFactory.  Is this just another item I should add to my pom or is there an underlying issue?  In other readings I found discussions related to verifying that the profileservice bean was present in the jmx-console (It is).

             

            org.jboss.arquillian.container.spi.client.container.LifecycleException: Could not connect to container
            at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.start(JBossASRemoteContainer.java:92)
            at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$5.perform(ContainerLifecycleController.java:144)
            at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$5.perform(ContainerLifecycleController.java:134)
            at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:186)
            at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:133)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
            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.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
            at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
            at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
            at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
            at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
            at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:83)
            at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:76)
            at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forEachContainer(ContainerLifecycleController.java:179)
            at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainers(ContainerLifecycleController.java:75)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
            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:134)
            at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
            at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
            at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:83)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
            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.createSuiteContext(TestContextHandler.java:54)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
            at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
            at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
            at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
            at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:68)
            at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:76)
            at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
            at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
            at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
            at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
            at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
            at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
            Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
            at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
            at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
            at javax.naming.InitialContext.init(Unknown Source)
            at javax.naming.InitialContext.<init>(Unknown Source)
            at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.createContext(JBossASRemoteContainer.java:221)
            at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.initDeploymentManager(JBossASRemoteContainer.java:204)
            at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.start(JBossASRemoteContainer.java:88)
            ... 60 more
            Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
            ... 67 more

             

            • 3. Re: Issues getting started with remote jboss 5.1 and arquillian
              dmartinjpr Newbie

              So after adding additional dependencies I now have the test attempting to connect to my jboss container, but it fails.

               

              (dependencies added)

              <dependency>
                 <groupId>org.jboss.profileservice</groupId>
                 <artifactId>jboss-profileservice-spi</artifactId>
                 <version>0.2.2</version>
                </dependency>
                <dependency>
                 <groupId>org.jboss</groupId>
                 <artifactId>jnp-client</artifactId>
                 <version>4.2.2.GA</version>
                </dependency>
                <dependency>
                 <groupId>org.jboss.logging</groupId>
                 <artifactId>jboss-logging</artifactId>
                 <version>3.1.0.CR2</version>
                </dependency>

               

              new exception...

               

              Caused by: java.lang.ClassNotFoundException: org.jboss.aop.proxy.MarshalledInterfaceProxy (no security manager: RMI class loader disabled)
              at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
              at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
              at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
              at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
              at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
              at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
              at java.io.ObjectInputStream.readClassDesc(Unknown Source)
              at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
              at java.io.ObjectInputStream.readObject0(Unknown Source)
              at java.io.ObjectInputStream.readObject(Unknown Source)
              at java.rmi.MarshalledObject.get(Unknown Source)
              at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
              at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710)

               

              I assume that this is a JBoss configuration issue.  I've been trying to find how to enable the class loader but I found the answer yet.  Any suggestions?

               

              • 4. Re: Issues getting started with remote jboss 5.1 and arquillian
                dmartinjpr Newbie

                I added the following dependencies to resolve the class not found errors I was seeing before.

                 

                <dependency>
                   <groupId>org.jboss.aop</groupId>
                   <artifactId>jboss-aop</artifactId>
                   <version>2.2.2.GA</version>
                  </dependency>
                  <dependency>
                   <groupId>org.jboss.aop</groupId>
                   <artifactId>jboss-aop-as5integration</artifactId>
                   <version>2.2.2.GA</version>
                  </dependency>
                  <dependency>
                   <groupId>org.jboss.remoting3</groupId>
                   <artifactId>jboss-remoting</artifactId>
                   <version>3.2.0.CR8</version>
                  </dependency>
                  <dependency>
                   <groupId>org.jboss.aspects</groupId>
                   <artifactId>jboss-security-aspects</artifactId>
                   <version>1.0.1</version>
                  </dependency>
                  <dependency>
                   <groupId>org.jboss.aspects</groupId>
                   <artifactId>jboss-remoting-aspects</artifactId>
                   <version>1.0.3</version>
                  </dependency>

                 

                Now the test gets further and attempts to create a Socket connect to my remote server.  It then errors with a new class not found error:

                 

                DEBUG - Logging Provider: org.jboss.logging.Log4jLoggerProvider
                DEBUG - SocketClientInvoker[7f401d28, socket://hostname:4446] setting enableTcpNoDelay to true
                DEBUG - SocketClientInvoker[7f401d28, socket://hostname:4446] constructed
                DEBUG - SocketClientInvoker[7f401d28, socket://hostname:4446] setting enableTcpNoDelay to true
                DEBUG - SocketClientInvoker[7f401d28, socket://hostname:4446] connecting
                DEBUG - Creating semaphore with size 50
                DEBUG - removed SocketClientInvoker[7f401d28, socket://hostname:4446] from registry
                DEBUG - SocketClientInvoker[7f401d28, socket://hostname:4446] disconnecting ...
                java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/Semaphore

                 

                I looked into the Semaphore class and it should be included as part of the concurrent.jar of the jbossall-client package.  I added that dependency as well, but no change. 

                <dependency>
                   <groupId>org.jboss.client</groupId>
                   <artifactId>jbossall-client</artifactId>
                   <version>5.0.0.GA</version>
                  </dependency>

                 

                Are this many dependencies required to execute remote tests?  Any help on what the next step would be or if I've made a mistake in confugration is appreciated.

                 

                 

                 

                • 5. Re: Issues getting started with remote jboss 5.1 and arquillian
                  dmartinjpr Newbie

                  After making more progress I've hit a new roadblock.  It seems that there is no marshalFactory for invocation datatypes.  Is this a Jboss configuration error or should I be using a different dependency for my remote client?

                   

                  Caused by: org.jboss.remoting.marshal.InvalidMarshallingResource: Can not find a valid marshaller for data type: invocation
                  at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:100)
                  at org.jboss.remoting.Client.invoke(Client.java:2070)
                  at org.jboss.remoting.Client.invoke(Client.java:879)
                  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$0.getDeploymentManager(AOPProxy$0.java)
                  at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.initDeploymentManager(JBossASRemoteContainer.java:206)
                  at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.start(JBossASRemoteContainer.java:88)
                  at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$5.perform(ContainerLifecycleController.java:144)
                  at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$5.perform(ContainerLifecycleController.java:134)
                  at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:186)
                  at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:133)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
                  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.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
                  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
                  at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
                  at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
                  at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
                  at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:83)
                  at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:76)
                  at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forEachContainer(ContainerLifecycleController.java:179)
                  at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainers(ContainerLifecycleController.java:75)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
                  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:134)
                  at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
                  at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
                  at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:83)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
                  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.createSuiteContext(TestContextHandler.java:54)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
                  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
                  at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
                  at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
                  at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:68)
                  at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:76)
                  at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
                  at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
                  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
                  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
                  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
                  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
                  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$0.getDeploymentManager(AOPProxy$0.java)
                  at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.initDeploymentManager(JBossASRemoteContainer.java:206)
                  at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.start(JBossASRemoteContainer.java:88)
                  ... 60 more