5 Replies Latest reply on Nov 24, 2011 3:46 PM by mcgin

    Using Arquillian with JBoss AS 7.0.2.Final

    mcgin Newbie

      I'm getting the following error when I try to use JBoss AS 7.0.2.Final with Arquillian

       

      java.lang.RuntimeException: Could not create remote JMX connection: JMXContext [host=127.0.0.1, port=1090, connection=null]

      .

      .

       

      Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory

       

      This appears to be caused by a missing jboss-as-client dependency from what I understand, however there is no client for 7.0.2.Final in the maven repository, so I'm wondering how to use Arquillian with this version of JBoss.

       

      Thanks

        • 1. Re: Using Arquillian with JBoss AS 7.0.2.Final
          Aslak Knutsen Master
          <profile>
              <id>jbossas-remote-7</id>
              <dependencies>
                  <dependency>
                      <groupId>org.jboss.spec</groupId>
                      <artifactId>jboss-javaee-6.0</artifactId>
                      <version>1.0.0.Final</version>
                      <type>pom</type>
                      <scope>provided</scope>
                  </dependency>
                  <dependency>
                      <groupId>org.jboss.as</groupId>
                      <artifactId>jboss-as-arquillian-container-remote</artifactId>
                      <version>7.0.2.Final</version>
                  </dependency>
              </dependencies>
          </profile>
          
          
          
          
          
          • 2. Re: Using Arquillian with JBoss AS 7.0.2.Final
            mcgin Newbie

            Thanks Aslak, I already have those dependencies in the pom file

            • 3. Re: Using Arquillian with JBoss AS 7.0.2.Final
              Aslak Knutsen Master

              hmm, could you post the full stacktrace?

              • 4. Re: Using Arquillian with JBoss AS 7.0.2.Final
                mcgin Newbie

                Sure:

                 

                java.lang.RuntimeException: Could not create remote JMX connection: JMXContext [host=127.0.0.1, port=1090, connection=null]

                          at org.jboss.arquillian.container.spi.client.protocol.metadata.JMXContext.getConnection(JMXContext.java:69)

                          at org.jboss.arquillian.protocol.jmx.AbstractJMXProtocol.getExecutor(AbstractJMXProtocol.java:53)

                          at org.jboss.arquillian.protocol.jmx.AbstractJMXProtocol.getExecutor(AbstractJMXProtocol.java:35)

                          at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.getContainerMethodExecutor(RemoteTestExecuter.java:136)

                          at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:119)

                          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: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.execution.ClientTestExecuter.execute(ClientTestExecuter.java:57)

                          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: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.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:130)

                          at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.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.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

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

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

                          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:90)

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

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

                          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:90)

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

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

                          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: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.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                          at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)

                          at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)

                          at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)

                          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.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)

                          at $Proxy0.invoke(Unknown Source)

                          at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)

                          at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)

                          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)

                Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]

                          at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:357)

                          at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267)

                          at org.jboss.arquillian.container.spi.client.protocol.metadata.JMXContext.getConnection(JMXContext.java:65)

                          ... 83 more

                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(NamingManager.java:674)

                          at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)

                          at javax.naming.InitialContext.init(InitialContext.java:242)

                          at javax.naming.InitialContext.<init>(InitialContext.java:216)

                          at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1922)

                          at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1891)

                          at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:274)

                          ... 85 more

                Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory

                          at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

                          at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

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

                          at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

                          at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

                          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

                          at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

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

                          at java.lang.Class.forName(Class.java:264)

                          at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:63)

                          at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)

                          ... 91 more

                 

                 

                 

                The server:

                 

                18:36:03,942 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)

                18:36:03,964 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.

                18:36:04,074 INFO  [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem

                18:36:04,086 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service

                18:36:04,093 INFO  [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem

                18:36:04,116 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem

                18:36:04,123 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.0.Beta2

                18:36:04,137 INFO  [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.0.Beta3

                18:36:04,154 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.0.Beta3

                18:36:04,483 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem

                18:36:05,075 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) Listening on /127.0.0.1:9999

                18:36:05,125 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-4) Starting remote JMX connector

                18:36:05,167 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080

                18:36:05,230 INFO  [org.jboss.as.connector] (MSC service thread 1-1) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)

                18:36:05,404 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) Bound data source [java:jboss/datasources/ExampleDS]

                18:36:05,414 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "arquillian-service"

                18:36:05,422 INFO  [org.jboss.as.deployment] (MSC service thread 1-4) Started FileSystemDeploymentService for directory C:\jboss-as-7.0.2.Final\jboss-as-7.0.2.Final\standalone\deployments

                18:36:05,669 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) added javax.persistence.api dependency to arquillian-service

                18:36:05,713 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) JBossOSGi Framework Core - 1.0.0.CR8

                18:36:05,803 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: system.bundle:0.0.0

                18:36:05,871 INFO  [org.jboss.as.server.controller] (Controller Boot Thread) Deployed "arquillian-service"

                18:36:06,071 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: jboss-osgi-logging:1.0.0

                18:36:06,105 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jboss-osgi-jmx:1.0.10

                18:36:06,160 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.apache.felix.configadmin:1.2.8

                18:36:06,228 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: org.apache.aries.jmx:0.3.0

                18:36:06,245 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.apache.felix.metatype:1.0.4

                18:36:06,324 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: org.apache.aries.util:0.3.0

                18:36:06,422 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: org.apache.felix.log:1.0.0

                18:36:06,429 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: javaee.api:0.0.0

                18:36:06,494 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jboss-osgi-xerces:2.9.1.SP7

                18:36:06,634 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jbosgi-blueprint:1.0.2

                18:36:06,877 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jbosgi-webapp:1.0.2

                18:36:06,930 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: org.jboss.logging:3.0.0

                18:36:06,949 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jboss-as-osgi-configadmin:7.0.2.Final

                18:36:06,973 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jbosgi-webconsole:1.0.6

                18:36:07,004 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: osgi.cmpn:4.2.0.200908310645

                18:36:07,084 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: org.apache.felix.webconsole:3.1.6.SP1

                18:36:07,150 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: org.apache.felix.scr:1.6.0

                18:36:07,293 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.apache.felix.eventadmin:1.2.6

                18:36:07,353 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: jboss-osgi-http:1.0.3

                18:36:07,384 INFO  [org.jboss.osgi.framework.internal.StartLevelPlugin] (MSC service thread 1-4) Starting bundles for start level: 1

                18:36:07,556 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: org.apache.felix.configadmin:1.2.8

                18:36:07,579 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: org.apache.felix.log:1.0.0

                18:36:07,594 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: jboss-osgi-logging:1.0.0

                18:36:07,614 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: jboss-as-osgi-configadmin:7.0.2.Final

                18:36:07,618 INFO  [org.jboss.osgi.framework.internal.FrameworkActive] (MSC service thread 1-4) OSGi Framework started

                18:36:07,619 INFO  [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011920: Register module: Module "deployment.arquillian-service:main" from Service Module Loader

                18:36:07,624 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: arquillian-service:0.0.0

                18:36:07,647 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.2.Final "Arc" started in 5442ms - Started 111 of 170 services (57 services are passive or on-demand)

                18:36:51,665 INFO  [org.jboss.as.server.deployment] (pool-1-thread-1) Content added at location C:\jboss-as-7.0.2.Final\jboss-as-7.0.2.Final\standalone\data\content\ca\61787fd95abd3acd51d4d9a1baa983b8aaca8a\content

                18:36:51,669 ERROR [org.jboss.as.controller] (pool-1-thread-1) Operation ("add") failed - address: ([("deployment" => "arquillian-service")]): java.lang.IllegalStateException: duplicate resource [("deployment" => "arquillian-service")]

                          at org.jboss.as.controller.OperationContextImpl.createResource(OperationContextImpl.java:821) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.server.deployment.DeploymentAddHandler.execute(DeploymentAddHandler.java:170)

                          at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:353) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.CompositeOperationHandler.execute(CompositeOperationHandler.java:83) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:353) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:350) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:353) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:298) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:223) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:119) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doProcessRequest(ModelControllerClientOperationHandler.java:154) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$100(ModelControllerClientOperationHandler.java:85) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.call(ModelControllerClientOperationHandler.java:114) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.call(ModelControllerClientOperationHandler.java:112) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [:1.7.0]

                          at java.util.concurrent.FutureTask.run(FutureTask.java:166) [:1.7.0]

                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0]

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

                          at java.lang.Thread.run(Thread.java:722) [:1.7.0]

                 

                 

                18:36:52,014 INFO  [org.jboss.as.server.deployment] (pool-1-thread-1) Content added at location C:\jboss-as-7.0.2.Final\jboss-as-7.0.2.Final\standalone\data\content\63\d8413b4b3b60816783d1aee44a42d6bc8eb440\content

                18:36:52,023 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "test.jar"

                18:36:52,115 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) added javax.persistence.api dependency to test.jar

                18:36:52,125 INFO  [org.jboss.weld] (MSC service thread 1-3) Processing CDI deployment: test.jar

                18:36:52,134 INFO  [org.jboss.weld] (MSC service thread 1-3) Starting Services for CDI deployment: test.jar

                18:36:52,199 INFO  [org.jboss.weld.Version] (MSC service thread 1-3) WELD-000900 1.1.2 (Final)

                18:36:52,214 INFO  [org.jboss.as.arquillian] (MSC service thread 1-3) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."test.jar",unit=test.jar,tests=[com.gamblerstools.bettingbot.service.BetbotServiceTest]]

                18:36:52,215 INFO  [org.jboss.weld] (MSC service thread 1-2) Starting weld service

                18:36:52,557 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Deployed "test.jar"

                18:36:52,722 INFO  [org.jboss.weld] (MSC service thread 1-1) Stopping weld service

                18:36:52,745 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment test.jar in 27ms

                18:36:52,760 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Undeployed "test.jar"

                • 5. Re: Using Arquillian with JBoss AS 7.0.2.Final
                  mcgin Newbie

                  Taking some time away always seems to help.  The problem was a stray jndi.properties file that was lying around from when trying to resolve another issue.  Removing that solves the problem.