9 Replies Latest reply on Sep 24, 2013 2:58 PM by Rafael Pestano

    Help setup functional tests with Graphene 2.x

    Rafael Pestano Novice

      Hi everyone,

       

      i'm trying to setup my functional tests but have no success, i have a working arquillian project for integration tests but as soon i add functional test dependencies(drone and graphene) i got the error:

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

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

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

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

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

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

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

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

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

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

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

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

      Caused by: java.lang.reflect.InvocationTargetException

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

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:525)

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

          ... 10 more

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

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

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

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

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

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

          ... 15 more

      Caused by: java.lang.reflect.InvocationTargetException

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

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:525)

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

          ... 19 more

      Caused by: java.lang.NoClassDefFoundError: org/jboss/arquillian/drone/spi/Enhancer

          at org.jboss.arquillian.graphene.GrapheneExtension.register(GrapheneExtension.java:53)

          at org.jboss.arquillian.core.impl.loadable.LoadableExtensionLoader.load(LoadableExtensionLoader.java:78)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

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

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

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

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

          ... 24 more

      Caused by: java.lang.ClassNotFoundException: org.jboss.arquillian.drone.spi.Enhancer

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

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

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

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

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

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

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

          ... 37 more

       

       

       

      here is my working dependencies for integration tests, without graphene/drone (only arquillian stuff):

          <dependencies>

          

              <dependency>

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

                  <artifactId>arquillian-junit-container</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

                  <groupId>javax.enterprise</groupId>

                  <artifactId>cdi-api</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

                  <groupId>org.jboss.spec.javax.annotation</groupId>

                  <artifactId>jboss-annotations-api_1.1_spec</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

                  <groupId>org.jboss.spec.javax.ejb</groupId>

                  <artifactId>jboss-ejb-api_3.1_spec</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

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

                  <artifactId>arquillian-protocol-servlet</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

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

                  <artifactId>arquillian-persistence-impl</artifactId>

                  <version>1.0.0.Alpha6</version>

                  <scope>test</scope>

              </dependency>

       

              <dependency>

                  <groupId>org.jboss.as</groupId>

                  <artifactId>jboss-as-arquillian-container-managed</artifactId>

                  <scope>test</scope>

                  <version>7.1.3.Final</version>

              </dependency>

              <dependency>

                  <groupId>org.jboss.shrinkwrap.resolver</groupId>

                  <artifactId>shrinkwrap-resolver-impl-maven</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

                  <groupId>commons-collections</groupId>

                  <artifactId>commons-collections</artifactId>

                  <version>3.2.1</version>

                  <scope>test</scope>

              </dependency>

              <!-- end arquillian -->

              <dependency>

                  <groupId>javax</groupId>

                  <artifactId>javaee-api</artifactId>

                  <version>6.0</version>

                  <scope>provided</scope>

              </dependency>

       

          </dependencies>

       

          <dependencyManagement>

              <dependencies>

                  <dependency>

                      <groupId>org.jboss.bom</groupId>

                      <artifactId>jboss-javaee-6.0-with-tools</artifactId>

                      <version>1.0.6.Final</version>

                      <type>pom</type>

                      <scope>import</scope>

                  </dependency>

       

              </dependencies>

          </dependencyManagement>

       

        

      and now my modified dependencies for functional tests(which throws the exception):

       

      <dependency>

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

                  <artifactId>arquillian-junit-container</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

                  <groupId>javax.enterprise</groupId>

                  <artifactId>cdi-api</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

                  <groupId>org.jboss.spec.javax.annotation</groupId>

                  <artifactId>jboss-annotations-api_1.1_spec</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

                  <groupId>org.jboss.spec.javax.ejb</groupId>

                  <artifactId>jboss-ejb-api_3.1_spec</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

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

                  <artifactId>arquillian-protocol-servlet</artifactId>

                  <scope>test</scope>

              </dependency>

              <dependency>

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

                  <artifactId>arquillian-persistence-impl</artifactId>

                  <version>1.0.0.Alpha6</version>

                  <scope>test</scope>

              </dependency>

       

              <!-- drone + graphene -->

       

              <dependency>

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

                  <artifactId>arquillian-graphene</artifactId>

                  <version>2.0.0.Alpha5</version>

                  <type>pom</type>

                  <scope>test</scope>

              </dependency>

              <dependency>

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

                  <artifactId>arquillian-drone-webdriver-depchain</artifactId>

                  <scope>test</scope>

                  <type>pom</type>

              </dependency>

       

              <dependency>

                  <groupId>org.jboss.as</groupId>

                  <artifactId>jboss-as-arquillian-container-managed</artifactId>

                  <scope>test</scope>

                  <!-- <version>7.1.3.Final</version> -->

              </dependency>

       

              <dependency>

                  <groupId>org.jboss.shrinkwrap.resolver</groupId>

                  <artifactId>shrinkwrap-resolver-depchain</artifactId>

                  <scope>test</scope>

                  <type>pom</type>

              </dependency>

              <dependency>

                  <groupId>commons-collections</groupId>

                  <artifactId>commons-collections</artifactId>

                  <version>3.2.1</version>

                  <scope>test</scope>

              </dependency>

              <!-- fim dependencias arquillian -->

              <dependency>

                  <groupId>javax</groupId>

                  <artifactId>javaee-api</artifactId>

                  <version>6.0</version>

                  <scope>provided</scope>

              </dependency>

       

          </dependencies>

       

          <dependencyManagement>

              <dependencies>

                  <dependency>

                      <groupId>org.jboss.bom</groupId>

                      <artifactId>jboss-javaee-6.0-with-tools</artifactId>

                      <version>1.0.6.Final</version>

                      <type>pom</type>

                      <scope>import</scope>

                  </dependency>

                  <dependency>

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

                      <artifactId>arquillian-bom</artifactId>

                      <version>1.1.1.Final</version>

                      <type>pom</type>

                      <scope>import</scope>

                  </dependency>

                  <dependency>

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

                      <artifactId>arquillian-drone-bom</artifactId>

                      <version>1.2.0.Beta1</version>

                      <type>pom</type>

                      <scope>import</scope>

                  </dependency>

                  <dependency>

                      <groupId>org.jboss.shrinkwrap.resolver</groupId>

                      <artifactId>shrinkwrap-resolver-bom</artifactId>

                      <version>2.1.0-alpha-1</version>

                      <type>pom</type>

                      <scope>import</scope>

                  </dependency>

              </dependencies>

          </dependencyManagement>

       

      my arquillian.xml is as folows:

       

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

          xmlns="http://jboss.org/schema/arquillian"

          xsi:schemaLocation="

              http://jboss.org/schema/arquillian

              http://jboss.org/schema/arquillian/arquillian_1_0.xsd">

       

          <!-- Force the use of the Servlet 3.0 protocol with all containers, as it is the most mature -->

       

          <defaultProtocol type="Servlet 3.0" />

       

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

              <configuration>

                      <property name="jbossHome">C:\EAP-MODELO-6.1\jboss-eap-6.1</property>

      <!--             <property name="jbossHome">/opt/jboss-eap-6.1</property> -->

                  <property name="outputToConsole">true</property>

                  <property name="allowConnectingToRunningServer">true</property>

              </configuration>

          </container>

          <extension qualifier="persistence-dbunit">

              <property name="schema">T_PRO_APM_DBA</property>

          </extension>

         

      <!--     <extension qualifier="systemproperties"> -->

      <!--         <property name="prefix">*</property> -->

      <!--     </extension> -->

          <extension qualifier="drone">

              <!-- drone properties here-->

          </extension>

           <extension qualifier="webdriver">

              <property name="browser">firefox</property>

              <property name="remoteReusable">true</property>

          </extension>

          <extension qualifier="selenium-server">

              <property name="port">14445</property>

              <property name="browserSessionReuse">true</property>

          </extension>

      </arquillian>

       

      my dependency tree:

       

      [INFO] Scanning for projects...

      [INFO]                                                                        

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

      [INFO] Building apm-arq4 0.9.8-SNAPSHOT

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

      [INFO]

      [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ apm-arq4 ---

      [INFO] com.procergs.apm:apm-arq4:war:0.9.8-SNAPSHOT

      [INFO] +- org.hibernate:hibernate-core:jar:4.1.3.Final:provided

      [INFO] |  +- antlr:antlr:jar:2.7.7:provided

      [INFO] |  +- org.jboss.logging:jboss-logging:jar:3.1.0.GA:provided

      [INFO] |  +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.1.Final:provided (version managed from 1.0.0.Final)

      [INFO] |  +- dom4j:dom4j:jar:1.6.1:provided

      [INFO] |  +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:provided

      [INFO] |  +- org.javassist:javassist:jar:3.15.0-GA:provided

      [INFO] |  \- org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:provided

      [INFO] +- org.hibernate:hibernate-entitymanager:jar:4.1.3.Final:provided

      [INFO] +- junit:junit:jar:4.8.1:test

      [INFO] +- org.jboss.resteasy:resteasy-jaxrs:jar:2.3.2.FINAL:test

      [INFO] |  +- org.jboss.resteasy:jaxrs-api:jar:2.3.2.Final:test

      [INFO] |  +- org.scannotation:scannotation:jar:1.0.3:test

      [INFO] |  |  \- javassist:javassist:jar:3.12.1.GA:test

      [INFO] |  +- javax.annotation:jsr250-api:jar:1.0:test

      [INFO] |  +- javax.activation:activation:jar:1.1.1:test (version managed from 1.1)

      [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:test

      [INFO] |  |  \- commons-codec:commons-codec:jar:1.2:test

      [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.1.2:test

      [INFO] |  |  \- org.apache.httpcomponents:httpcore:jar:4.1.2:test

      [INFO] |  \- net.jcip:jcip-annotations:jar:1.0:test

      [INFO] +- org.jboss.resteasy:resteasy-jackson-provider:jar:2.3.5.Final:test

      [INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.9:test

      [INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.9:test

      [INFO] |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.9:test

      [INFO] |  \- org.codehaus.jackson:jackson-xc:jar:1.9.9:test

      [INFO] +- com.procergs.acr:prarqjava4:jar:0.9.7:compile

      [INFO] |  \- com.procergs.sca:sca-ws:jar:1.0.2:compile

      [INFO] +- org.primefaces:primefaces:jar:3.5:compile

      [INFO] +- org.primefaces.extensions:all-themes:jar:1.0.8:compile

      [INFO] |  +- org.primefaces.themes:afterdark:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:afternoon:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:afterwork:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:black-tie:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:blitzer:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:bluesky:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:bootstrap:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:casablanca:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:cruze:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:cupertino:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:dark-hive:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:dot-luv:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:eggplant:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:excite-bike:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:flick:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:glass-x:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:hot-sneaks:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:humanity:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:le-frog:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:midnight:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:mint-choc:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:overcast:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:pepper-grinder:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:redmond:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:rocket:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:sam:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:smoothness:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:south-street:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:start:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:sunny:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:swanky-purse:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:trontastic:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:ui-darkness:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:ui-lightness:jar:1.0.8:runtime

      [INFO] |  +- org.primefaces.themes:vader:jar:1.0.8:runtime

      [INFO] |  \- org.primefaces.themes:home:jar:1.0.8:runtime

      [INFO] +- org.primefaces.extensions:primefaces-extensions:jar:0.7.1:compile

      [INFO] |  +- com.google.code.gson:gson:jar:2.2.2:compile

      [INFO] |  \- org.apache.commons:commons-lang3:jar:3.1:compile

      [INFO] +- org.omnifaces:omnifaces:jar:1.5:compile

      [INFO] +- org.apache.myfaces.extensions.cdi.bundles:myfaces-extcdi-bundle-jsf20:jar:1.0.5:compile

      [INFO] +- org.slf4j:slf4j-api:jar:1.6.1:provided

      [INFO] +- net.bull.javamelody:javamelody-core:jar:1.45.0:compile

      [INFO] |  \- org.jrobin:jrobin:jar:1.5.9:compile

      [INFO] +- com.thoughtworks.xstream:xstream:jar:1.4.2:compile

      [INFO] |  +- xmlpull:xmlpull:jar:1.1.3.1:compile

      [INFO] |  \- xpp3:xpp3_min:jar:1.1.4c:compile

      [INFO] +- net.sf.jasperreports:jasperreports:jar:5.1.2:compile

      [INFO] |  +- commons-beanutils:commons-beanutils:jar:1.8.0:compile

      [INFO] |  +- commons-digester:commons-digester:jar:2.1:compile

      [INFO] |  +- commons-logging:commons-logging:jar:1.1.1:compile

      [INFO] |  +- jfree:jcommon:jar:1.0.15:compile

      [INFO] |  +- jfree:jfreechart:jar:1.0.12:compile

      [INFO] |  +- xml-apis:xml-apis:jar:1.3.02:compile

      [INFO] |  +- eclipse:jdtcore:jar:3.1.0:compile

      [INFO] |  +- org.codehaus.castor:castor:jar:1.2:compile

      [INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.0.5:compile

      [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.0.5:compile

      [INFO] |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.0.5:compile

      [INFO] +- com.lowagie:itext:jar:2.1.7:compile

      [INFO] |  +- bouncycastle:bcmail-jdk14:jar:138:compile

      [INFO] |  +- bouncycastle:bcprov-jdk14:jar:138:compile

      [INFO] |  \- org.bouncycastle:bctsp-jdk14:jar:1.38:compile

      [INFO] |     +- org.bouncycastle:bcprov-jdk14:jar:1.38:compile

      [INFO] |     \- org.bouncycastle:bcmail-jdk14:jar:1.38:compile

      [INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.test:arquillian-test-api:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.test:arquillian-test-spi:jar:1.0.3.Final:test

      [INFO] |  |  \- org.jboss.arquillian.core:arquillian-core-spi:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.core:arquillian-core-impl-base:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.test:arquillian-test-impl-base:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-impl-base:jar:1.0.3.Final:test

      [INFO] |  |  +- org.jboss.arquillian.config:arquillian-config-api:jar:1.0.3.Final:test

      [INFO] |  |  \- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-impl-base:jar:1.0.3.Final:test

      [INFO] |  \- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.1:test

      [INFO] |     \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.0.1:test

      [INFO] +- javax.enterprise:cdi-api:jar:1.0-SP4:test

      [INFO] |  +- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.1.Final:test (version managed from 1.0.0.Beta1)

      [INFO] |  \- javax.inject:javax.inject:jar:1:test

      [INFO] +- org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar:1.0.1.Final:test

      [INFO] +- org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar:1.0.2.Final:test

      [INFO] +- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-spi:jar:1.0.3.Final:test

      [INFO] |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:2.0.0-alpha-3:test

      [INFO] +- org.jboss.arquillian.extension:arquillian-persistence-impl:jar:1.0.0.Alpha6:test

      [INFO] |  +- org.jboss.arquillian.extension:arquillian-persistence-api:jar:1.0.0.Alpha6:test

      [INFO] |  +- org.jboss.arquillian.extension:arquillian-transaction-spi:jar:1.0.0.Alpha3:test

      [INFO] |  |  \- org.jboss.arquillian.extension:arquillian-transaction-api:jar:1.0.0.Alpha3:test

      [INFO] |  +- org.jboss.arquillian.extension:arquillian-transaction-jta:jar:1.0.0.Alpha3:test

      [INFO] |  |  \- org.jboss.arquillian.extension:arquillian-transaction-impl-base:jar:1.0.0.Alpha3:test

      [INFO] |  +- org.dbunit:dbunit:jar:2.4.9:test

      [INFO] |  +- org.yaml:snakeyaml:jar:1.10:test

      [INFO] |  +- org.apache.poi:poi:jar:3.2-FINAL:test

      [INFO] |  |  \- log4j:log4j:jar:1.2.13:test

      [INFO] |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0-alpha-3:test

      [INFO] +- org.jboss.as:jboss-as-arquillian-container-managed:jar:7.1.3.Final:test

      [INFO] |  +- org.jboss.as:jboss-as-arquillian-common:jar:7.1.3.Final:test

      [INFO] |  |  +- org.jboss.arquillian.container:arquillian-container-osgi:jar:1.0.2.Final:test

      [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-cdi:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

      [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-ejb:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

      [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-initialcontext:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

      [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-osgi:jar:1.0.2.Final:test

      [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-resource:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

      [INFO] |  |  +- org.jboss.as:jboss-as-arquillian-testenricher-msc:jar:7.1.3.Final:test

      [INFO] |  |  |  +- org.jboss.as:jboss-as-server:jar:7.1.3.Final:test

      [INFO] |  |  |  |  +- org.jboss.as:jboss-as-controller:jar:7.1.3.Final:test

      [INFO] |  |  |  |  |  \- org.jboss:staxmapper:jar:1.1.0.Final:test

      [INFO] |  |  |  |  +- org.jboss.as:jboss-as-domain-http-interface:jar:7.1.3.Final:test

      [INFO] |  |  |  |  |  +- org.jboss.as:jboss-as-domain-management:jar:7.1.3.Final:test

      [INFO] |  |  |  |  |  \- org.jboss.com.sun.httpserver:httpserver:jar:1.0.1.Final:test

      [INFO] |  |  |  |  +- org.jboss.as:jboss-as-deployment-repository:jar:7.1.3.Final:test

      [INFO] |  |  |  |  +- org.jboss.as:jboss-as-embedded:jar:7.1.3.Final:test

      [INFO] |  |  |  |  +- org.jboss.as:jboss-as-platform-mbean:jar:7.1.3.Final:test

      [INFO] |  |  |  |  +- org.jboss.as:jboss-as-process-controller:jar:7.1.3.Final:test

      [INFO] |  |  |  |  +- org.jboss.as:jboss-as-remoting:jar:7.1.3.Final:test

      [INFO] |  |  |  |  |  +- org.jboss.as:jboss-as-network:jar:7.1.3.Final:test

      [INFO] |  |  |  |  |  \- org.jboss.as:jboss-as-threads:jar:7.1.3.Final:test

      [INFO] |  |  |  |  +- org.jboss:jandex:jar:1.0.3.Final:test

      [INFO] |  |  |  |  +- org.jboss.invocation:jboss-invocation:jar:1.1.1.Final:test

      [INFO] |  |  |  |  +- org.jboss.logmanager:log4j-jboss-logmanager:jar:1.0.1.Final:test

      [INFO] |  |  |  |  +- org.jboss.stdio:jboss-stdio:jar:1.0.1.GA:test

      [INFO] |  |  |  |  \- org.jboss:jboss-vfs:jar:3.1.0.Final:test

      [INFO] |  |  |  \- org.jboss.msc:jboss-msc:jar:1.0.2.GA:test

      [INFO] |  |  +- org.jboss.as:jboss-as-controller-client:jar:7.1.3.Final:test

      [INFO] |  |  |  +- org.jboss.as:jboss-as-protocol:jar:7.1.3.Final:test

      [INFO] |  |  |  +- org.jboss:jboss-dmr:jar:1.1.1.Final:test

      [INFO] |  |  |  \- org.jboss.threads:jboss-threads:jar:2.0.0.GA:test

      [INFO] |  |  +- org.jboss.as:jboss-as-jmx:jar:7.1.3.Final:test

      [INFO] |  |  |  \- org.jboss:jboss-common-core:jar:2.2.17.GA:test

      [INFO] |  |  +- org.jboss.osgi.spi:jbosgi-spi:jar:3.1.0.Final:test

      [INFO] |  |  |  \- org.jboss.osgi.vfs:jbosgi-vfs30:jar:1.1.0.Final:test

      [INFO] |  |  |     \- org.jboss.osgi.vfs:jbosgi-vfs:jar:1.1.0.Final:test

      [INFO] |  |  \- org.osgi:org.osgi.core:jar:4.2.0:test

      [INFO] |  +- org.jboss.as:jboss-as-arquillian-protocol-jmx:jar:7.1.3.Final:test

      [INFO] |  |  +- org.jboss.as:jboss-as-osgi-service:jar:7.1.3.Final:test

      [INFO] |  |  |  +- org.jboss.as:jboss-as-ee:jar:7.1.3.Final:test

      [INFO] |  |  |  |  +- javax.validation:validation-api:jar:1.0.0.GA:test

      [INFO] |  |  |  |  +- org.hibernate:hibernate-validator:jar:4.2.0.Final:test

      [INFO] |  |  |  |  +- org.jboss.metadata:jboss-metadata-common:jar:7.0.4.Final:test

      [INFO] |  |  |  |  \- org.jboss.metadata:jboss-metadata-ear:jar:7.0.4.Final:test

      [INFO] |  |  |  +- org.jboss.as:jboss-as-naming:jar:7.1.3.Final:test

      [INFO] |  |  |  |  \- org.jboss:jboss-remote-naming:jar:1.0.4.Final:test

      [INFO] |  |  |  |     \- org.jboss:jboss-ejb-client:jar:1.0.0.Final:test

      [INFO] |  |  |  +- org.jboss.modules:jboss-modules:jar:1.1.3.GA:test

      [INFO] |  |  |  +- org.jboss.osgi.framework:jbosgi-framework-core:jar:1.3.1.CR1:test

      [INFO] |  |  |  |  +- org.jboss.osgi.deployment:jbosgi-deployment:jar:1.1.0.Final:test

      [INFO] |  |  |  |  \- org.jboss.osgi.resolver:jbosgi-resolver-felix:jar:2.1.0.Final:test

      [INFO] |  |  |  +- org.jboss.osgi.metadata:jbosgi-metadata:jar:2.1.0.Final:test

      [INFO] |  |  |  +- org.jboss.osgi.resolver:jbosgi-resolver-api:jar:2.1.0.Final:test

      [INFO] |  |  |  +- org.jboss.osgi.repository:jbosgi-repository-api:jar:1.2.0.Final:test

      [INFO] |  |  |  +- org.jboss.osgi.repository:jbosgi-repository-core:jar:1.2.0.Final:test

      [INFO] |  |  |  \- org.osgi:org.osgi.enterprise:jar:4.2.0:test

      [INFO] |  |  \- org.jboss.arquillian.protocol:arquillian-protocol-jmx:jar:1.0.3.Final:test (version managed from 1.0.0.Final)

      [INFO] |  +- org.jboss.remoting3:jboss-remoting:jar:3.2.8.SP1:test

      [INFO] |  |  \- org.jboss.xnio:xnio-api:jar:3.0.3.GA:test

      [INFO] |  +- org.jboss.remotingjmx:remoting-jmx:jar:1.0.4.Final:test

      [INFO] |  |  +- org.jboss.logmanager:jboss-logmanager:jar:1.3.1.Final:test

      [INFO] |  |  +- org.jboss.logging:jboss-logging-processor:jar:1.0.3.Final:test

      [INFO] |  |  |  \- system:jdk-tools:jar:jdk:system

      [INFO] |  |  +- org.jboss.marshalling:jboss-marshalling:jar:1.3.15.GA:test

      [INFO] |  |  +- org.jboss.marshalling:jboss-marshalling-river:jar:1.3.15.GA:test

      [INFO] |  |  \- org.jboss.xnio:xnio-nio:jar:3.0.5.GA:test

      [INFO] |  +- org.jboss.sasl:jboss-sasl:jar:1.0.3.Final:test

      [INFO] |  +- org.jboss.arquillian.core:arquillian-core-api:jar:1.0.3.Final:test

      [INFO] |  \- org.jboss.as:jboss-as-build-config:jar:7.1.3.Final:test

      [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven:jar:1.0.0-beta-7:test

      [INFO] |  +- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.1:test

      [INFO] |  +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api:jar:1.0.0-beta-7:test

      [INFO] |  +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven:jar:1.0.0-beta-7:test

      [INFO] |  +- org.sonatype.aether:aether-api:jar:1.8:test

      [INFO] |  +- org.sonatype.aether:aether-util:jar:1.8:test

      [INFO] |  +- org.sonatype.aether:aether-connector-wagon:jar:1.8:test

      [INFO] |  |  +- org.sonatype.aether:aether-spi:jar:1.8:test

      [INFO] |  |  \- org.codehaus.plexus:plexus-container-default:jar:1.5.5:test

      [INFO] |  |     +- org.codehaus.plexus:plexus-classworlds:jar:2.2.2:test

      [INFO] |  |     +- org.apache.xbean:xbean-reflect:jar:3.4:test

      [INFO] |  |     |  \- commons-logging:commons-logging-api:jar:1.1:test

      [INFO] |  |     \- com.google.collections:google-collections:jar:1.0:test

      [INFO] |  +- org.apache.maven:maven-aether-provider:jar:3.0.1:test

      [INFO] |  |  +- org.apache.maven:maven-model:jar:3.0.1:test

      [INFO] |  |  +- org.apache.maven:maven-model-builder:jar:3.0.1:test

      [INFO] |  |  +- org.apache.maven:maven-repository-metadata:jar:3.0.1:test

      [INFO] |  |  +- org.sonatype.aether:aether-impl:jar:1.8:test

      [INFO] |  |  +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:test

      [INFO] |  |  \- org.codehaus.plexus:plexus-utils:jar:2.0.4:test

      [INFO] |  +- org.apache.maven:maven-settings-builder:jar:3.0.1:test

      [INFO] |  |  +- org.codehaus.plexus:plexus-interpolation:jar:1.14:test

      [INFO] |  |  +- org.apache.maven:maven-settings:jar:3.0.1:test

      [INFO] |  |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:test

      [INFO] |  |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:test

      [INFO] |  +- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-7:test

      [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-7:test

      [INFO] |  \- org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-7:test

      [INFO] |     \- org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-7:test

      [INFO] +- commons-collections:commons-collections:jar:3.2.1:test (scope not updated to compile)

      [INFO] \- javax:javaee-api:jar:6.0:provided

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

      [INFO] BUILD SUCCESS

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

      [INFO] Total time: 21.408s

      [INFO] Finished at: Tue Sep 10 08:44:19 BRT 2013

      [INFO] Final Memory: 15M/39M

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

       

      my test is really simple:

       

         @RunAsClient

         @Test

        public void droneTest(@Drone WebDriver browser){

             System.out.println(browser.toString());

        }

       

      i tried Graphene getting started: https://docs.jboss.org/author/display/ARQGRA2/Getting+Started

      and arquillian-jpa-drone example(looks outdated): https://github.com/arquillian/arquillian-examples/tree/master/arquillian-jpa-drone

      and also this blog entry: http://blog.itcrowd.pl/2013/02/arquillian-graphene-2-and-webdriver.html

       

      any help is appreciated, thanks in advance.

        • 1. Re: Help setup functional tests with Graphene 2.x
          Rafael Pestano Novice

          got some evolution here, i had to remove jboss-javaee-6.0-with-tools bom.

           

          now i got a error when the arquillian generated war is deployed and firefox opens with a blank page(althrough i didnt call webDriver.get anywhere), here is the log:

           

          15:00:48,751 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016005: Iniciando os  Serviços para a implantação CDI: 7bcee387-11fe-49a6-bf11-4bef9953a5aa.war

          15:00:48,758 INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Inicialização do serviço weld para a implantação 7bcee387-11fe-49a6-bf11-4bef9953a5aa.war

          15:00:48,759 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 57) JBAS011402: Iniciando Persistence Unit Serviço '7bcee387-11fe-49a6-bf11-4bef9953a5aa.war#APM'

          15:00:48,761 INFO  [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 57) HHH000204: Processing PersistenceUnitInfo [

              name: APM

              ...]

          15:00:48,867 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 57) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

          15:00:48,879 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 57) HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect

          15:00:48,882 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 57) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory

          15:00:48,882 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 57) HHH000397: Using ASTQueryTranslatorFactory

          15:00:48,989 INFO  [org.apache.myfaces.extensions.cdi.core.api.provider.ServiceProvider] (MSC service thread 1-8) org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider installed successfully.

          15:00:48,990 INFO  [org.apache.myfaces.extensions.cdi.core.api.provider.ServiceProvider] (MSC service thread 1-8) org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProviderContext installed successfully.

          15:00:49,017 INFO  [org.apache.myfaces.extensions.cdi.core.impl.projectstage.ProjectStageProducer] (MSC service thread 1-8) Computed the following CODI ProjectStage: Production

          15:00:50,018 INFO  [org.jboss.weld.ClassLoading] (MSC service thread 1-8) WELD-000119 Not generating any bean definitions from com.procergs.test.integration.BaseTest because of underlying class loading error

          15:00:50,019 INFO  [org.jboss.weld.ClassLoading] (MSC service thread 1-8) catching: org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class com.procergs.test.integration.BaseTest

              at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:167) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.bootstrap.BeanDeployer.loadWeldClass(BeanDeployer.java:116) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:79) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:135) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:184) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:349) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:63) [jboss-as-weld-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

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

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

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

          Caused by: java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver

              at java.lang.Class.getDeclaredMethods0(Native Method) [rt.jar:1.7.0_10]

              at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) [rt.jar:1.7.0_10]

              at java.lang.Class.getDeclaredMethods(Class.java:1808) [rt.jar:1.7.0_10]

              at org.jboss.weld.util.reflection.SecureReflections$8.work(SecureReflections.java:175) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.util.reflection.SecureReflections$8.work(SecureReflections.java:172) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.util.reflection.SecureReflections.getDeclaredMethods(SecureReflections.java:172) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:235) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:121) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:59) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:50) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:358)

              at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)

              at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)

              at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)

              at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:396)

              at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:163) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

              ... 11 more

          Caused by: java.lang.ClassNotFoundException: org.openqa.selenium.WebDriver from [Module "deployment.7bcee387-11fe-49a6-bf11-4bef9953a5aa.war:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.0.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432) [jboss-modules.jar:1.2.0.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374) [jboss-modules.jar:1.2.0.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119) [jboss-modules.jar:1.2.0.Final-redhat-1]

              ... 29 more

           

          15:00:50,269 INFO  [org.jboss.web] (ServerService Thread Pool -- 66) JBAS018210: Registra o contexto da web: /7bcee387-11fe-49a6-bf11-4bef9953a5aa

          15:00:50,281 INFO  [org.jboss.resteasy.cdi.CdiInjectorFactory] (ServerService Thread Pool -- 66) Found BeanManager at java:comp/BeanManager

          15:00:50,316 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 66) Inicializando Mojarra 2.1.19-jbossorg-1 20130304-0420 para o contexto '/7bcee387-11fe-49a6-bf11-4bef9953a5aa'

          15:00:51,598 INFO  [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 66) Running on PrimeFaces 3.5

          15:00:51,608 INFO  [org.primefaces.extensions.application.PostConstructApplicationEventListener] (ServerService Thread Pool -- 66) Running on PrimeFaces Extensions 0.7.1

          15:00:51,608 INFO  [org.omnifaces.eventlistener.VersionLoggerEventListener] (ServerService Thread Pool -- 66) Using OmniFaces version 1.5

          15:00:51,608 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 66) Monitoring jndi:/default-host/7bcee387-11fe-49a6-bf11-4bef9953a5aa/WEB-INF/faces-config.xml for modifications

          15:00:51,795 INFO  [org.jboss.as.server] (management-handler-thread - 1) JBAS018559: Implantado "7bcee387-11fe-49a6-bf11-4bef9953a5aa.war" (runtime-name: "7bcee387-11fe-49a6-bf11-4bef9953a5aa.war")

          15:02:33.676 INFO - Property "remoteAdress" was not specified, using default value of http://localhost:14444/wd/hub

          15:02:34.622 INFO - Executing: [new session: {platform=ANY, browserName=firefox, version=}] at URL: /session)

          15:02:34.637 INFO - Creating a new session for Capabilities [{platform=ANY, browserName=firefox, version=}]

          15:03:06.607 WARN - Exception thrown

          java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException

          Build info: version: '2.35.0', revision: '8df0c6bedf70ff9f22c647788f9fe9c8d22210e2', time: '2013-08-17 12:46:41'

          System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.0', java.version: '1.7.0_10'

          Driver info: driver.version: unknown

              at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

              at java.util.concurrent.FutureTask.get(FutureTask.java:111)

              at org.openqa.selenium.remote.server.DefaultSession.execute(DefaultSession.java:176)

              at org.openqa.selenium.remote.server.DefaultSession.<init>(DefaultSession.java:112)

              at org.openqa.selenium.remote.server.DefaultSession.createSession(DefaultSession.java:89)

              at org.openqa.selenium.remote.server.DefaultDriverSessions.newSession(DefaultDriverSessions.java:89)

              at org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:63)

              at org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:205)

              at org.openqa.selenium.remote.server.JsonHttpRemoteConfig.handleRequest(JsonHttpRemoteConfig.java:192)

              at org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:201)

              at org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:167)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

              at org.openqa.selenium.remote.server.DriverServlet.service(DriverServlet.java:139)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

              at org.openqa.jetty.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)

              at org.openqa.jetty.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677)

              at org.openqa.jetty.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)

              at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526)

              at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479)

              at org.openqa.jetty.http.HttpServer.service(HttpServer.java:914)

              at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)

              at org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)

              at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)

              at org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)

              at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:357)

              at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

          Caused by: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException

          Build info: version: '2.35.0', revision: '8df0c6bedf70ff9f22c647788f9fe9c8d22210e2', time: '2013-08-17 12:46:41'

          System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.0', java.version: '1.7.0_10'

          Driver info: driver.version: unknown

              at org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:72)

              at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:56)

              at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:215)

              at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:202)

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

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

              at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:169)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

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

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

          Caused by: java.lang.reflect.InvocationTargetException

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

              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

              at java.lang.reflect.Constructor.newInstance(Constructor.java:525)

              at org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:62)

              ... 9 more

          Caused by: java.lang.NoClassDefFoundError: org/apache/http/entity/ContentType

              at org.openqa.selenium.remote.HttpCommandExecutor$EntityWithEncoding.<init>(HttpCommandExecutor.java:408)

              at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:303)

              at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.execute(NewProfileExtensionConnection.java:133)

              at org.openqa.selenium.firefox.FirefoxDriver$LazyCommandExecutor.execute(FirefoxDriver.java:367)

              at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)

              at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)

              at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)

              at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:195)

              at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)

              at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:107)

              ... 14 more

          Caused by: java.lang.ClassNotFoundException: org.apache.http.entity.ContentType

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

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

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

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

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

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

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

              ... 24 more

          15:03:06.665 WARN - Exception: org.apache.http.entity.ContentType

          15:03:06.837 WARN - Deprecated Enhancer type, please implement DroneInstanceEnhancer instead. Deenhancing WebDriver @Default using enhancer org.jboss.arquillian.graphene.integration.GrapheneEnhancer with precedence -100

          15:03:06,908 INFO  [org.jboss.web] (ServerService Thread Pool -- 68) JBAS018224: Desregistra o contexto da web: /7bcee387-11fe-49a6-bf11-4bef9953a5aa

          15:03:06,936 INFO  [stdout] (ServerService Thread Pool -- 68) Encerrando aplicação

           

          15:03:06,939 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 76) JBAS011403: Interrompendo Persistence Unit Serviço '7bcee387-11fe-49a6-bf11-4bef9953a5aa.war#APM'

          15:03:06,940 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) JBAS016009: Interrupção do serviço Weld para a implantação 7bcee387-11fe-49a6-bf11-4bef9953a5aa.war

          15:03:07,216 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Implantação encerrada 7bcee387-11fe-49a6-bf11-4bef9953a5aa.war (runtime-name: 7bcee387-11fe-49a6-bf11-4bef9953a5aa.war) em 312ms

          15:03:07,568 INFO  [org.jboss.as.repository] (management-handler-thread - 5) JBAS014901: Conteúdo removido da localização C:\EAP-MODELO-6.1\jboss-eap-6.1\standalone\data\content\a8\a6dab7aa4758fd08a543cbb40200d3e1e57e23\content

          15:03:07,569 INFO  [org.jboss.as.server] (management-handler-thread - 5) JBAS018558: Desimplantado "7bcee387-11fe-49a6-bf11-4bef9953a5aa.war" (runtime-name: "7bcee387-11fe-49a6-bf11-4bef9953a5aa.war")

          15:03:08.129 INFO - Exiting session cleaner thread

           

          looks like org.openqa.selenium.WebDriver was not found on the classpath, here is my war.toString(true);

           

          fcf9fcb6-2ad9-4803-a06b-484c8612f996.war:

          /WEB-INF/

          /WEB-INF/lib/

          /WEB-INF/lib/jfreechart-1.0.12.jar

          /WEB-INF/lib/jackson-databind-2.0.5.jar

          /WEB-INF/lib/prarqjava4-0.9.7.jar

          /WEB-INF/lib/commons-digester-2.1.jar

          /WEB-INF/lib/jackson-core-asl-1.5.5.jar

          /WEB-INF/lib/xml-apis-1.4.01.jar

          /WEB-INF/lib/PRSoeweb-2.2.0.jar

          /WEB-INF/lib/primefaces-extensions-0.7.1.jar

          /WEB-INF/lib/commons-lang3-3.1.jar

          /WEB-INF/lib/gson-2.2.2.jar

          /WEB-INF/lib/sca-ws-1.0.2.jar

          /WEB-INF/lib/jdtcore-3.1.0.jar

          /WEB-INF/lib/primefaces-3.5.jar

          /WEB-INF/lib/commons-beanutils-1.8.0.jar

          /WEB-INF/lib/jasperreports-5.1.2.jar

          /WEB-INF/lib/commons-collections-3.2.1.jar

          /WEB-INF/lib/jackson-annotations-2.0.5.jar

          /WEB-INF/lib/jackson-core-2.0.5.jar

          /WEB-INF/lib/omnifaces-1.5.jar

          /WEB-INF/lib/castor-1.2.jar

          /WEB-INF/lib/myfaces-extcdi-bundle-jsf20-1.0.5.jar

          /WEB-INF/lib/commons-logging-1.1.1.jar

          /WEB-INF/lib/jcommon-1.0.15.jar

          /WEB-INF/faces-config.xml

          /WEB-INF/beans.xml

          /WEB-INF/jboss-deployment-structure.xml

          /WEB-INF/web.xml

          /WEB-INF/classes/

          /WEB-INF/classes/messages_pt.properties

          /WEB-INF/classes/soe.properties

          /WEB-INF/classes/messages_en.properties

          /WEB-INF/classes/com/

          /WEB-INF/classes/com/procergs/

          /WEB-INF/classes/com/procergs/test/

          /WEB-INF/classes/com/procergs/test/integration/

          /WEB-INF/classes/com/procergs/test/integration/turma/

          /WEB-INF/classes/com/procergs/test/integration/turma/TurmaCrudTest.class

          /WEB-INF/classes/com/procergs/test/rest/

          /WEB-INF/classes/com/procergs/test/rest/TurmaRestED.class

          /WEB-INF/classes/com/procergs/test/rest/CursoRestED.class

          /WEB-INF/classes/com/procergs/test/rest/TurmaRestClient.class

          /WEB-INF/classes/com/procergs/test/rest/TurmaRestClient$1.class

          /WEB-INF/classes/com/procergs/apm/

          /WEB-INF/classes/com/procergs/apm/instrutor/

          /WEB-INF/classes/com/procergs/apm/instrutor/InstrutorBD.class

          /WEB-INF/classes/com/procergs/apm/instrutor/InstrutorRN.class

          /WEB-INF/classes/com/procergs/apm/turma/

          /WEB-INF/classes/com/procergs/apm/turma/TurmaRN.class

          /WEB-INF/classes/com/procergs/apm/turma/HorarioBD.class

          /WEB-INF/classes/com/procergs/apm/turma/TurmaBD.class

          /WEB-INF/classes/com/procergs/apm/curso/

          /WEB-INF/classes/com/procergs/apm/curso/CursoRN.class

          /WEB-INF/classes/com/procergs/apm/curso/CursoBD.class

          /WEB-INF/classes/com/procergs/apm/ed/

          /WEB-INF/classes/com/procergs/apm/ed/AlunoED.class

          /WEB-INF/classes/com/procergs/apm/ed/HorarioED.class

          /WEB-INF/classes/com/procergs/apm/ed/CursoPesqED.class

          /WEB-INF/classes/com/procergs/apm/ed/TurmaPesqED.class

          /WEB-INF/classes/com/procergs/apm/ed/RecursoED.class

          /WEB-INF/classes/com/procergs/apm/ed/InstrutorED.class

          /WEB-INF/classes/com/procergs/apm/ed/TurmaSimplesED.class

          /WEB-INF/classes/com/procergs/apm/ed/CursoED.class

          /WEB-INF/classes/com/procergs/apm/ed/TurmaED.class

          /WEB-INF/classes/com/procergs/apm/infra/

          /WEB-INF/classes/com/procergs/apm/infra/AppED.class

          /WEB-INF/classes/com/procergs/apm/infra/AppBD.class

          /WEB-INF/classes/com/procergs/apm/infra/SessionFilter.class

          /WEB-INF/classes/com/procergs/apm/infra/AppRN.class

          /WEB-INF/classes/com/procergs/apm/infra/AppListMB.class

          /WEB-INF/classes/com/procergs/apm/infra/AppFormMB.class

          /WEB-INF/classes/com/procergs/apm/infra/AppInterceptorImpl.class

          /WEB-INF/classes/com/procergs/apm/infra/AppInterceptor.class

          /WEB-INF/classes/com/procergs/apm/remote/

          /WEB-INF/classes/com/procergs/apm/remote/TurmaRest$QueryResponse.class

          /WEB-INF/classes/com/procergs/apm/remote/TurmaRest.class

          /WEB-INF/classes/META-INF/

          /WEB-INF/classes/META-INF/persistence.xml

          /WEB-INF/classes/application.properties

           

          current dependency tree:

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

          [INFO] Building apm-arq4 0.9.8-SNAPSHOT

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

          [INFO]

          [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ apm-arq4 ---

          [INFO] com.procergs.apm:apm-arq4:war:0.9.8-SNAPSHOT

          [INFO] +- org.hibernate:hibernate-core:jar:4.1.3.Final:provided

          [INFO] |  +- antlr:antlr:jar:2.7.7:provided

          [INFO] |  +- org.jboss.logging:jboss-logging:jar:3.1.0.GA:provided

          [INFO] |  +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Final:provided

          [INFO] |  +- dom4j:dom4j:jar:1.6.1:provided

          [INFO] |  +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:provided

          [INFO] |  +- org.javassist:javassist:jar:3.15.0-GA:provided

          [INFO] |  \- org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:provided

          [INFO] +- org.hibernate:hibernate-entitymanager:jar:4.1.3.Final:provided

          [INFO] +- junit:junit:jar:4.8.1:test

          [INFO] +- org.jboss.resteasy:resteasy-jaxrs:jar:2.3.3.Final:provided (scope not updated to compile)

          [INFO] |  +- org.jboss.resteasy:jaxrs-api:jar:2.3.3.Final:provided

          [INFO] |  +- org.scannotation:scannotation:jar:1.0.3:provided

          [INFO] |  |  \- javassist:javassist:jar:3.12.1.GA:provided

          [INFO] |  +- javax.annotation:jsr250-api:jar:1.0:provided

          [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:provided

          [INFO] |  |  \- commons-codec:commons-codec:jar:1.2:provided

          [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.1.2:provided

          [INFO] |  |  \- org.apache.httpcomponents:httpcore:jar:4.1.2:provided

          [INFO] |  \- net.jcip:jcip-annotations:jar:1.0:provided

          [INFO] +- org.jboss.resteasy:resteasy-jackson-provider:jar:2.3.5.Final:test

          [INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.9:test

          [INFO] |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.9:test

          [INFO] |  \- org.codehaus.jackson:jackson-xc:jar:1.9.9:test

          [INFO] +- org.jboss.resteasy:resteasy-multipart-provider:jar:2.3.3.Final:compile

          [INFO] |  +- javax.mail:mail:jar:1.4.4:compile

          [INFO] |  |  \- javax.activation:activation:jar:1.1:compile

          [INFO] |  +- org.apache.james:apache-mime4j:jar:0.6:compile

          [INFO] |  \- javax.servlet:servlet-api:jar:2.5:compile

          [INFO] +- org.codehaus.jackson:jackson-core-asl:jar:1.5.5:compile

          [INFO] +- org.jboss.resteasy:resteasy-jaxb-provider:jar:2.3.3.Final:compile

          [INFO] |  \- com.sun.xml.bind:jaxb-impl:jar:2.2.4:compile

          [INFO] |     \- javax.xml.bind:jaxb-api:jar:2.2.3:compile

          [INFO] |        \- javax.xml.stream:stax-api:jar:1.0-2:compile

          [INFO] +- com.procergs.acr:prarqjava4:jar:0.9.7:compile

          [INFO] |  \- com.procergs.sca:sca-ws:jar:1.0.2:compile

          [INFO] +- org.primefaces:primefaces:jar:3.5:compile

          [INFO] +- org.primefaces.extensions:all-themes:jar:1.0.8:compile

          [INFO] |  +- org.primefaces.themes:afterdark:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:afternoon:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:afterwork:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:black-tie:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:blitzer:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:bluesky:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:bootstrap:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:casablanca:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:cruze:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:cupertino:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:dark-hive:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:dot-luv:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:eggplant:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:excite-bike:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:flick:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:glass-x:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:hot-sneaks:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:humanity:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:le-frog:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:midnight:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:mint-choc:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:overcast:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:pepper-grinder:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:redmond:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:rocket:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:sam:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:smoothness:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:south-street:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:start:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:sunny:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:swanky-purse:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:trontastic:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:ui-darkness:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:ui-lightness:jar:1.0.8:runtime

          [INFO] |  +- org.primefaces.themes:vader:jar:1.0.8:runtime

          [INFO] |  \- org.primefaces.themes:home:jar:1.0.8:runtime

          [INFO] +- org.primefaces.extensions:primefaces-extensions:jar:0.7.1:compile

          [INFO] |  +- com.google.code.gson:gson:jar:2.2.2:compile

          [INFO] |  \- org.apache.commons:commons-lang3:jar:3.1:compile

          [INFO] +- org.omnifaces:omnifaces:jar:1.5:compile

          [INFO] +- org.apache.myfaces.extensions.cdi.bundles:myfaces-extcdi-bundle-jsf20:jar:1.0.5:compile

          [INFO] +- org.slf4j:slf4j-api:jar:1.6.1:provided

          [INFO] +- net.bull.javamelody:javamelody-core:jar:1.45.0:compile

          [INFO] |  \- org.jrobin:jrobin:jar:1.5.9:compile

          [INFO] +- com.thoughtworks.xstream:xstream:jar:1.4.2:compile

          [INFO] |  +- xmlpull:xmlpull:jar:1.1.3.1:compile

          [INFO] |  \- xpp3:xpp3_min:jar:1.1.4c:compile

          [INFO] +- net.sf.jasperreports:jasperreports:jar:5.1.2:compile

          [INFO] |  +- commons-beanutils:commons-beanutils:jar:1.8.0:compile

          [INFO] |  +- commons-digester:commons-digester:jar:2.1:compile

          [INFO] |  +- commons-logging:commons-logging:jar:1.1.1:compile

          [INFO] |  +- jfree:jcommon:jar:1.0.15:compile

          [INFO] |  +- jfree:jfreechart:jar:1.0.12:compile

          [INFO] |  +- eclipse:jdtcore:jar:3.1.0:compile

          [INFO] |  +- org.codehaus.castor:castor:jar:1.2:compile

          [INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.0.5:compile

          [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.0.5:compile

          [INFO] |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.0.5:compile

          [INFO] +- com.lowagie:itext:jar:2.1.7:compile

          [INFO] |  +- bouncycastle:bcmail-jdk14:jar:138:compile

          [INFO] |  +- bouncycastle:bcprov-jdk14:jar:138:compile

          [INFO] |  \- org.bouncycastle:bctsp-jdk14:jar:1.38:compile

          [INFO] |     +- org.bouncycastle:bcprov-jdk14:jar:1.38:compile

          [INFO] |     \- org.bouncycastle:bcmail-jdk14:jar:1.38:compile

          [INFO] +- org.jboss.as:jboss-as-arquillian-container-managed:jar:7.1.3.Final:test

          [INFO] |  +- org.jboss.as:jboss-as-arquillian-common:jar:7.1.3.Final:test

          [INFO] |  |  +- org.jboss.arquillian.container:arquillian-container-osgi:jar:1.0.2.Final:test

          [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-cdi:jar:1.1.1.Final:test (version managed from 1.0.0.Final)

          [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-ejb:jar:1.1.1.Final:test (version managed from 1.0.0.Final)

          [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-initialcontext:jar:1.1.1.Final:test (version managed from 1.0.0.Final)

          [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-osgi:jar:1.0.2.Final:test

          [INFO] |  |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-resource:jar:1.1.1.Final:test (version managed from 1.0.0.Final)

          [INFO] |  |  +- org.jboss.as:jboss-as-arquillian-testenricher-msc:jar:7.1.3.Final:test

          [INFO] |  |  |  +- org.jboss.as:jboss-as-server:jar:7.1.3.Final:test

          [INFO] |  |  |  |  +- org.jboss.as:jboss-as-controller:jar:7.1.3.Final:test

          [INFO] |  |  |  |  |  \- org.jboss:staxmapper:jar:1.1.0.Final:test

          [INFO] |  |  |  |  +- org.jboss.as:jboss-as-domain-http-interface:jar:7.1.3.Final:test

          [INFO] |  |  |  |  |  +- org.jboss.as:jboss-as-domain-management:jar:7.1.3.Final:test

          [INFO] |  |  |  |  |  \- org.jboss.com.sun.httpserver:httpserver:jar:1.0.1.Final:test

          [INFO] |  |  |  |  +- org.jboss.as:jboss-as-deployment-repository:jar:7.1.3.Final:test

          [INFO] |  |  |  |  +- org.jboss.as:jboss-as-embedded:jar:7.1.3.Final:test

          [INFO] |  |  |  |  +- org.jboss.as:jboss-as-platform-mbean:jar:7.1.3.Final:test

          [INFO] |  |  |  |  +- org.jboss.as:jboss-as-process-controller:jar:7.1.3.Final:test

          [INFO] |  |  |  |  +- org.jboss.as:jboss-as-remoting:jar:7.1.3.Final:test

          [INFO] |  |  |  |  |  +- org.jboss.as:jboss-as-network:jar:7.1.3.Final:test

          [INFO] |  |  |  |  |  \- org.jboss.as:jboss-as-threads:jar:7.1.3.Final:test

          [INFO] |  |  |  |  +- org.jboss:jandex:jar:1.0.3.Final:test

          [INFO] |  |  |  |  +- org.jboss.invocation:jboss-invocation:jar:1.1.1.Final:test

          [INFO] |  |  |  |  +- org.jboss.logmanager:log4j-jboss-logmanager:jar:1.0.1.Final:test

          [INFO] |  |  |  |  +- org.jboss.stdio:jboss-stdio:jar:1.0.1.GA:test

          [INFO] |  |  |  |  \- org.jboss:jboss-vfs:jar:3.1.0.Final:test

          [INFO] |  |  |  \- org.jboss.msc:jboss-msc:jar:1.0.2.GA:test

          [INFO] |  |  +- org.jboss.as:jboss-as-controller-client:jar:7.1.3.Final:test

          [INFO] |  |  |  +- org.jboss.as:jboss-as-protocol:jar:7.1.3.Final:test

          [INFO] |  |  |  +- org.jboss:jboss-dmr:jar:1.1.1.Final:test

          [INFO] |  |  |  \- org.jboss.threads:jboss-threads:jar:2.0.0.GA:test

          [INFO] |  |  +- org.jboss.as:jboss-as-jmx:jar:7.1.3.Final:test

          [INFO] |  |  |  \- org.jboss:jboss-common-core:jar:2.2.17.GA:test

          [INFO] |  |  +- org.jboss.osgi.spi:jbosgi-spi:jar:3.1.0.Final:test

          [INFO] |  |  |  \- org.jboss.osgi.vfs:jbosgi-vfs30:jar:1.1.0.Final:test

          [INFO] |  |  |     \- org.jboss.osgi.vfs:jbosgi-vfs:jar:1.1.0.Final:test

          [INFO] |  |  \- org.osgi:org.osgi.core:jar:4.2.0:test

          [INFO] |  +- org.jboss.as:jboss-as-arquillian-protocol-jmx:jar:7.1.3.Final:test

          [INFO] |  |  +- org.jboss.as:jboss-as-osgi-service:jar:7.1.3.Final:test

          [INFO] |  |  |  +- org.jboss.as:jboss-as-ee:jar:7.1.3.Final:test

          [INFO] |  |  |  |  +- javax.validation:validation-api:jar:1.0.0.GA:test

          [INFO] |  |  |  |  +- org.hibernate:hibernate-validator:jar:4.2.0.Final:test

          [INFO] |  |  |  |  +- org.jboss.metadata:jboss-metadata-common:jar:7.0.4.Final:test

          [INFO] |  |  |  |  +- org.jboss.metadata:jboss-metadata-ear:jar:7.0.4.Final:test

          [INFO] |  |  |  |  \- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.1.Final:test

          [INFO] |  |  |  +- org.jboss.as:jboss-as-naming:jar:7.1.3.Final:test

          [INFO] |  |  |  |  \- org.jboss:jboss-remote-naming:jar:1.0.4.Final:test

          [INFO] |  |  |  |     \- org.jboss:jboss-ejb-client:jar:1.0.0.Final:test

          [INFO] |  |  |  +- org.jboss.modules:jboss-modules:jar:1.1.3.GA:test

          [INFO] |  |  |  +- org.jboss.osgi.framework:jbosgi-framework-core:jar:1.3.1.CR1:test

          [INFO] |  |  |  |  +- org.jboss.osgi.deployment:jbosgi-deployment:jar:1.1.0.Final:test

          [INFO] |  |  |  |  \- org.jboss.osgi.resolver:jbosgi-resolver-felix:jar:2.1.0.Final:test

          [INFO] |  |  |  +- org.jboss.osgi.metadata:jbosgi-metadata:jar:2.1.0.Final:test

          [INFO] |  |  |  +- org.jboss.osgi.resolver:jbosgi-resolver-api:jar:2.1.0.Final:test

          [INFO] |  |  |  +- org.jboss.osgi.repository:jbosgi-repository-api:jar:1.2.0.Final:test

          [INFO] |  |  |  +- org.jboss.osgi.repository:jbosgi-repository-core:jar:1.2.0.Final:test

          [INFO] |  |  |  \- org.osgi:org.osgi.enterprise:jar:4.2.0:test

          [INFO] |  |  +- org.jboss.arquillian.core:arquillian-core-spi:jar:1.1.1.Final:test

          [INFO] |  |  \- org.jboss.arquillian.protocol:arquillian-protocol-jmx:jar:1.1.1.Final:test (version managed from 1.0.0.Final)

          [INFO] |  +- org.jboss.remoting3:jboss-remoting:jar:3.2.8.SP1:test

          [INFO] |  |  \- org.jboss.xnio:xnio-api:jar:3.0.3.GA:test

          [INFO] |  +- org.jboss.remotingjmx:remoting-jmx:jar:1.0.4.Final:test

          [INFO] |  |  +- org.jboss.logmanager:jboss-logmanager:jar:1.3.1.Final:test

          [INFO] |  |  +- org.jboss.logging:jboss-logging-processor:jar:1.0.3.Final:test

          [INFO] |  |  |  \- system:jdk-tools:jar:jdk:system

          [INFO] |  |  +- org.jboss.marshalling:jboss-marshalling:jar:1.3.15.GA:test

          [INFO] |  |  +- org.jboss.marshalling:jboss-marshalling-river:jar:1.3.15.GA:test

          [INFO] |  |  \- org.jboss.xnio:xnio-nio:jar:3.0.5.GA:test

          [INFO] |  +- org.jboss.sasl:jboss-sasl:jar:1.0.3.Final:test

          [INFO] |  +- javax.inject:javax.inject:jar:1:test

          [INFO] |  +- org.jboss.arquillian.core:arquillian-core-api:jar:1.1.1.Final:test

          [INFO] |  \- org.jboss.as:jboss-as-build-config:jar:7.1.3.Final:test

          [INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.1.1.Final:test

          [INFO] |  +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.1.1.Final:test

          [INFO] |  +- org.jboss.arquillian.test:arquillian-test-api:jar:1.1.1.Final:test

          [INFO] |  +- org.jboss.arquillian.test:arquillian-test-spi:jar:1.1.1.Final:test

          [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.1.1.Final:test

          [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.1.1.Final:test

          [INFO] |  +- org.jboss.arquillian.core:arquillian-core-impl-base:jar:1.1.1.Final:test

          [INFO] |  +- org.jboss.arquillian.test:arquillian-test-impl-base:jar:1.1.1.Final:test

          [INFO] |  +- org.jboss.arquillian.container:arquillian-container-impl-base:jar:1.1.1.Final:test

          [INFO] |  |  +- org.jboss.arquillian.config:arquillian-config-api:jar:1.1.1.Final:test

          [INFO] |  |  \- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.1.1.Final:test

          [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-impl-base:jar:1.1.1.Final:test

          [INFO] |  \- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.1.2:test (version managed from 1.0.0-cr-1)

          [INFO] |     \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.1.2:test

          [INFO] +- javax.enterprise:cdi-api:jar:1.0:test

          [INFO] |  \- org.jboss.interceptor:jboss-interceptor-api:jar:1.1:test

          [INFO] +- org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar:1.0.1.Final:test

          [INFO] +- org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar:1.0.2.Final:test

          [INFO] +- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.1.1.Final:test

          [INFO] |  +- org.jboss.arquillian.container:arquillian-container-spi:jar:1.1.1.Final:test

          [INFO] |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:2.0.0-alpha-3:test

          [INFO] +- org.jboss.arquillian.extension:arquillian-persistence-impl:jar:1.0.0.Alpha6:test

          [INFO] |  +- org.jboss.arquillian.extension:arquillian-persistence-api:jar:1.0.0.Alpha6:test

          [INFO] |  +- org.jboss.arquillian.extension:arquillian-transaction-spi:jar:1.0.0.Alpha3:test

          [INFO] |  |  \- org.jboss.arquillian.extension:arquillian-transaction-api:jar:1.0.0.Alpha3:test

          [INFO] |  +- org.jboss.arquillian.extension:arquillian-transaction-jta:jar:1.0.0.Alpha3:test

          [INFO] |  |  \- org.jboss.arquillian.extension:arquillian-transaction-impl-base:jar:1.0.0.Alpha3:test

          [INFO] |  +- org.dbunit:dbunit:jar:2.4.9:test

          [INFO] |  +- org.yaml:snakeyaml:jar:1.10:test

          [INFO] |  +- org.apache.poi:poi:jar:3.2-FINAL:test

          [INFO] |  |  \- log4j:log4j:jar:1.2.13:test

          [INFO] |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0-alpha-3:test

          [INFO] +- org.jboss.arquillian.graphene:arquillian-graphene:pom:2.0.0.Alpha5:test

          [INFO] |  +- org.jboss.arquillian.graphene:graphene-selenium:pom:2.0.0.Alpha5:test

          [INFO] |  |  +- org.jboss.arquillian.graphene:graphene-selenium-impl:jar:2.0.0.Alpha5:test

          [INFO] |  |  |  \- org.jboss.arquillian.graphene:graphene-selenium-api:jar:2.0.0.Alpha5:test

          [INFO] |  |  +- org.jboss.arquillian.graphene:graphene-selenium-drone:jar:2.0.0.Alpha5:test

          [INFO] |  |  +- org.jboss.arquillian.extension:arquillian-drone-selenium-server:jar:1.2.0.Beta2:test (version managed from 1.2.0.Beta1)

          [INFO] |  |  \- org.seleniumhq.selenium:selenium-server:jar:2.35.0:test

          [INFO] |  |     +- org.bouncycastle:bcprov-jdk15on:jar:1.48:test

          [INFO] |  |     +- org.bouncycastle:bcpkix-jdk15on:jar:1.48:test

          [INFO] |  |     +- mx4j:mx4j-tools:jar:3.0.1:test

          [INFO] |  |     +- org.mortbay.jetty:servlet-api-2.5:jar:6.1.9:test

          [INFO] |  |     \- org.seleniumhq.selenium:jetty-repacked:jar:7.6.1:test

          [INFO] |  \- org.jboss.arquillian.graphene:graphene-webdriver:pom:2.0.0.Alpha5:test

          [INFO] |     +- org.jboss.arquillian.graphene:graphene-webdriver-api:jar:2.0.0.Alpha5:test

          [INFO] |     +- org.jboss.arquillian.graphene:graphene-webdriver-spi:jar:2.0.0.Alpha5:test

          [INFO] |     \- org.jboss.arquillian.graphene:graphene-webdriver-impl:jar:2.0.0.Alpha5:test

          [INFO] +- org.jboss.arquillian.extension:arquillian-drone-webdriver-depchain:pom:1.2.0.Beta2:test

          [INFO] |  +- org.jboss.arquillian.extension:arquillian-drone-api:jar:1.2.0.Beta2:test

          [INFO] |  +- org.jboss.arquillian.extension:arquillian-drone-spi:jar:1.2.0.Beta2:test

          [INFO] |  +- org.jboss.arquillian.extension:arquillian-drone-configuration:jar:1.2.0.Beta2:test

          [INFO] |  +- org.jboss.arquillian.extension:arquillian-drone-impl:jar:1.2.0.Beta2:test

          [INFO] |  +- org.jboss.arquillian.extension:arquillian-drone-webdriver:jar:1.2.0.Beta2:test

          [INFO] |  +- org.seleniumhq.selenium:selenium-api:jar:2.35.0:test

          [INFO] |  |  +- com.google.guava:guava:jar:14.0:test

          [INFO] |  |  \- org.json:json:jar:20080701:test

          [INFO] |  +- org.seleniumhq.selenium:selenium-java:jar:2.35.0:test

          [INFO] |  |  +- org.seleniumhq.selenium:selenium-safari-driver:jar:2.35.0:test

          [INFO] |  |  \- org.webbitserver:webbit:jar:0.4.14:test

          [INFO] |  |     \- io.netty:netty:jar:3.5.2.Final:test

          [INFO] |  +- org.seleniumhq.selenium:selenium-support:jar:2.35.0:test

          [INFO] |  +- org.seleniumhq.selenium:selenium-android-driver:jar:2.35.0:test

          [INFO] |  +- org.seleniumhq.selenium:selenium-chrome-driver:jar:2.35.0:test

          [INFO] |  +- org.seleniumhq.selenium:selenium-firefox-driver:jar:2.35.0:test

          [INFO] |  |  \- org.apache.commons:commons-exec:jar:1.1:test

          [INFO] |  +- org.seleniumhq.selenium:selenium-htmlunit-driver:jar:2.35.0:test

          [INFO] |  |  \- net.sourceforge.htmlunit:htmlunit:jar:2.12:test

          [INFO] |  |     +- xalan:xalan:jar:2.7.1:test

          [INFO] |  |     |  \- xalan:serializer:jar:2.7.1:test

          [INFO] |  |     +- org.apache.httpcomponents:httpmime:jar:4.2.3:test

          [INFO] |  |     +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.12:test

          [INFO] |  |     +- xerces:xercesImpl:jar:2.10.0:test

          [INFO] |  |     +- net.sourceforge.nekohtml:nekohtml:jar:1.9.18:test

          [INFO] |  |     +- net.sourceforge.cssparser:cssparser:jar:0.9.9:test

          [INFO] |  |     |  \- org.w3c.css:sac:jar:1.3:test

          [INFO] |  |     \- org.eclipse.jetty:jetty-websocket:jar:8.1.9.v20130131:test

          [INFO] |  |        +- org.eclipse.jetty:jetty-util:jar:8.1.9.v20130131:test

          [INFO] |  |        +- org.eclipse.jetty:jetty-io:jar:8.1.9.v20130131:test

          [INFO] |  |        \- org.eclipse.jetty:jetty-http:jar:8.1.9.v20130131:test

          [INFO] |  +- org.seleniumhq.selenium:selenium-ie-driver:jar:2.35.0:test

          [INFO] |  |  +- net.java.dev.jna:jna:jar:3.4.0:test

          [INFO] |  |  \- net.java.dev.jna:platform:jar:3.4.0:test

          [INFO] |  +- org.seleniumhq.selenium:selenium-iphone-driver:jar:2.35.0:test

          [INFO] |  +- org.seleniumhq.selenium:selenium-remote-driver:jar:2.35.0:test

          [INFO] |  |  \- cglib:cglib-nodep:jar:2.1_3:test

          [INFO] |  +- com.opera:operadriver:jar:1.5:test

          [INFO] |  |  +- com.opera:operalaunchers:jar:1.1:test

          [INFO] |  |  +- com.google.protobuf:protobuf-java:jar:2.4.1:test

          [INFO] |  |  +- commons-jxpath:commons-jxpath:jar:1.3:test

          [INFO] |  |  \- org.ini4j:ini4j:jar:0.5.2:test

          [INFO] |  \- org.jboss.arquillian.extension:arquillian-phantom-driver:jar:1.1.0.Beta1:test

          [INFO] |     +- com.github.detro.ghostdriver:phantomjsdriver:jar:1.0.4:test (version managed from 1.0.3)

          [INFO] |     \- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-depchain:pom:2.0.0:test

          [INFO] |        +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-spi:jar:2.0.0:test

          [INFO] |        \- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven-archive:jar:2.0.0:test

          [INFO] |           +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven-archive:jar:2.0.0:test

          [INFO] |           +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-spi-maven-archive:jar:2.0.0:test

          [INFO] |           +- org.codehaus.plexus:plexus-compiler-javac:jar:2.1:test

          [INFO] |           |  \- org.codehaus.plexus:plexus-compiler-api:jar:2.1:test

          [INFO] |           \- org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-33:test

          [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api:jar:1.1.0-alpha-3:test

          [INFO] |  \- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.1.2:test

          [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven:jar:1.1.0-alpha-3:test

          [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven:jar:1.1.0-alpha-3:test

          [INFO] |  +- org.sonatype.aether:aether-api:jar:1.12:test

          [INFO] |  +- org.sonatype.aether:aether-impl:jar:1.12:test

          [INFO] |  +- org.sonatype.aether:aether-spi:jar:1.12:test

          [INFO] |  +- org.sonatype.aether:aether-util:jar:1.12:test

          [INFO] |  +- org.sonatype.aether:aether-connector-wagon:jar:1.12:test

          [INFO] |  +- org.codehaus.plexus:plexus-classworlds:jar:2.4:test

          [INFO] |  +- org.codehaus.plexus:plexus-utils:jar:2.0.7:test

          [INFO] |  +- org.codehaus.plexus:plexus-interpolation:jar:1.14:test

          [INFO] |  +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:test

          [INFO] |  +- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:test

          [INFO] |  +- org.sonatype.plexus:plexus-cipher:jar:1.4:test

          [INFO] |  +- org.sonatype.sisu:sisu-inject-plexus:jar:2.2.2:test

          [INFO] |  +- org.sonatype.sisu:sisu-inject-bean:jar:2.2.2:test

          [INFO] |  +- org.sonatype.sisu:sisu-guice:jar:no_aop:3.0.2:test

          [INFO] |  +- org.apache.maven:maven-aether-provider:jar:3.0.3:test

          [INFO] |  +- org.apache.maven:maven-model:jar:3.0.3:test

          [INFO] |  +- org.apache.maven:maven-model-builder:jar:3.0.3:test

          [INFO] |  +- org.apache.maven:maven-repository-metadata:jar:3.0.3:test

          [INFO] |  +- org.apache.maven:maven-settings:jar:3.0.3:test

          [INFO] |  +- org.apache.maven:maven-settings-builder:jar:3.0.3:test

          [INFO] |  +- org.apache.maven.wagon:wagon-provider-api:jar:1.0:test

          [INFO] |  +- org.apache.maven.wagon:wagon-file:jar:1.0:test

          [INFO] |  +- org.apache.maven.wagon:wagon-http-lightweight:jar:1.0:test

          [INFO] |  +- org.apache.maven.wagon:wagon-http-shared:jar:1.0:test

          [INFO] |  +- commons-io:commons-io:jar:2.0.1:test

          [INFO] |  \- org.jsoup:jsoup:jar:1.6.1:test

          [INFO] +- commons-collections:commons-collections:jar:3.2.1:test (scope not updated to compile)

          [INFO] +- xml-apis:xml-apis:jar:1.4.01:test (scope not updated to compile)

          [INFO] \- javax:javaee-api:jar:6.0:provided

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

          [INFO] BUILD SUCCESS

           

          any help/suggestion is appreciated

          • 2. Re: Help setup functional tests with Graphene 2.x
            Aslak Knutsen Master

            Try using @Deployment.testable=false

            • 3. Re: Help setup functional tests with Graphene 2.x
              Rafael Pestano Novice

              now i dont get Caused by: java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver during deployment but still have the exception after the deployment:

               

              15:41:23,181 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016005: Iniciando os  Serviços para a implantação CDI: 4e6917b9-ba25-4997-94d7-81af1ecd7729.war

              15:41:23,187 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 3) JBAS011402: Iniciando Persistence Unit Serviço '4e6917b9-ba25-4997-94d7-81af1ecd7729.war#APM'

              15:41:23,188 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016008: Inicialização do serviço weld para a implantação 4e6917b9-ba25-4997-94d7-81af1ecd7729.war

              15:41:23,188 INFO  [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 3) HHH000204: Processing PersistenceUnitInfo [

                  name: APM

                  ...]

              15:41:23,313 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 3) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

              15:41:23,324 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 3) HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect

              15:41:23,327 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 3) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory

              15:41:23,328 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 3) HHH000397: Using ASTQueryTranslatorFactory

              15:41:23,432 INFO  [org.apache.myfaces.extensions.cdi.core.api.provider.ServiceProvider] (MSC service thread 1-3) org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider installed successfully.

              15:41:23,433 INFO  [org.apache.myfaces.extensions.cdi.core.api.provider.ServiceProvider] (MSC service thread 1-3) org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProviderContext installed successfully.

              15:41:23,465 INFO  [org.apache.myfaces.extensions.cdi.core.impl.projectstage.ProjectStageProducer] (MSC service thread 1-3) Computed the following CODI ProjectStage: Production

              15:41:24,269 INFO  [org.jboss.web] (ServerService Thread Pool -- 21) JBAS018210: Registra o contexto da web: /4e6917b9-ba25-4997-94d7-81af1ecd7729

              15:41:24,304 INFO  [org.jboss.resteasy.cdi.CdiInjectorFactory] (ServerService Thread Pool -- 21) Found BeanManager at java:comp/BeanManager

              15:41:24,329 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 21) Inicializando Mojarra 2.1.19-jbossorg-1 20130304-0420 para o contexto '/4e6917b9-ba25-4997-94d7-81af1ecd7729'

              15:41:25,665 INFO  [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 21) Running on PrimeFaces 3.5

              15:41:25,674 INFO  [org.primefaces.extensions.application.PostConstructApplicationEventListener] (ServerService Thread Pool -- 21) Running on PrimeFaces Extensions 0.7.1

              15:41:25,675 INFO  [org.omnifaces.eventlistener.VersionLoggerEventListener] (ServerService Thread Pool -- 21) Using OmniFaces version 1.5

              15:41:25,675 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 21) Monitoring jndi:/default-host/4e6917b9-ba25-4997-94d7-81af1ecd7729/WEB-INF/faces-config.xml for modifications

              15:41:28,271 INFO  [org.jboss.as.server] (management-handler-thread - 2) JBAS018559: Implantado "4e6917b9-ba25-4997-94d7-81af1ecd7729.war" (runtime-name: "4e6917b9-ba25-4997-94d7-81af1ecd7729.war")

              15:41:40.617 INFO - Property "remoteAdress" was not specified, using default value of http://localhost:14444/wd/hub

              15:41:41.728 INFO - Executing: [new session: {platform=ANY, browserName=firefox, version=}] at URL: /session)

              15:41:41.768 INFO - Creating a new session for Capabilities [{platform=ANY, browserName=firefox, version=}]

              15:41:54.135 WARN - Exception thrown

              java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException

              Build info: version: '2.35.0', revision: '8df0c6bedf70ff9f22c647788f9fe9c8d22210e2', time: '2013-08-17 12:46:41'

              System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.0', java.version: '1.7.0_10'

              Driver info: driver.version: unknown

                  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

                  at java.util.concurrent.FutureTask.get(FutureTask.java:111)

                  at org.openqa.selenium.remote.server.DefaultSession.execute(DefaultSession.java:176)

                  at org.openqa.selenium.remote.server.DefaultSession.<init>(DefaultSession.java:112)

                  at org.openqa.selenium.remote.server.DefaultSession.createSession(DefaultSession.java:89)

                  at org.openqa.selenium.remote.server.DefaultDriverSessions.newSession(DefaultDriverSessions.java:89)

                  at org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:63)

                  at org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:205)

                  at org.openqa.selenium.remote.server.JsonHttpRemoteConfig.handleRequest(JsonHttpRemoteConfig.java:192)

                  at org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:201)

                  at org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:167)

                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

                  at org.openqa.selenium.remote.server.DriverServlet.service(DriverServlet.java:139)

                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                  at org.openqa.jetty.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)

                  at org.openqa.jetty.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677)

                  at org.openqa.jetty.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)

                  at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526)

                  at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479)

                  at org.openqa.jetty.http.HttpServer.service(HttpServer.java:914)

                  at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)

                  at org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)

                  at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)

                  at org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)

                  at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:357)

                  at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

              Caused by: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException

              Build info: version: '2.35.0', revision: '8df0c6bedf70ff9f22c647788f9fe9c8d22210e2', time: '2013-08-17 12:46:41'

              System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.0', java.version: '1.7.0_10'

              Driver info: driver.version: unknown

                  at org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:72)

                  at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:56)

                  at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:215)

                  at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:202)

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

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

                  at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:169)

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

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

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

              Caused by: java.lang.reflect.InvocationTargetException

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

                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

                  at java.lang.reflect.Constructor.newInstance(Constructor.java:525)

                  at org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:62)

                  ... 9 more

              Caused by: java.lang.NoClassDefFoundError: org/apache/http/entity/ContentType

                  at org.openqa.selenium.remote.HttpCommandExecutor$EntityWithEncoding.<init>(HttpCommandExecutor.java:408)

                  at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:303)

                  at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.execute(NewProfileExtensionConnection.java:133)

                  at org.openqa.selenium.firefox.FirefoxDriver$LazyCommandExecutor.execute(FirefoxDriver.java:367)

                  at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)

                  at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)

                  at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)

                  at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:195)

                  at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)

                  at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:107)

                  ... 14 more

              Caused by: java.lang.ClassNotFoundException: org.apache.http.entity.ContentType

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

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

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

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

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

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

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

                  ... 24 more

              15:41:54.150 WARN - Exception: org.apache.http.entity.ContentType

              15:41:54.216 WARN - Deprecated Enhancer type, please implement DroneInstanceEnhancer instead. Deenhancing WebDriver @Default using enhancer org.jboss.arquillian.graphene.integration.GrapheneEnhancer with precedence -100

              15:41:54,280 INFO  [org.jboss.web] (ServerService Thread Pool -- 54) JBAS018224: Desregistra o contexto da web: /4e6917b9-ba25-4997-94d7-81af1ecd7729

              15:41:54,304 INFO  [stdout] (ServerService Thread Pool -- 55) Encerrando aplicação

               

              15:41:54,305 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 55) JBAS011403: Interrompendo Persistence Unit Serviço '4e6917b9-ba25-4997-94d7-81af1ecd7729.war#APM'

              15:41:54,306 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016009: Interrupção do serviço Weld para a implantação 4e6917b9-ba25-4997-94d7-81af1ecd7729.war

              15:41:54,421 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Implantação encerrada 4e6917b9-ba25-4997-94d7-81af1ecd7729.war (runtime-name: 4e6917b9-ba25-4997-94d7-81af1ecd7729.war) em 147ms

              15:41:54,644 INFO  [org.jboss.as.repository] (management-handler-thread - 3) JBAS014901: Conteúdo removido da localização C:\EAP-MODELO-6.1\jboss-eap-6.1\standalone\data\content\5c\68548f7e86fccdf0ebde37961a6a651d635213\content

              15:41:54,645 INFO  [org.jboss.as.server] (management-handler-thread - 3) JBAS018558: Desimplantado "4e6917b9-ba25-4997-94d7-81af1ecd7729.war" (runtime-name: "4e6917b9-ba25-4997-94d7-81af1ecd7729.war")

              15:41:55.094 INFO - Exiting session cleaner thread

               

               

              thanks for the quick response

              • 4. Re: Help setup functional tests with Graphene 2.x
                Rafael Pestano Novice

                solved by adding ContentType to my deployment::

                 

                in pom.xml:

                 

                <dependency>

                            <groupId>org.apache.httpcomponents</groupId>

                            <artifactId>httpcore</artifactId>

                            <version>4.2.5</version>

                            <scope>test</scope>

                  </dependency>

                 

                and to the deployment:

                 

                war.addClass(ContentType.class);

                 

                 

                Now i have only one problem, i can't run tests in mixed mode: testable=true and @RunAsClient, the normal tests raises the following exception:

                 

                22:41:42,267 INFO  [org.jboss.weld.ClassLoading] (MSC service thread 1-5) catching: org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class com.procergs.test.integration.BaseTest

                    at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:167) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.bootstrap.BeanDeployer.loadWeldClass(BeanDeployer.java:116) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:79) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:135) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:184) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:349) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:63) [jboss-as-weld-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

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

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

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

                Caused by: java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver

                    at java.lang.Class.getDeclaredMethods0(Native Method) [rt.jar:1.7.0_10]

                    at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) [rt.jar:1.7.0_10]

                    at java.lang.Class.getDeclaredMethods(Class.java:1808) [rt.jar:1.7.0_10]

                    at org.jboss.weld.util.reflection.SecureReflections$8.work(SecureReflections.java:175) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.util.reflection.SecureReflections$8.work(SecureReflections.java:172) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.util.reflection.SecureReflections.getDeclaredMethods(SecureReflections.java:172) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:235) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:121) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:59) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:50) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:358)

                    at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)

                    at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)

                    at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)

                    at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:396)

                    at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:163) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]

                    ... 11 more

                Caused by: java.lang.ClassNotFoundException: org.openqa.selenium.WebDriver from [Module "deployment.5f315f9c-13c7-42d9-b472-1dbf290f1913.war:main" from Service Module Loader]

                    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1]

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.0.Final-redhat-1]

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432) [jboss-modules.jar:1.2.0.Final-redhat-1]

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374) [jboss-modules.jar:1.2.0.Final-redhat-1]

                    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119) [jboss-modules.jar:1.2.0.Final-redhat-1]

                    ... 29 more

                 

                client tests run without errors.

                • 5. Re: Help setup functional tests with Graphene 2.x
                  Rafael Pestano Novice

                  So, continuing my experience with Graphene i've workaround the above problem by creating two deployments(a testable=false and testable=true), and now almost everything is working

                   

                  My problem now is with Page objects, if i use the @Location("myPage.xhtml") and try to run the test with @InitialPage i got the following exception:

                   

                   

                  java.lang.IllegalArgumentException: URI is not absolute

                      at java.net.URI.toURL(URI.java:1095)

                      at org.jboss.arquillian.graphene.enricher.LocationEnricher.getURLFromLocation(LocationEnricher.java:125)

                      at org.jboss.arquillian.graphene.enricher.LocationEnricher.handleLocationOf(LocationEnricher.java:80)

                      at org.jboss.arquillian.graphene.enricher.LocationEnricher.goTo(LocationEnricher.java:64)

                      at org.jboss.arquillian.graphene.enricher.LocationEnricher.resolve(LocationEnricher.java:47)

                      at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.enrichArguments(LocalTestExecuter.java:94)

                      at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

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

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

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

                      at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:53)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

                      at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)

                      at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

                      at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)

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

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

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

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

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

                      at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                   

                  if i use webDriver.get("myPage.xhtml") everything works fine.

                   

                  I am using Graphene Alpha5 cause with beta1 i got this exception:

                  java.lang.RuntimeException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

                  Build info: version: '2.35.0', revision: '8df0c6bedf70ff9f22c647788f9fe9c8d22210e2', time: '2013-08-17 12:46:41'

                  System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.0', java.version: '1.7.0_10'

                  Driver info: driver.version: RemoteWebDriver

                      at org.jboss.arquillian.drone.impl.DroneInstanceCreator.createDroneInstance(DroneInstanceCreator.java:96)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

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

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

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

                      at org.jboss.arquillian.drone.impl.DroneTestEnricher.getDroneInstance(DroneTestEnricher.java:111)

                      at org.jboss.arquillian.drone.impl.DroneTestEnricher.enrich(DroneTestEnricher.java:72)

                      at org.jboss.arquillian.test.impl.TestInstanceEnricher.enrich(TestInstanceEnricher.java:52)

                      at org.jboss.arquillian.container.test.impl.ClientTestInstanceEnricher.enrich(ClientTestInstanceEnricher.java:51)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

                      at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)

                      at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createBeforeContext(ContainerEventController.java:124)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

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

                      at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.before(EventTestRunnerAdaptor.java:95)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                      at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)

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

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

                      at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)

                      at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)

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

                  Caused by: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

                  Build info: version: '2.35.0', revision: '8df0c6bedf70ff9f22c647788f9fe9c8d22210e2', time: '2013-08-17 12:46:41'

                  System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.0', java.version: '1.7.0_10'

                  Driver info: driver.version: RemoteWebDriver

                      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)

                      at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)

                      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)

                      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:129)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createRemoteDriver(RemoteWebDriverFactory.java:142)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createReusableDriver(RemoteWebDriverFactory.java:170)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createInstance(RemoteWebDriverFactory.java:97)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createInstance(RemoteWebDriverFactory.java:48)

                      at org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:117)

                      at org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:37)

                      at org.jboss.arquillian.drone.impl.DroneCallableCreator$1.call(DroneCallableCreator.java:89)

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

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

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

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

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

                  Caused by: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:14444 refused

                      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)

                      at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)

                      at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)

                      at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)

                      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)

                      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)

                      at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:319)

                      at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:298)

                      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)

                      at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)

                      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)

                      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:129)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createRemoteDriver(RemoteWebDriverFactory.java:142)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createReusableDriver(RemoteWebDriverFactory.java:170)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createInstance(RemoteWebDriverFactory.java:97)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createInstance(RemoteWebDriverFactory.java:48)

                      at org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:117)

                      at org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:37)

                      at org.jboss.arquillian.drone.impl.DroneCallableCreator$1.call(DroneCallableCreator.java:89)

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

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

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

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

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

                  Caused by: java.net.ConnectException: Connection refused: connect

                      at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)

                      at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:75)

                      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

                      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

                      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

                      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)

                      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)

                      at java.net.Socket.connect(Socket.java:579)

                      at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)

                      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)

                      at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)

                      at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)

                      at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)

                      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)

                      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)

                      at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:319)

                      at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:298)

                      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)

                      at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)

                      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)

                      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:129)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createRemoteDriver(RemoteWebDriverFactory.java:142)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createReusableDriver(RemoteWebDriverFactory.java:170)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createInstance(RemoteWebDriverFactory.java:97)

                      at org.jboss.arquillian.drone.webdriver.factory.RemoteWebDriverFactory.createInstance(RemoteWebDriverFactory.java:48)

                      at org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:117)

                      at org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:37)

                      at org.jboss.arquillian.drone.impl.DroneCallableCreator$1.call(DroneCallableCreator.java:89)

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

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

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

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

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

                   

                  com.procergs.test.functional.FunctionalTests  Time elapsed: 5.181 sec  <<< ERROR!

                  java.lang.IllegalStateException: Unexpected callable present in Drone Context, should be already instantiated at this moment.

                      at org.jboss.arquillian.drone.impl.InstanceOrCallableInstanceImpl.asInstance(InstanceOrCallableInstanceImpl.java:57)

                      at org.jboss.arquillian.drone.impl.DroneEnhancer.deenhanceDrone(DroneEnhancer.java:159)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

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

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

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

                      at org.jboss.arquillian.drone.impl.DroneDestructor.destroyClassScopedDrone(DroneDestructor.java:84)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

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

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:601)

                      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

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

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

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

                      at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.afterClass(EventTestRunnerAdaptor.java:87)

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

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

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

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

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

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

                      at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)

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

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

                      at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)

                      at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)

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

                   

                  here is my updated pom:

                  <!-- arquillian-->

                  <dependency>

                      <groupId>org.jboss.as</groupId>

                      <artifactId>jboss-as-arquillian-container-managed</artifactId>

                      <scope>test</scope>

                      <version>7.1.3.Final</version>

                  </dependency>

                  <dependency>

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

                      <artifactId>arquillian-junit-container</artifactId>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

                      <groupId>javax.enterprise</groupId>

                      <artifactId>cdi-api</artifactId>

                      <scope>test</scope>

                      <version>1.0</version>

                  </dependency>

                  <dependency>

                      <groupId>org.jboss.spec.javax.annotation</groupId>

                      <artifactId>jboss-annotations-api_1.1_spec</artifactId>

                      <version>1.0.1.Final</version>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

                      <groupId>org.jboss.spec.javax.ejb</groupId>

                      <artifactId>jboss-ejb-api_3.1_spec</artifactId>

                      <version>1.0.2.Final</version>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

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

                      <artifactId>arquillian-protocol-servlet</artifactId>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

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

                      <artifactId>arquillian-persistence-impl</artifactId>

                      <version>1.0.0.Alpha6</version>

                      <scope>test</scope>

                  </dependency>

                  <!-- graphene -->

                  <dependency>

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

                      <artifactId>arquillian-graphene</artifactId>

                      <version>2.0.0.Alpha5</version>

                      <type>pom</type>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

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

                      <artifactId>graphene-webdriver</artifactId>

                      <type>pom</type>

                      <scope>test</scope>

                      <version>2.0.0.Alpha5</version>

                  </dependency>  

                  <dependency>

                      <groupId>org.jboss.shrinkwrap.resolver</groupId>

                      <artifactId>shrinkwrap-resolver-api</artifactId>

                      <version>1.1.0-alpha-3</version>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

                      <groupId>org.jboss.shrinkwrap.resolver</groupId>

                      <artifactId>shrinkwrap-resolver-api-maven</artifactId>

                      <version>1.1.0-alpha-3</version>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

                      <groupId>org.jboss.shrinkwrap.resolver</groupId>

                      <artifactId>shrinkwrap-resolver-impl-maven</artifactId>

                      <version>1.1.0-alpha-3</version>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

                      <groupId>org.apache.httpcomponents</groupId>

                      <artifactId>httpcore</artifactId>

                      <version>4.2.5</version>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

                      <groupId>commons-collections</groupId>

                      <artifactId>commons-collections</artifactId>

                      <version>3.2.1</version>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

                      <groupId>xml-apis</groupId>

                      <artifactId>xml-apis</artifactId>

                      <version>1.4.01</version>

                      <scope>test</scope>

                  </dependency>

                  <dependency>

                      <groupId>org.slf4j</groupId>

                      <artifactId>slf4j-log4j12</artifactId>

                      <version>1.7.5</version>

                      <scope>test</scope>

                  </dependency>

                   

                  <dependencyManagement>

                          <dependencies>

                              <dependency>

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

                                  <artifactId>arquillian-bom</artifactId>

                                  <version>1.1.1.Final</version>

                                  <type>pom</type>

                                  <scope>import</scope>

                              </dependency>

                              <dependency>

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

                                  <artifactId>arquillian-drone-bom</artifactId>

                                  <version>1.2.0.Beta2</version>

                                  <type>pom</type>

                                  <scope>import</scope>

                              </dependency>

                          </dependencies>

                  </dependencyManagement>

                   

                  my generated war for functional tests:

                   

                  c73f6bf9-dd80-4abc-8472-c1b65fe3467b.war:

                  /mod-inscricoes/

                  /mod-inscricoes/aluno-form.xhtml

                  /mod-inscricoes/aluno-list.xhtml

                  /mod-inscricoes/turma-form.xhtml

                  /mod-inscricoes/turma-list.xhtml

                  /config.xhtml

                  /mod-tabelas/

                  /mod-tabelas/curso-form.xhtml

                  /mod-tabelas/instrutor-list.xhtml

                  /mod-tabelas/curso-list.xhtml

                  /mod-tabelas/recurso-list.xhtml

                  /mod-tabelas/recurso-form.xhtml

                  /mod-tabelas/instrutor-form.xhtml

                  /redirect.xhtml

                  /admin.xhtml

                  /WEB-INF/

                  /WEB-INF/lib/

                  /WEB-INF/lib/jfreechart-1.0.12.jar

                  /WEB-INF/lib/jackson-databind-2.0.5.jar

                  /WEB-INF/lib/prarqjava4-0.9.7.jar

                  /WEB-INF/lib/commons-digester-2.1.jar

                  /WEB-INF/lib/httpcore-4.2.5.jar

                  /WEB-INF/lib/jackson-core-asl-1.5.5.jar

                  /WEB-INF/lib/xml-apis-1.4.01.jar

                  /WEB-INF/lib/primefaces-extensions-0.7.1.jar

                  /WEB-INF/lib/commons-lang3-3.1.jar

                  /WEB-INF/lib/gson-2.2.2.jar

                  /WEB-INF/lib/sca-ws-1.0.2.jar

                  /WEB-INF/lib/jdtcore-3.1.0.jar

                  /WEB-INF/lib/primefaces-3.5.jar

                  /WEB-INF/lib/commons-beanutils-1.8.0.jar

                  /WEB-INF/lib/jasperreports-5.1.2.jar

                  /WEB-INF/lib/commons-collections-3.2.1.jar

                  /WEB-INF/lib/jackson-annotations-2.0.5.jar

                  /WEB-INF/lib/jackson-core-2.0.5.jar

                  /WEB-INF/lib/omnifaces-1.5.jar

                  /WEB-INF/lib/castor-1.2.jar

                  /WEB-INF/lib/myfaces-extcdi-bundle-jsf20-1.0.5.jar

                  /WEB-INF/lib/commons-logging-1.1.1.jar

                  /WEB-INF/lib/jcommon-1.0.15.jar

                  /WEB-INF/faces-config.xml

                  /WEB-INF/beans.xml

                  /WEB-INF/jboss-deployment-structure.xml

                  /WEB-INF/templates/

                  /WEB-INF/templates/layout-classic.xhtml

                  /WEB-INF/templates/layout-simple.xhtml

                  /WEB-INF/templates/layout-horizontal.xhtml

                  /WEB-INF/templates/menu.xhtml

                  /WEB-INF/web.xml

                  /WEB-INF/classes/

                  /WEB-INF/classes/messages_pt.properties

                  /WEB-INF/classes/soe.properties

                  /WEB-INF/classes/messages_en.properties

                  /WEB-INF/classes/com/

                  /WEB-INF/classes/com/procergs/

                  /WEB-INF/classes/com/procergs/apm/

                  /WEB-INF/classes/com/procergs/apm/instrutor/

                  /WEB-INF/classes/com/procergs/apm/instrutor/InstrutorBD.class

                  /WEB-INF/classes/com/procergs/apm/instrutor/InstrutorRN.class

                  /WEB-INF/classes/com/procergs/apm/turma/

                  /WEB-INF/classes/com/procergs/apm/turma/TurmaRN.class

                  /WEB-INF/classes/com/procergs/apm/turma/HorarioBD.class

                  /WEB-INF/classes/com/procergs/apm/turma/TurmaBD.class

                  /WEB-INF/classes/com/procergs/apm/curso/

                  /WEB-INF/classes/com/procergs/apm/curso/CursoRN.class

                  /WEB-INF/classes/com/procergs/apm/curso/CursoBD.class

                  /WEB-INF/classes/com/procergs/apm/ed/

                  /WEB-INF/classes/com/procergs/apm/ed/AlunoED.class

                  /WEB-INF/classes/com/procergs/apm/ed/HorarioED.class

                  /WEB-INF/classes/com/procergs/apm/ed/CursoPesqED.class

                  /WEB-INF/classes/com/procergs/apm/ed/TurmaPesqED.class

                  /WEB-INF/classes/com/procergs/apm/ed/RecursoED.class

                  /WEB-INF/classes/com/procergs/apm/ed/InstrutorED.class

                  /WEB-INF/classes/com/procergs/apm/ed/TurmaSimplesED.class

                  /WEB-INF/classes/com/procergs/apm/ed/CursoED.class

                  /WEB-INF/classes/com/procergs/apm/ed/TurmaED.class

                  /WEB-INF/classes/com/procergs/apm/infra/

                  /WEB-INF/classes/com/procergs/apm/infra/AppED.class

                  /WEB-INF/classes/com/procergs/apm/infra/AppBD.class

                  /WEB-INF/classes/com/procergs/apm/infra/SessionFilter.class

                  /WEB-INF/classes/com/procergs/apm/infra/AppRN.class

                  /WEB-INF/classes/com/procergs/apm/infra/AppListMB.class

                  /WEB-INF/classes/com/procergs/apm/infra/AppFormMB.class

                  /WEB-INF/classes/com/procergs/apm/infra/AppInterceptorImpl.class

                  /WEB-INF/classes/com/procergs/apm/infra/AppInterceptor.class

                  /WEB-INF/classes/com/procergs/apm/remote/

                  /WEB-INF/classes/com/procergs/apm/remote/TurmaRest$QueryResponse.class

                  /WEB-INF/classes/com/procergs/apm/remote/TurmaRest.class

                  /WEB-INF/classes/META-INF/

                  /WEB-INF/classes/META-INF/persistence.xml

                  /WEB-INF/classes/application.properties

                  /resources/

                  /resources/css/

                  /resources/css/default.css

                  /resources/primefaces-apm/

                  /resources/primefaces-apm/theme.css

                  /resources/js/

                  /resources/js/applib.js

                  /index.xhtml

                  /public/

                  /public/turmas.xhtml

                  /public/tests.xhtml

                  /logon.xhtml

                   

                  I understand its beta yet but any help is appreciated

                  • 6. Re: Help setup functional tests with Graphene 2.x
                    Rafael Pestano Novice

                    got it working with Beta2, here is my final pom:

                     

                     

                    <properties>
                    <version.selenium>2.35.0</version.selenium>
                    <version.drone>1.2.0.Beta2</version.drone>
                    <version.arquillian>1.1.1.Final</version.arquillian>
                    <version.graphene>2.0.0.Beta2</version.graphene>

                        </properties>

                     

                     

                    <dependencies>

                    <!-- Arquillian dependencies --

                    <dependency>

                                <groupId>org.jboss.as</groupId>

                                <artifactId>jboss-as-arquillian-container-managed</artifactId>

                                <scope>test</scope>

                                <version>7.2.0.Final</version><!--deve ser igual a versao do server onde

                                    os testes irão executar -->

                            </dependency>

                     

                            <dependency>

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

                                <artifactId>arquillian-junit-container</artifactId>

                                <scope>test</scope>

                            </dependency>

                            <dependency>

                                <groupId>javax.enterprise</groupId>

                                <artifactId>cdi-api</artifactId>

                                <scope>test</scope>

                                <version>1.0</version>

                            </dependency>

                            <dependency>

                                <groupId>org.jboss.spec.javax.annotation</groupId>

                                <artifactId>jboss-annotations-api_1.1_spec</artifactId>

                                <version>1.0.1.Final</version>

                                <scope>test</scope>

                            </dependency>

                            <dependency>

                                <groupId>org.jboss.spec.javax.ejb</groupId>

                                <artifactId>jboss-ejb-api_3.1_spec</artifactId>

                                <version>1.0.2.Final</version>

                                <scope>test</scope>

                            </dependency>

                            <dependency>

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

                                <artifactId>arquillian-protocol-servlet</artifactId>

                                <scope>test</scope>

                            </dependency>

                            <dependency>

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

                                <artifactId>arquillian-persistence-impl</artifactId>

                                <version>1.0.0.Alpha6</version>

                                <scope>test</scope>

                            </dependency>

                     

                            <!-- drone + graphene -->

                     

                     

                            <dependency>

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

                                <artifactId>graphene-webdriver</artifactId>

                                <type>pom</type>

                                <scope>test</scope>

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

                            </dependency>

                     

                            <dependency>

                                <groupId>org.jboss.shrinkwrap.resolver</groupId>

                                <artifactId>shrinkwrap-resolver-depchain</artifactId>

                                <scope>test</scope>

                                <type>pom</type>

                            </dependency>

                            <dependency>

                                <groupId>org.apache.httpcomponents</groupId>

                                <artifactId>httpcore</artifactId>

                                <version>4.2.5</version>

                                <scope>test</scope>

                            </dependency>

                            <dependency>

                                <groupId>commons-collections</groupId>

                                <artifactId>commons-collections</artifactId>

                                <version>3.2.1</version>

                                <scope>test</scope>

                            </dependency>

                            <dependency>

                                <groupId>xml-apis</groupId>

                                <artifactId>xml-apis</artifactId>

                                <version>1.4.01</version>

                                <scope>test</scope>

                            </dependency>

                     

                            <dependency>

                                <groupId>org.slf4j</groupId>

                                <artifactId>slf4j-log4j12</artifactId>

                                <version>1.7.5</version>

                                <scope>test</scope>

                            </dependency>

                    </dependencies>

                     

                    <dependencyManagement>

                            <dependencies>

                                <dependency>

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

                                    <artifactId>arquillian-bom</artifactId>

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

                                    <type>pom</type>

                                    <scope>import</scope>

                                </dependency>

                                <dependency>

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

                                    <artifactId>arquillian-drone-bom</artifactId>

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

                                    <type>pom</type>

                                    <scope>import</scope>

                                </dependency>

                                <dependency>

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

                                    <artifactId>selenium-bom</artifactId>

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

                                    <type>pom</type>

                                    <scope>import</scope>

                                </dependency>

                            </dependencies>

                        </dependencyManagement>

                    • 7. Re: Help setup functional tests with Graphene 2.x
                      Karel Piwko Master

                      Hi,

                       

                      please follow this guide http://arquillian.org/guides/functional_testing_using_graphene/ and Drone - Arquillian - Project Documentation Editor in order setup dependencies. I see a lot of stuff that's not needed in both <dependencies> and <dependencyManagement> sections. Note, you likely want to use Drone 1.2.0.CR1 and Graphene 1.2.0.CR1 version, as those were released today.

                       

                      In short, you want to have:

                       

                      in <dependencyManagement> section (all BOMs are imported with scope "import" and type "pom"):

                      arquillian-bom

                      arquillian-drone-bom

                      [optionally] selenium-bom [if you want to use other version than 2.35.0 - the default set in Drone]

                       

                      in <dependencies> section (all depchains are imported with scope you want - likely "test", and type "pom" - in <dependencies> section never mention versions, they are managed by BOMs already)

                      graphene-webdriver - that only think you need for Graphene2, no -*selenium, impls, etc

                      [optionally] shrinkwrap-resolver-depchain - if you want to resolve jars, wars for Maven - see https://github.com/shrinkwrap/resolver/blob/master/README.asciidoc

                       

                      No other shrinkwrap-resolver-* and arquillian-drone*, arquillian-graphene* and selenium* related artifacts are needed.

                       

                      Hope that helps,

                       

                      Karel

                      1 of 1 people found this helpful
                      • 8. Re: Help setup functional tests with Graphene 2.x
                        Karel Piwko Master

                        Just a side note, -with-tools BOM represents a stack of tools tested together, so it would replace all testing related BOMs imported in <depenendencyManagement> section. There might be dragons if you try to use it together with tools that are not there, such as Graphene2.

                        • 9. Re: Help setup functional tests with Graphene 2.x
                          Rafael Pestano Novice

                          thanks Karel, just updated the post.