6 Replies Latest reply on Mar 16, 2011 5:34 AM by gopi balagala

    Unable to run  TestNG with arquillian1.0.0.Alpha4 Example

    gopi balagala Newbie

      Hi,

           I have downloaded the arquillian source code from the site https://github.com/jbosgi/arquillian/tree/1.0.0.Alpha4  after that I had build the project sucessfully but when I tried to run the TestNG examples but I am getting this below exception.

      I used the following setup:  Jboss 6 and Maven3.

                                           .

      Exception:

      --------------------

      D:\sample\arquillian-arquillian-6293bb9\examples\testng>mvn test -Pjbossas-remote-6

      [INFO] Scanning for projects...

      [INFO]

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

      [INFO] Building Arquillian Example TestNG 1.0.0.Alpha4

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

      [WARNING] The POM for woodstox:wstx-asl:jar:3.2.1 is missing, no dependency information available

      [INFO]

      [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-plugin-versions) @ arquillian-example-testng ---

      [WARNING] This rule is not compatible with the current version of Maven. The rule is not able to perform any checks.

      [INFO]

      [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java-version) @ arquillian-example-testng ---

      [INFO]

      [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-version) @ arquillian-example-testng ---

      [INFO]

      [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-environment) @ arquillian-example-testng ---

      [INFO]

      [INFO] --- maven-resources-plugin:2.4.1:resources (default-resources) @ arquillian-example-testng ---

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] skip non existing resourceDirectory D:\sample\arquillian-arquillian-6293bb9\examples\testng\src\main\resources

      [INFO]

      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ arquillian-example-testng ---

      [INFO] No sources to compile

      [INFO]

      [INFO] --- maven-resources-plugin:2.4.1:testResources (default-testResources) @ arquillian-example-testng ---

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] Copying 1 resource

      [INFO]

      [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ arquillian-example-testng ---

      [INFO] Nothing to compile - all classes are up to date

      [INFO]

      [INFO] --- maven-surefire-plugin:2.5:test (default-test) @ arquillian-example-testng ---

      [INFO] Surefire report directory: D:\sample\arquillian-arquillian-6293bb9\examples\testng\target\surefire-reports

       

      -------------------------------------------------------

      T E S T S

      -------------------------------------------------------

      Running TestSuite

      Tests run: 40, Failures: 16, Errors: 0, Skipped: 24, Time elapsed: 7.4 sec <<< FAILURE!

       

      Results :

       

      Failed tests:

        arquillianBeforeClass(com.acme.cdi.InjectionTestCase)

        arquillianAfterClass(com.acme.cdi.InjectionTestCase)

        arquillianAfterClass(com.acme.cdi.payment.SynchronousPaymentProcessorTestCase)

        arquillianAfterTest(com.acme.cdi.random.RandomTestCase)

        arquillianAfterClass(com.acme.cdi.random.RandomTestCase)

        arquillianAfterTest(com.acme.ejb.InjectionTestCase)

        arquillianAfterClass(com.acme.ejb.InjectionTestCase)

        arquillianAfterTest(com.acme.ejb.TemperatureConverterTestCase)

        arquillianAfterTest(com.acme.ejb.TemperatureConverterTestCase)

        arquillianAfterTest(com.acme.ejb.TemperatureConverterTestCase)

        arquillianAfterClass(com.acme.ejb.TemperatureConverterTestCase)

        arquillianAfterTest(com.acme.jms.InjectionTestCase)

        arquillianAfterClass(com.acme.jms.InjectionTestCase)

        arquillianAfterTest(com.acme.resource.InjectionTestCase)

        arquillianAfterClass(com.acme.resource.InjectionTestCase)

        arquillianAfterSuite(com.acme.ejb.TemperatureConverterTestCase)

       

      Tests run: 40, Failures: 16, Errors: 0, Skipped: 24

       

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

      [INFO] BUILD FAILURE

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

      [INFO] Total time: 13.940s

      [INFO] Finished at: Tue Mar 15 23:03:44 IST 2011

      [INFO] Final Memory: 20M/50M

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

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project arquillian-example-testng: There are test failures.

      [ERROR]

      [ERROR] Please refer to D:\sample\arquillian-arquillian-6293bb9\examples\testng\target\surefire-reports for the individual test results.

      [ERROR] -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

      D:\sample\arquillian-arquillian-6293bb9\examples\testng>

       

       

       

      Thank you.

        • 1. Unable to run  TestNG with arquillian1.0.0.Alpha4 Example
          Aslak Knutsen Master

          What does your surefire reports say?

           

          D:\sample\arquillian-arquillian-6293bb9\examples\testng\target\surefire-reports

          • 2. Re: Unable to run  TestNG with arquillian1.0.0.Alpha4 Example
            gopi balagala Newbie

            Please find the below  D:\sample\arquillian-arquillian-6293bb9\examples\testng\target\surefire-reports:testSuite.txt

             

            JBoss Server:  jboss-6.0.0.20101110-CR1

            -------------------------------------------------------------------------------

            Test set: TestSuite

            -------------------------------------------------------------------------------

            Tests run: 40, Failures: 16, Errors: 0, Skipped: 24, Time elapsed: 11.415 sec <<< FAILURE!

            arquillianBeforeClass(com.acme.cdi.InjectionTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            org.jboss.arquillian.impl.event.FiredEventException: org.jboss.arquillian.spi.DeploymentException: Failed to deploy test.war

                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.beforeClass(EventTestRunnerAdaptor.java:98)

                at org.jboss.arquillian.testng.Arquillian.arquillianBeforeClass(Arquillian.java:77)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:92)

                at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:183)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

            Caused by: org.jboss.arquillian.spi.DeploymentException: Failed to deploy test.war

                at org.jboss.arquillian.container.jbossas.remote_6.JBossASRemoteContainer.deploy(JBossASRemoteContainer.java:169)

                at org.jboss.arquillian.impl.handler.ContainerDeployer.callback(ContainerDeployer.java:62)

                at org.jboss.arquillian.impl.handler.ContainerDeployer.callback(ContainerDeployer.java:50)

                at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

                ... 32 more

            Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.jboss.weld.exceptions.DefinitionException

                at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:312)

                at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:189)

                at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232)

                at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89)

                at org.jboss.arquillian.container.jbossas.remote_6.JBossASRemoteContainer.deploy(JBossASRemoteContainer.java:154)

                ... 35 more

            Caused by: java.lang.ClassNotFoundException: org.jboss.weld.exceptions.DefinitionException

                at org.jboss.remoting.serialization.ClassLoaderUtility.loadClass(ClassLoaderUtility.java:103)

                at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:94)

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

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

                at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:179)

                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)

                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.readObject(ObjectInputStream.java:351)

                at java.util.TreeMap.buildFromSorted(TreeMap.java:2381)

                at java.util.TreeMap.buildFromSorted(TreeMap.java:2322)

                at java.util.TreeMap.readObject(TreeMap.java:2268)

                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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)

                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

                at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObjectVersion2_2(JavaSerializationManager.java:238)

                at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:138)

                at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:123)

                at org.jboss.invocation.unified.marshall.InvocationUnMarshaller.read(InvocationUnMarshaller.java:59)

                at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedRead(MicroSocketClientInvoker.java:1299)

                at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:907)

                at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:167)

                at org.jboss.remoting.Client.invoke(Client.java:1961)

                at org.jboss.remoting.Client.invoke(Client.java:804)

                at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:304)

                ... 39 more

             

            arquillianAfterClass(com.acme.cdi.InjectionTestCase)  Time elapsed: 0.062 sec  <<< FAILURE!

            org.jboss.arquillian.impl.event.FiredEventException: org.jboss.arquillian.spi.DeploymentException: Could not undeploy test.war

                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.afterClass(EventTestRunnerAdaptor.java:117)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterClass(Arquillian.java:83)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:92)

                at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:227)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:124)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

            Caused by: org.jboss.arquillian.spi.DeploymentException: Could not undeploy test.war

                at org.jboss.arquillian.container.jbossas.remote_6.JBossASRemoteContainer.undeploy(JBossASRemoteContainer.java:213)

                at org.jboss.arquillian.container.jbossas.remote_6.JBossASRemoteContainer.undeploy(JBossASRemoteContainer.java:193)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:61)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:47)

                at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

                ... 32 more

            Caused by: java.lang.IllegalArgumentException: cannot remove element from list

                at sun.net.httpserver.ContextList.remove(ContextList.java:63)

                at sun.net.httpserver.ServerImpl.removeContext(ServerImpl.java:194)

                at sun.net.httpserver.HttpServerImpl.removeContext(HttpServerImpl.java:64)

                at org.jboss.arquillian.container.jbossas.remote_6.JBossASRemoteContainer.undeploy(JBossASRemoteContainer.java:209)

                ... 36 more

             

            arquillianAfterClass(com.acme.cdi.payment.SynchronousPaymentProcessorTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            org.jboss.arquillian.impl.event.FiredEventException: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                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.afterClass(EventTestRunnerAdaptor.java:117)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterClass(Arquillian.java:83)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:92)

                at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:227)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:124)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

            Caused by: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                at org.jboss.arquillian.impl.Validate.stateNotNull(Validate.java:75)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:58)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:47)

                at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

                ... 32 more

             

            arquillianAfterTest(com.acme.cdi.random.RandomTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            java.util.EmptyStackException

                at java.util.Stack.peek(Stack.java:85)

                at java.util.Stack.pop(Stack.java:67)

                at org.jboss.arquillian.impl.EventTestRunnerAdaptor.after(EventTestRunnerAdaptor.java:160)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterTest(Arquillian.java:95)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeMethod(Invoker.java:635)

                at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:723)

                at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1027)

                at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

             

            arquillianAfterClass(com.acme.cdi.random.RandomTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            org.jboss.arquillian.impl.event.FiredEventException: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                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.afterClass(EventTestRunnerAdaptor.java:117)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterClass(Arquillian.java:83)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:92)

                at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:227)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:124)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

            Caused by: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                at org.jboss.arquillian.impl.Validate.stateNotNull(Validate.java:75)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:58)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:47)

                at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

                ... 32 more

             

            arquillianAfterTest(com.acme.ejb.InjectionTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            java.util.EmptyStackException

                at java.util.Stack.peek(Stack.java:85)

                at java.util.Stack.pop(Stack.java:67)

                at org.jboss.arquillian.impl.EventTestRunnerAdaptor.after(EventTestRunnerAdaptor.java:160)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterTest(Arquillian.java:95)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeMethod(Invoker.java:635)

                at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:723)

                at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1027)

                at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

             

            arquillianAfterClass(com.acme.ejb.InjectionTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            org.jboss.arquillian.impl.event.FiredEventException: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                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.afterClass(EventTestRunnerAdaptor.java:117)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterClass(Arquillian.java:83)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:92)

                at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:227)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:124)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

            Caused by: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                at org.jboss.arquillian.impl.Validate.stateNotNull(Validate.java:75)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:58)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:47)

                at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

                ... 32 more

             

            arquillianAfterTest(com.acme.ejb.TemperatureConverterTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            java.util.EmptyStackException

                at java.util.Stack.peek(Stack.java:85)

                at java.util.Stack.pop(Stack.java:67)

                at org.jboss.arquillian.impl.EventTestRunnerAdaptor.after(EventTestRunnerAdaptor.java:160)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterTest(Arquillian.java:95)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeMethod(Invoker.java:635)

                at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:723)

                at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1027)

                at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

             

            arquillianAfterTest(com.acme.ejb.TemperatureConverterTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            java.util.EmptyStackException

                at java.util.Stack.peek(Stack.java:85)

                at java.util.Stack.pop(Stack.java:67)

                at org.jboss.arquillian.impl.EventTestRunnerAdaptor.after(EventTestRunnerAdaptor.java:160)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterTest(Arquillian.java:95)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeMethod(Invoker.java:635)

                at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:723)

                at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1027)

                at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

             

            arquillianAfterTest(com.acme.ejb.TemperatureConverterTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            java.util.EmptyStackException

                at java.util.Stack.peek(Stack.java:85)

                at java.util.Stack.pop(Stack.java:67)

                at org.jboss.arquillian.impl.EventTestRunnerAdaptor.after(EventTestRunnerAdaptor.java:160)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterTest(Arquillian.java:95)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeMethod(Invoker.java:635)

                at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:723)

                at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1027)

                at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

             

            arquillianAfterClass(com.acme.ejb.TemperatureConverterTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            org.jboss.arquillian.impl.event.FiredEventException: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                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.afterClass(EventTestRunnerAdaptor.java:117)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterClass(Arquillian.java:83)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:92)

                at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:227)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:124)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

            Caused by: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                at org.jboss.arquillian.impl.Validate.stateNotNull(Validate.java:75)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:58)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:47)

                at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

                ... 32 more

             

            arquillianAfterTest(com.acme.jms.InjectionTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            java.util.EmptyStackException

                at java.util.Stack.peek(Stack.java:85)

                at java.util.Stack.pop(Stack.java:67)

                at org.jboss.arquillian.impl.EventTestRunnerAdaptor.after(EventTestRunnerAdaptor.java:160)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterTest(Arquillian.java:95)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeMethod(Invoker.java:635)

                at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:723)

                at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1027)

                at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

             

            arquillianAfterClass(com.acme.jms.InjectionTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            org.jboss.arquillian.impl.event.FiredEventException: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                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.afterClass(EventTestRunnerAdaptor.java:117)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterClass(Arquillian.java:83)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:92)

                at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:227)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:124)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

            Caused by: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                at org.jboss.arquillian.impl.Validate.stateNotNull(Validate.java:75)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:58)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:47)

                at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

                ... 32 more

             

            arquillianAfterTest(com.acme.resource.InjectionTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            java.util.EmptyStackException

                at java.util.Stack.peek(Stack.java:85)

                at java.util.Stack.pop(Stack.java:67)

                at org.jboss.arquillian.impl.EventTestRunnerAdaptor.after(EventTestRunnerAdaptor.java:160)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterTest(Arquillian.java:95)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeMethod(Invoker.java:635)

                at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:723)

                at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1027)

                at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

             

            arquillianAfterClass(com.acme.resource.InjectionTestCase)  Time elapsed: 0 sec  <<< FAILURE!

            org.jboss.arquillian.impl.event.FiredEventException: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                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.afterClass(EventTestRunnerAdaptor.java:117)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterClass(Arquillian.java:83)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:92)

                at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:227)

                at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:124)

                at org.testng.TestRunner.runWorkers(TestRunner.java:1030)

                at org.testng.TestRunner.privateRun(TestRunner.java:709)

                at org.testng.TestRunner.run(TestRunner.java:579)

                at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)

                at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

            Caused by: java.lang.IllegalStateException: No org.jboss.shrinkwrap.api.Archive found in context

                at org.jboss.arquillian.impl.Validate.stateNotNull(Validate.java:75)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:58)

                at org.jboss.arquillian.impl.handler.ContainerUndeployer.callback(ContainerUndeployer.java:47)

                at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)

                ... 32 more

             

            arquillianAfterSuite(com.acme.resource.InjectionTestCase)  Time elapsed: 0.047 sec  <<< FAILURE!

            java.util.EmptyStackException

                at java.util.Stack.peek(Stack.java:85)

                at java.util.Stack.pop(Stack.java:67)

                at org.jboss.arquillian.impl.EventTestRunnerAdaptor.afterSuite(EventTestRunnerAdaptor.java:85)

                at org.jboss.arquillian.testng.Arquillian.arquillianAfterSuite(Arquillian.java:70)

                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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)

                at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:446)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:162)

                at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:92)

                at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)

                at org.testng.SuiteRunner.run(SuiteRunner.java:193)

                at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)

                at org.testng.TestNG.runSuitesLocally(TestNG.java:879)

                at org.testng.TestNG.run(TestNG.java:787)

                at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)

                at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)

                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)

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

                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

            • 3. Re: Unable to run  TestNG with arquillian1.0.0.Alpha4 Example
              Aslak Knutsen Master

              It's getting a DefinitionException during CDI deployment. What does server.log say ?

              • 4. Re: Unable to run  TestNG with arquillian1.0.0.Alpha4 Example
                gopi balagala Newbie

                Please find the below server.log Exception

                 

                 

                 

                2011-03-15 21:21:25,900 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (WorkerThread#0[127.0.0.1:2613]) Error installing to Start: name=vfszip:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/_WebBeansBootstrapBean state=Create

                java.lang.NoClassDefFoundError: Ljavax/enterprise/inject/spi/BeanManager;

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

                    at java.lang.Class.privateGetDeclaredFields(Class.java:2291)

                    at java.lang.Class.getDeclaredFields(Class.java:1743)

                    at org.jboss.webbeans.introspector.jlr.AnnotatedClassImpl.<init>(AnnotatedClassImpl.java:127)

                    at org.jboss.webbeans.introspector.jlr.AnnotatedClassImpl.of(AnnotatedClassImpl.java:108)

                    at org.jboss.webbeans.resources.ClassTransformer$1.call(ClassTransformer.java:36)

                    at org.jboss.webbeans.resources.ClassTransformer$1.call(ClassTransformer.java:32)

                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)

                    at org.jboss.webbeans.util.collections.ConcurrentCache.putIfAbsent(ConcurrentCache.java:125)

                    at org.jboss.webbeans.resources.ClassTransformer.classForName(ClassTransformer.java:31)

                    at org.jboss.webbeans.bootstrap.BeanDeployer.addClass(BeanDeployer.java:82)

                    at org.jboss.webbeans.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:91)

                    at org.jboss.webbeans.bootstrap.WebBeansBootstrap.registerBeans(WebBeansBootstrap.java:152)

                    at org.jboss.webbeans.bootstrap.WebBeansBootstrap.boot(WebBeansBootstrap.java:203)

                    at org.jboss.webbeans.bootstrap.api.helpers.BootstrapBean.boot(BootstrapBean.java:120)

                    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.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)

                    at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)

                    at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)

                    at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)

                    at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)

                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

                    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)

                    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)

                    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)

                    at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

                    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

                    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)

                    at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:263)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)

                    at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)

                    at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)

                    at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)

                    at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)

                    at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)

                Caused by: java.lang.ClassNotFoundException: javax.enterprise.inject.spi.BeanManager from BaseClassLoader@89d22c{VFSClassLoaderPolicy@456df5{name=vfszip:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/ domain=ClassLoaderDomain@1984f7d{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@14c1103} roots=[MemoryContextHandler@3549019[path= context=vfsmemory://4sl224p-1cxurx-glb00jpb-1-glb0276n-ca real=vfsmemory://4sl224p-1cxurx-glb00jpb-1-glb0276n-ca], DelegatingHandler@22145362[path=test.ear/lib/arquillian-core.jar context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/lib/arquillian-core.jar], DelegatingHandler@11354269[path=test.ear/lib/arquillian-jboss-testenrichers.jar context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/lib/arquillian-jboss-testenrichers.jar], DelegatingHandler@7151740[path=test.ear/lib/arquillian-testng.jar context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/lib/arquillian-testng.jar], DelegatingHandler@23222531[path=test.ear context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear], DelegatingHandler@7334305[path=test.ear/test.jar context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/test.jar], DelegatingHandler@10544523[path=webbeans.deployer/lib-int/webbeans-core.jar context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deployers/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deployers/webbeans.deployer/lib-int/webbeans-core.jar], FileHandler@20852993[path=webbeans.deployer/lib-int/faces context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deployers/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deployers/webbeans.deployer/lib-int/faces/]]  delegates=null exported=[org.jboss.shrinkwrap.impl.base.exporter, org.testng.collections, org.testng.internal.thread, com.google.inject.internal.cglib.core, org.jboss.arquillian.impl.context, org.jboss.shrinkwrap.api.serialization, org.jboss.shrinkwrap.impl.base.io, com.google.inject.internal, org.testng.internal.annotations, org.jboss.webbeans.bean, org.jboss.shrinkwrap.api.formatter, org.jboss.webbeans.util.collections.multi, org.jboss.webbeans.xml, org.jboss.webbeans.util, org.jboss.webbeans.util.collections, org.jboss.shrinkwrap.api.importer, org.jboss.webbeans.xml.checker.beanchildren.impl, org.jboss.webbeans.context.beanstore, org.jboss.arquillian.impl, org.jboss.webbeans.injection.resolution, com.acme.ejb, org.jboss.webbeans.bean.ee.jms, org.testng.reporters.util, com.google.inject.internal.asm, org.jboss.webbeans.util.reflection, org.jboss.shrinkwrap.impl.base.importer, org.jboss.webbeans.xml.checker.beanchildren, org.jboss.webbeans.introspector.jlr, org.jboss.shrinkwrap.impl.base.filter, org.testng.log, org.jboss.webbeans.el, org.testng.internal, org.jboss.arquillian.spi.event.suite, org.jboss.webbeans.bootstrap, org.jboss.webbeans.ejb, org.jboss.arquillian.testenricher.resource, com.google.inject.internal.cglib.proxy, org.jboss.arquillian.impl.handler, org.jboss.shrinkwrap.api.exporter, org.jboss.webbeans, org.jboss.arquillian.api, ee, META-INF.services, org.testng.log4testng, org.jboss.webbeans.introspector, org.testng.internal.version, org.jboss.webbeans.xml.checker.beanchildren.ext, org.testng.remote, com.google.inject, org.jboss.webbeans.xml.registrator.bean.ext, org.testng.remote.strprotocol, org.jboss.arquillian.spi.event, org.jboss.arquillian.testenricher.ejb, com.acme.cdi, org.jboss.webbeans.bean.standard, org.jboss.webbeans.xml.registrator.bean, org.testng.util, org.jboss.shrinkwrap.api, org.jboss.shrinkwrap.api.spec, org.jboss.webbeans.bean.ee, org.jboss.webbeans.persistence, com.google.inject.internal.cglib.reflect, org.testng.remote.adapter, META-INF.maven.org.jboss.webbeans.webbeans-core, org.jboss.shrinkwrap.impl.base.serialization, org.jboss.shrinkwrap.impl.base.asset, org.jboss.shrinkwrap.impl.base.spec, org.jboss.arquillian.testng, org.jboss.shrinkwrap.impl.base.container, org.jboss.shrinkwrap.spi, org.jboss.shrinkwrap.impl.base, org.testng.reporters, org.jboss.arquillian.impl.event, org.testng.xml, org.testng.annotations, org.jboss.webbeans.xml.registrator.bean.impl, org.jboss.webbeans.jsf, org.testng, org.jboss.webbeans.resources, org.jboss.webbeans.context, org.jboss.webbeans.event, org.jboss.webbeans.conversation, org.jboss.webbeans.injection, com.google.inject.name, org.jboss.webbeans.literal, com.google.inject.spi, org.jboss.webbeans.servlet, org.jboss.shrinkwrap.impl.base.path, org.jboss.arquillian.spi.event.container, org.jboss.webbeans.metadata, org.jboss.arquillian.spi, org.testng.internal.remote, org.jboss.webbeans.bean.proxy, org.jboss.arquillian.spi.util, com.google.inject.matcher, org.jboss.shrinkwrap.api.container, META-INF, org.jboss.shrinkwrap.api.asset, com.google.inject.binder, com.google.inject.util] <IMPORT-ALL>NON_EMPTY}}

                    at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)

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

                    ... 67 more

                2011-03-15 21:21:26,024 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (WorkerThread#0[127.0.0.1:2613]) deploy, ctxPath=/arquillian-protocol

                2011-03-15 21:21:26,055 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (WorkerThread#0[127.0.0.1:2613]) Failed to complete command: [start] for deployment: names=[test.ear], copyContent=true

                org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

                 

                DEPLOYMENTS IN ERROR:

                  Deployment "vfszip:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/_WebBeansBootstrapBean" is in error due to the following reason(s): java.lang.ClassNotFoundException: javax.enterprise.inject.spi.BeanManager from BaseClassLoader@89d22c{VFSClassLoaderPolicy@456df5{name=vfszip:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/ domain=ClassLoaderDomain@1984f7d{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@14c1103} roots=[MemoryContextHandler@3549019[path= context=vfsmemory://4sl224p-1cxurx-glb00jpb-1-glb0276n-ca real=vfsmemory://4sl224p-1cxurx-glb00jpb-1-glb0276n-ca], DelegatingHandler@22145362[path=test.ear/lib/arquillian-core.jar context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/lib/arquillian-core.jar], DelegatingHandler@11354269[path=test.ear/lib/arquillian-jboss-testenrichers.jar context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/lib/arquillian-jboss-testenrichers.jar], DelegatingHandler@7151740[path=test.ear/lib/arquillian-testng.jar context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/lib/arquillian-testng.jar], DelegatingHandler@23222531[path=test.ear context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear], DelegatingHandler@7334305[path=test.ear/test.jar context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/test.jar], DelegatingHandler@10544523[path=webbeans.deployer/lib-int/webbeans-core.jar context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deployers/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deployers/webbeans.deployer/lib-int/webbeans-core.jar], FileHandler@20852993[path=webbeans.deployer/lib-int/faces context=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deployers/ real=file:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deployers/webbeans.deployer/lib-int/faces/]]  delegates=null exported=[org.jboss.shrinkwrap.impl.base.exporter, org.testng.collections, org.testng.internal.thread, com.google.inject.internal.cglib.core, org.jboss.arquillian.impl.context, org.jboss.shrinkwrap.api.serialization, org.jboss.shrinkwrap.impl.base.io, com.google.inject.internal, org.testng.internal.annotations, org.jboss.webbeans.bean, org.jboss.shrinkwrap.api.formatter, org.jboss.webbeans.util.collections.multi, org.jboss.webbeans.xml, org.jboss.webbeans.util, org.jboss.webbeans.util.collections, org.jboss.shrinkwrap.api.importer, org.jboss.webbeans.xml.checker.beanchildren.impl, org.jboss.webbeans.context.beanstore, org.jboss.arquillian.impl, org.jboss.webbeans.injection.resolution, com.acme.ejb, org.jboss.webbeans.bean.ee.jms, org.testng.reporters.util, com.google.inject.internal.asm, org.jboss.webbeans.util.reflection, org.jboss.shrinkwrap.impl.base.importer, org.jboss.webbeans.xml.checker.beanchildren, org.jboss.webbeans.introspector.jlr, org.jboss.shrinkwrap.impl.base.filter, org.testng.log, org.jboss.webbeans.el, org.testng.internal, org.jboss.arquillian.spi.event.suite, org.jboss.webbeans.bootstrap, org.jboss.webbeans.ejb, org.jboss.arquillian.testenricher.resource, com.google.inject.internal.cglib.proxy, org.jboss.arquillian.impl.handler, org.jboss.shrinkwrap.api.exporter, org.jboss.webbeans, org.jboss.arquillian.api, ee, META-INF.services, org.testng.log4testng, org.jboss.webbeans.introspector, org.testng.internal.version, org.jboss.webbeans.xml.checker.beanchildren.ext, org.testng.remote, com.google.inject, org.jboss.webbeans.xml.registrator.bean.ext, org.testng.remote.strprotocol, org.jboss.arquillian.spi.event, org.jboss.arquillian.testenricher.ejb, com.acme.cdi, org.jboss.webbeans.bean.standard, org.jboss.webbeans.xml.registrator.bean, org.testng.util, org.jboss.shrinkwrap.api, org.jboss.shrinkwrap.api.spec, org.jboss.webbeans.bean.ee, org.jboss.webbeans.persistence, com.google.inject.internal.cglib.reflect, org.testng.remote.adapter, META-INF.maven.org.jboss.webbeans.webbeans-core, org.jboss.shrinkwrap.impl.base.serialization, org.jboss.shrinkwrap.impl.base.asset, org.jboss.shrinkwrap.impl.base.spec, org.jboss.arquillian.testng, org.jboss.shrinkwrap.impl.base.container, org.jboss.shrinkwrap.spi, org.jboss.shrinkwrap.impl.base, org.testng.reporters, org.jboss.arquillian.impl.event, org.testng.xml, org.testng.annotations, org.jboss.webbeans.xml.registrator.bean.impl, org.jboss.webbeans.jsf, org.testng, org.jboss.webbeans.resources, org.jboss.webbeans.context, org.jboss.webbeans.event, org.jboss.webbeans.conversation, org.jboss.webbeans.injection, com.google.inject.name, org.jboss.webbeans.literal, com.google.inject.spi, org.jboss.webbeans.servlet, org.jboss.shrinkwrap.impl.base.path, org.jboss.arquillian.spi.event.container, org.jboss.webbeans.metadata, org.jboss.arquillian.spi, org.testng.internal.remote, org.jboss.webbeans.bean.proxy, org.jboss.arquillian.spi.util, com.google.inject.matcher, org.jboss.shrinkwrap.api.container, META-INF, org.jboss.shrinkwrap.api.asset, com.google.inject.binder, com.google.inject.util] <IMPORT-ALL>NON_EMPTY}}

                 

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)

                    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)

                    at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)

                    at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)

                    at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)

                    at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)

                    at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)

                    at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)

                2011-03-15 21:21:26,071 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (WorkerThread#0[127.0.0.1:2615]) Stop, [test.ear]

                2011-03-15 21:21:26,071 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (WorkerThread#0[127.0.0.1:2615]) undeploy, ctxPath=/arquillian-protocol

                2011-03-15 21:21:26,242 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (WorkerThread#0[127.0.0.1:2615]) Stopping jboss.j2ee:ear=test.ear,jar=test.jar,name=GreetingManagerBean,service=EJB3

                2011-03-15 21:21:26,242 INFO  [org.jboss.ejb3.EJBContainer] (WorkerThread#0[127.0.0.1:2615]) STOPPED EJB: com.acme.ejb.GreetingManagerBean ejbName: GreetingManagerBean

                2011-03-15 21:21:26,305 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (WorkerThread#0[127.0.0.1:2615]) End stop, [vfszip:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/deploy/test.ear/]

                2011-03-15 21:21:26,320 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (WorkerThread#0[127.0.0.1:2617]) Remove, [test.ear]

                2011-03-15 21:21:26,352 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (WorkerThread#0[127.0.0.1:2619]) Stop, [test.ear]

                2011-03-15 21:21:26,383 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (WorkerThread#0[127.0.0.1:2619]) Failed to complete command: [stop] for deployment: names=[test.ear], copyContent=true

                org.jboss.profileservice.spi.NoSuchDeploymentException: Failed to find deployment in file: test.ear

                    at org.jboss.system.server.profileservice.repository.AbstractDeploymentRepository.getDeployment(AbstractDeploymentRepository.java:134)

                    at org.jboss.profileservice.management.upload.remoting.DeployHandler.scheduleStop(DeployHandler.java:156)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.stop(AbstractDeployHandler.java:308)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.stop(AbstractDeployHandler.java:297)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:181)

                    at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)

                    at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)

                    at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)

                    at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)

                    at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)

                2011-03-15 21:21:26,398 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (WorkerThread#0[127.0.0.1:2621]) Remove, [test.ear]

                2011-03-15 21:21:26,398 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (WorkerThread#0[127.0.0.1:2621]) Failed to complete command: [remove] for deployment: names=[test.ear], copyContent=true

                org.jboss.profileservice.spi.NoSuchDeploymentException: Failed to find deployment in file: test.ear

                    at org.jboss.system.server.profileservice.repository.AbstractDeploymentRepository.getDeployment(AbstractDeploymentRepository.java:134)

                    at org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.removeDeployment(BasicDeploymentRepository.java:261)

                    at org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.removeDeployment(BasicDeploymentRepository.java:229)

                    at org.jboss.profileservice.management.upload.remoting.DeployHandler.removeDeployment(DeployHandler.java:176)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.remove(AbstractDeployHandler.java:333)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:185)

                    at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)

                    at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)

                    at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)

                    at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)

                    at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)

                2011-03-15 21:21:26,430 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (WorkerThread#0[127.0.0.1:2623]) Remove, [test.ear]

                2011-03-15 21:21:26,430 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] (WorkerThread#0[127.0.0.1:2623]) Failed to complete command: [remove] for deployment: names=[test.ear], copyContent=true

                org.jboss.profileservice.spi.NoSuchDeploymentException: Failed to find deployment in file: test.ear

                    at org.jboss.system.server.profileservice.repository.AbstractDeploymentRepository.getDeployment(AbstractDeploymentRepository.java:134)

                    at org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.removeDeployment(BasicDeploymentRepository.java:261)

                    at org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.removeDeployment(BasicDeploymentRepository.java:229)

                    at org.jboss.profileservice.management.upload.remoting.DeployHandler.removeDeployment(DeployHandler.java:176)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.remove(AbstractDeployHandler.java:333)

                    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:185)

                    at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)

                    at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)

                    at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)

                    at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)

                    at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)

                2011-03-15 21:24:47,645 INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] (JBoss Shutdown Hook) Runtime shutdown hook called, forceHalt: true

                • 5. Re: Unable to run  TestNG with arquillian1.0.0.Alpha4 Example
                  Aslak Knutsen Master

                  A ha! Your mixing JBoss AS versions. The example profile your running with Arquillian is intended to be ran on a JBoss AS 6.0.0 server, but you are running it on a JBoss AS 5.1.0.GA server.

                   

                  p:/D:/p7106516/java_related/JBOSS/jboss-5.1.0.GA/server/default/

                   

                  Try using the jbossas-remote-5.1 profile instead, or switch to a JBoss AS 6.0.0.Final server.

                   

                  (Or actaully it's intended to run on a JBoss AS 6.0.0.M4 server, which was the one out when it was released. You might need to change the version of client lib in the examples/junit/pom)

                  • 6. Re: Unable to run  TestNG with arquillian1.0.0.Alpha4 Example
                    gopi balagala Newbie

                    Sorry I pasted wrong server log,

                     

                                     But Its working fine in Jboss-6.0.0.Final

                     

                              Thanks a lot really your helped me. I will give you points how I will don't No.

                     

                                 Gopi Balagala.