1 2 Previous Next 16 Replies Latest reply on Apr 28, 2011 2:05 AM by Adam Dec

    Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem

    Adam Dec Newbie

      Hi!

       

      I am having problems with Arqillan (1.0.0.Alpha5), TestNG (6.+) and JBoss 5.1.0 GA.

      In my pom.xml file I 've made a profile:

       

          <properties>

              <arquillian.version>1.0.0.Alpha5</arquillian.version>

          </properties>

       

          <profiles>

              <profile>

                  <id>jbossas-remote-5</id>

                  <dependencies>

                      <dependency>

                          <groupId>org.jboss.jbossas</groupId>

                          <artifactId>jboss-as-client</artifactId>

                          <version>5.1.0.GA</version>

                          <type>pom</type>

                          <scope>test</scope>

                      </dependency>

                      <dependency>

                          <groupId>org.jboss.arquillian.container</groupId>

                          <artifactId>arquillian-jbossas-remote-5.1</artifactId>

                          <version>${arquillian.version}</version>

                      </dependency>

                  </dependencies>

              </profile>

          </profiles>

       

      in my <dependecies/> section I've added:

       

          <dependency>

              <groupId>org.jboss.arquillian</groupId>

              <artifactId>arquillian-testng</artifactId>

              <version>${arquillian.version}</version>

              <scope>test</scope>

          </dependency>

       

      When I am running some sample test I get an exception:

       

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

      ...

      Caused by: javax.naming.NameNotFoundException: ProfileService

       

      I start my JBoss with script:

      set JBOSS_HOME=c:\servers\jboss-5.1.0.GA-node1-cii

      cd jboss-5.1.0.GA-node1-cii\bin

      run.bat -c all -b 10.132.26.29 -Djboss.messaging.ServerPeerID=1 -g CLUSTER -u 234.6.6.6

       

      In my project I've made 'resources-jbossas' directory with two files:

      - arquillian.xml

       

      <?xml version="1.0" encoding="UTF-8"?>

      <arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian-1.0.xsd">

          <engine>

              <property name="deploymentExportPath">target/</property>

          </engine>

          <container qualifier="jbossas" default="true">

              <configuration>

                  <property name="profileName">all</property>

                  <property name="providerUrl">jnp://10.132.26.29:1100</property>

                  <property name="urlPkgPrefix">org.jboss.naming:org.jnp.interfaces</property>

                  <property name="contextFactory">org.jnp.interfaces.NamingContextFactory</property>

              </configuration>

          </container>

      </arquillian>

       

      - jndi.properties

       

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory

      java.naming.factory.url.pkgs=org.jboss.naming\:org.jnp.interfaces

      java.naming.provider.url=jnp://10.132.26.29:1100

        • 1. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
          Aslak Knutsen Master

          odd, which profile/configuration is node1-cli based on ?

           

           

          fyi: the jndi.properties file shouldn't be needed..

          • 3. Re: Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
            Karel Piwko Master

            Hi Adam,

             

            Is the directory resources-jbossas on the test classpath, so your arquillian.xml custom configuration can be fetched?

            E.g. is your Maven profile defining a section like

            <build>
                <testResources>
                    <testResource>
                         <directory>src/test/resources-jbossas</directory>
                    </testResource>
                </testResources>
            
                ...
            </build>
            

             

            Karel

            • 4. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
              Adam Dec Newbie

              hmmm it could be....but when no configuration is fetched then..jndi.properties file is used to get connection...Am I wrong on this?

              • 5. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
                Karel Piwko Master

                jndi.properties is no longer used in Alpha5. Still, since you put jndi.properties into resources-jbossas directory, which is probably not on the classpath, it won't be available in Arquillian test execution phase neither.

                 

                When no configuration file (arquillian.xml) is found, Arquillian uses default configuration, which don't match your remote container configuration.

                • 6. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
                  Aslak Knutsen Master

                  In Alpha5 this has changed, so it uses the container/configuration to get the jndi information.

                   

                  profileName does not need to be set, this is a missunderstanding of the API in arquillian.  https://issues.jboss.org/browse/ARQ-365

                  • 7. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
                    Adam Dec Newbie

                    Thanks!!! I will check that and give You some feedback soon!!

                    • 8. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
                      Adam Dec Newbie

                      I've moved arquillan.xml file to directory: src/test/resources and I am getting:

                       

                      Running TestSuite

                      2011-04-27 07:55:50 org.jboss.arquillian.impl.client.container.ContainerRegistry

                      Creator getActivatedConfiguration

                      INFO: Could not read active container configuration: null

                       

                      I run the test from command line using: mvn clean test -Pjbossas-remote-5

                      • 9. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
                        Aslak Knutsen Master

                        Adam Dec wrote:

                         

                        I've moved arquillan.xml file to directory: src/test/resources and I am getting:

                         

                        Running TestSuite

                        2011-04-27 07:55:50 org.jboss.arquillian.impl.client.container.ContainerRegistry

                        Creator getActivatedConfiguration

                        INFO: Could not read active container configuration: null

                         

                        I run the test from command line using: mvn clean test -Pjbossas-remote-5

                        It just says that you have not defined -Darquillian.launch via properties or as a file, so it will default.

                        • 10. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
                          Adam Dec Newbie

                          My exception is:

                           

                          <test-method status="FAIL" signature="arquillianBeforeSuite()" name="arquillianBeforeSuite" is-config="true" duration-ms="0" started-at="2011-04-27T09:16:36Z" finished-at="2011-04-27T09:16:36Z">

                                    <exception class="org.jboss.arquillian.spi.client.container.LifecycleException">

                                      <message>

                                        <![CDATA[Could not connect to container]]>

                                      </message>

                                      <full-stacktrace>

                                        <![CDATA[org.jboss.arquillian.spi.client.container.LifecycleException: Could not connect to container

                              at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.start(JBossASRemoteContainer.java:83)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController$5.perform(ContainerLifecycleController.java:145)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController$5.perform(ContainerLifecycleController.java:135)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:183)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:134)

                              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.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

                              at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)

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

                              at org.jboss.arquillian.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:78)

                              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.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

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

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:107)

                              at org.jboss.arquillian.impl.core.EventImpl.fire(EventImpl.java:68)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:84)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:76)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController.forEachContainer(ContainerLifecycleController.java:176)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController.startContainers(ContainerLifecycleController.java:86)

                              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.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

                              at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)

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

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:107)

                              at org.jboss.arquillian.impl.core.EventImpl.fire(EventImpl.java:68)

                              at org.jboss.arquillian.impl.client.ContainerEventController.execute(ContainerEventController.java:56)

                              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.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

                              at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)

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

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

                              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.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

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

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:107)

                              at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:59)

                              at org.jboss.arquillian.testng.Arquillian.arquillianBeforeSuite(Arquillian.java:55)

                              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.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)

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

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

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

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

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

                              at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:64)

                              at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)

                              at org.testng.TestNG.runSuitesSequentially(TestNG.java:996)

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

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

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

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

                              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: javax.naming.NameNotFoundException: ProfileService

                              at org.jboss.ha.jndi.HAJNDI.lookupRemotely(HAJNDI.java:265)

                              at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:206)

                              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.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:209)

                              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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)

                              at sun.rmi.transport.Transport$1.run(Transport.java:159)

                              at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

                              at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

                              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

                              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

                              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                              at java.lang.Thread.run(Thread.java:619)

                              at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)

                              at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)

                              at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)

                              at org.jboss.ha.framework.server.HARMIServerImpl_Stub.invoke(Unknown Source)

                              at org.jboss.ha.framework.interfaces.HARMIClient.invokeRemote(HARMIClient.java:225)

                              at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:327)

                              at $Proxy20.lookup(Unknown Source)

                              at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)

                              at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)

                              at javax.naming.InitialContext.lookup(InitialContext.java:392)

                              at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.initDeploymentManager(JBossASRemoteContainer.java:197)

                              at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.start(JBossASRemoteContainer.java:79)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController$5.perform(ContainerLifecycleController.java:145)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController$5.perform(ContainerLifecycleController.java:135)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:183)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:134)

                              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.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

                              at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)

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

                              at org.jboss.arquillian.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:78)

                              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.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

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

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:106)

                              at org.jboss.arquillian.impl.core.EventImpl.fire(EventImpl.java:67)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:83)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:76)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController.forEachContainer(ContainerLifecycleController.java:176)

                              at org.jboss.arquillian.impl.client.container.ContainerLifecycleController.startContainers(ContainerLifecycleController.java:75)

                              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.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

                              at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)

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

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:106)

                              at org.jboss.arquillian.impl.core.EventImpl.fire(EventImpl.java:67)

                              at org.jboss.arquillian.impl.client.ContainerEventController.execute(ContainerEventController.java:55)

                              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.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

                              at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)

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

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

                              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.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)

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

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)

                              at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:106)

                              at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:58)

                              at org.jboss.arquillian.testng.Arquillian.arquillianBeforeSuite(Arquillian.java:55)

                              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.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)

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

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

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

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

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

                              at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

                              at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

                              at org.testng.TestNG.runSuitesSequentially(TestNG.java:995)

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

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

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

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

                              ... 7 more

                          ]]>

                                      </full-stacktrace>

                                    </exception>

                                  </test-method>

                          • 11. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
                            Adam Dec Newbie

                            Where do I have to put 'arquillian.xml' file in a project?

                            • 12. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
                              Adam Dec Newbie

                              Does anyone have some simple maven project??? I'd gladly see into it....

                              • 13. Re: Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
                                Karel Piwko Master

                                Hi Adam,

                                 

                                there's a bunch of Maven projects at https://github.com/arquillian/arquillian-showcase and https://github.com/arquillian/arquillian-examples.

                                 

                                 

                                arquillian.xml file should be put to a directory which Maven includes on the test classpath if you don't want to fiddle with Maven configuration, which is src/test/resources. Modified Maven configuration is shown for instance here https://github.com/arquillian/arquillian-showcase/tree/master/jpa

                                 

                                Karel

                                • 14. Arquillian 1.0.0.Alpha5 and JBoss 5.1.0 GA connection problem
                                  Aslak Knutsen Master

                                  I don't think it's related to arquillian configuration.

                                   

                                  For some reason it can't find the ProfileService in JNDI.

                                   

                                  Caused by: javax.naming.NameNotFoundException: ProfileService

                                      at org.jboss.ha.jndi.HAJNDI.lookupRemotely(HAJNDI.java:265)

                                      at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:206)

                                   

                                  Try to logon to your server using the jmx-console, and look at the JNDIView bean, list the entries.

                                   

                                  It should be there in the Global namespace..

                                  1 2 Previous Next