1 Reply Latest reply on Jun 7, 2013 5:51 PM by Aslak Knutsen

    Arquillian, JBoss AS 7 managed and Apache Wicket

    David Beer Newbie

      Has anyone managed to setup Wicket testing with Arquillian using a manged JBoss AS 7 server with either junit or testng? I am trying to do some basic testing and parsing of pages first but am having a few problems. I have added the required dependencies in my Maven pom. I have alos added the dependencies via Shrinkwrpap in my test class but I always get an exception class not found. The class not found is the test class which I have added to the test.war.

       

      The JBoss output is as follows:

       

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

      T E S T S

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

      Running com.copperarrow.example.wickettesting.HomePageNGTest

      Configuring TestNG with: TestNG652Configurator

      Jun 07, 2013 3:55:45 PM org.jboss.as.arquillian.container.managed.ManagedDeployableContainer startInternal

      INFO: Starting container with: [/usr/lib/jvm/jdk1.7.0_21/bin/java, -Xmx512m, -XX:MaxPermSize=128m, -ea, -Djboss.home.dir=/home/dbeer/Software-Development/jboss-as-7.1.1.Final, -Dorg.jboss.boot.log.file=/home/dbeer/Software-Development/jboss-as-7.1.1.Final/standalone/log/boot.log, -Dlogging.configuration=file:/home/dbeer/Software-Development/jboss-as-7.1.1.Final/standalone/configuration/logging.properties, -Djboss.modules.dir=/home/dbeer/Software-Development/jboss-as-7.1.1.Final/modules, -Djboss.bundles.dir=/home/dbeer/Software-Development/jboss-as-7.1.1.Final/bundles, -jar, /home/dbeer/Software-Development/jboss-as-7.1.1.Final/jboss-modules.jar, -mp, /home/dbeer/Software-Development/jboss-as-7.1.1.Final/modules, -jaxpmodule, javax.xml.jaxp-provider, org.jboss.as.standalone, -server-config, standalone.xml]

      INFO  - xnio                       - XNIO Version 3.0.0.GA

      INFO  - nio                        - XNIO NIO Implementation Version 3.0.0.GA

      INFO  - remoting                   - JBoss Remoting version 3.2.3.GA

      15:55:45,867 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      15:55:46,306 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      15:55:46,371 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      15:55:47,736 INFO  [org.xnio] XNIO Version 3.0.3.GA

      15:55:47,737 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

      15:55:47,751 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

      15:55:47,762 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA

      15:55:47,831 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

      15:55:47,833 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem

      15:55:47,864 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

      15:55:47,972 INFO  [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

      15:55:47,974 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem

      15:55:47,993 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem

      15:55:47,997 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem

      15:55:48,013 INFO  [org.jboss.as.security] (MSC service thread 1-3) JBAS013100: Current PicketBox version=4.0.7.Final

      15:55:48,094 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension

      15:55:48,193 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service

      15:55:48,202 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-4) JBAS015400: Bound mail session [java:jboss/mail/Default]

      15:55:48,295 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      15:55:48,328 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.2)

      15:55:48,732 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-1) JBoss Web Services - Stack CXF Server 4.0.2.GA

      15:55:48,771 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080

      15:55:49,913 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/guestbook]

      15:55:49,915 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      15:55:49,985 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:4447

      15:55:49,986 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999

      15:55:49,994 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory /home/dbeer/Software-Development/jboss-as-7.1.1.Final/standalone/deployments

      15:55:50,197 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

      15:55:50,198 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 5029ms - Started 137 of 213 services (74 services are passive or on-demand)

      Jun 07, 2013 3:55:56 PM org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl resolveAsFiles

      INFO: Removed POM artifact org.apache.wicket:wicket:pom:6.8.0 from archive, it's dependencies were fetched.

      Jun 07, 2013 3:55:56 PM org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl resolveAsFiles

      INFO: Removed POM artifact org.jboss.spec:jboss-javaee-6.0:pom:1.0.0.Final from archive, it's dependencies were fetched.

      test.war:

      /WEB-INF/

      /WEB-INF/lib/

      /WEB-INF/lib/arquillian-core-api-1.0.0.CR7.jar

      /WEB-INF/lib/aether-impl-1.8.jar

      /WEB-INF/lib/shrinkwrap-resolver-api-maven-1.0.0-beta-7.jar

      /WEB-INF/lib/jboss-as-domain-management-7.1.1.Final.jar

      /WEB-INF/lib/shrinkwrap-spi-1.0.1.jar

      /WEB-INF/lib/javassist-3.15.0-GA.jar

      /WEB-INF/lib/cdi-api-1.0-SP4.jar

      /WEB-INF/lib/jboss-jaxws-api_2.2_spec-1.0.0.Final.jar

      /WEB-INF/lib/xnio-nio-3.0.3.GA.jar

      /WEB-INF/lib/org.osgi.compendium-4.2.0.jar

      /WEB-INF/lib/arquillian-protocol-jmx-1.0.0.CR7.jar

      /WEB-INF/lib/jbosgi-resolver-api-1.0.13.Final.jar

      /WEB-INF/lib/jbosgi-metadata-2.0.3.Final.jar

      /WEB-INF/lib/xbean-reflect-3.4.jar

      /WEB-INF/lib/jbosgi-deployment-1.0.12.Final.jar

      /WEB-INF/lib/jboss-dmr-1.1.1.Final.jar

      /WEB-INF/lib/xnio-api-3.0.0.GA.jar

      /WEB-INF/lib/jbosgi-resolver-api-v2-2.0.0.Beta2.jar

      /WEB-INF/lib/jboss-annotations-api_1.1_spec-1.0.1.Final.jar

      /WEB-INF/lib/arquillian-testenricher-resource-1.0.0.CR7.jar

      /WEB-INF/lib/jboss-as-remoting-7.1.1.Final.jar

      /WEB-INF/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar

      /WEB-INF/lib/jboss-connector-api_1.5_spec-1.0.0.Final.jar

      /WEB-INF/lib/asm-3.3.1.jar

      /WEB-INF/lib/wicketstuff-javaee-inject-6.8.0.jar

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

      /WEB-INF/lib/jboss-as-controller-7.1.1.Final.jar

      /WEB-INF/lib/plexus-interpolation-1.14.jar

      /WEB-INF/lib/shrinkwrap-descriptors-spi-2.0.0-alpha-3.jar

      /WEB-INF/lib/jboss-el-api_2.2_spec-1.0.0.Final.jar

      /WEB-INF/lib/tools.jar

      /WEB-INF/lib/aether-api-1.8.jar

      /WEB-INF/lib/jboss-metadata-ear-7.0.1.Final.jar

      /WEB-INF/lib/arquillian-test-api-1.0.4.Final.jar

      /WEB-INF/lib/wicket-devutils-6.8.0.jar

      /WEB-INF/lib/google-collections-1.0.jar

      /WEB-INF/lib/arquillian-container-test-spi-1.0.4.Final.jar

      /WEB-INF/lib/jboss-jaxrpc-api_1.1_spec-1.0.0.Final.jar

      /WEB-INF/lib/jboss-jaxb-api_2.2_spec-1.0.0.Final.jar

      /WEB-INF/lib/jboss-as-deployment-repository-7.1.1.Final.jar

      /WEB-INF/lib/guava-11.0.2.jar

      /WEB-INF/lib/hibernate-commons-annotations-4.0.1.Final.jar

      /WEB-INF/lib/arquillian-config-api-1.0.4.Final.jar

      /WEB-INF/lib/jboss-as-arquillian-protocol-jmx-7.1.1.Final.jar

      /WEB-INF/lib/jboss-as-embedded-7.1.1.Final.jar

      /WEB-INF/lib/jboss-interceptor-spi-2.0.0.Final.jar

      /WEB-INF/lib/arquillian-container-test-api-1.0.4.Final.jar

      /WEB-INF/lib/jboss-sasl-1.0.0.Final.jar

      /WEB-INF/lib/jboss-saaj-api_1.3_spec-1.0.0.Final.jar

      /WEB-INF/lib/arquillian-test-impl-base-1.0.4.Final.jar

      /WEB-INF/lib/wicket-util-6.8.0.jar

      /WEB-INF/lib/wicket-cdi-6.8.0.jar

      /WEB-INF/lib/jboss-ejb-api_3.1_spec-1.0.2.Final.jar

      /WEB-INF/lib/jsr181-api-1.0-MR1.jar

      /WEB-INF/lib/javassist-3.12.1.GA.jar

      /WEB-INF/lib/plexus-classworlds-2.2.2.jar

      /WEB-INF/lib/jbosgi-resolver-felix-1.0.13.Final.jar

      /WEB-INF/lib/jboss-as-ee-7.1.1.Final.jar

      /WEB-INF/lib/jboss-as-server-7.1.1.Final.jar

      /WEB-INF/lib/jandex-1.0.3.Final.jar

      /WEB-INF/lib/jboss-as-network-7.1.1.Final.jar

      /WEB-INF/lib/aether-spi-1.8.jar

      /WEB-INF/lib/arquillian-core-impl-base-1.0.4.Final.jar

      /WEB-INF/lib/maven-settings-builder-3.0.1.jar

      /WEB-INF/lib/maven-settings-3.0.1.jar

      /WEB-INF/lib/jboss-marshalling-river-1.3.11.GA.jar

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

      /WEB-INF/lib/dom4j-1.6.1.jar

      /WEB-INF/lib/plexus-sec-dispatcher-1.3.jar

      /WEB-INF/lib/fest-util-1.1.6.jar

      /WEB-INF/lib/jboss-jacc-api_1.4_spec-1.0.0.Final.jar

      /WEB-INF/lib/jboss-modules-1.1.1.GA.jar

      /WEB-INF/lib/aether-util-1.8.jar

      /WEB-INF/lib/jbosgi-vfs30-1.0.7.Final.jar

      /WEB-INF/lib/arquillian-core-spi-1.0.0.CR7.jar

      /WEB-INF/lib/seam-conversation-spi-3.0.0.Final.jar

      /WEB-INF/lib/jsf-api-2.0.3-b05.jar

      /WEB-INF/lib/maven-repository-metadata-3.0.1.jar

      /WEB-INF/lib/remoting-jmx-1.0.2.Final.jar

      /WEB-INF/lib/jsr305-1.3.9.jar

      /WEB-INF/lib/aether-connector-wagon-1.8.jar

      /WEB-INF/lib/testng-6.8.5.jar

      /WEB-INF/lib/plexus-container-default-1.5.5.jar

      /WEB-INF/lib/jboss-as-platform-mbean-7.1.1.Final.jar

      /WEB-INF/lib/shrinkwrap-resolver-impl-maven-1.0.0-beta-7.jar

      /WEB-INF/lib/plexus-component-annotations-1.5.5.jar

      /WEB-INF/lib/jboss-as-build-config-7.1.1.Final.jar

      /WEB-INF/lib/jboss-transaction-api_1.1_spec-1.0.0.Final.jar

      /WEB-INF/lib/jboss-as-osgi-service-7.1.1.Final.jar

      /WEB-INF/lib/antlr-2.7.7.jar

      /WEB-INF/lib/maven-aether-provider-3.0.1.jar

      /WEB-INF/lib/jboss-interceptors-api_1.1_spec-1.0.0.Final.jar

      /WEB-INF/lib/arquillian-container-osgi-1.0.2.Final.jar

      /WEB-INF/lib/jboss-as-controller-client-7.1.1.Final.jar

      /WEB-INF/lib/arquillian-testng-container-1.0.4.Final.jar

      /WEB-INF/lib/staxmapper-1.1.0.Final.jar

      /WEB-INF/lib/jcommander-1.27.jar

      /WEB-INF/lib/activation-1.1.jar

      /WEB-INF/lib/shrinkwrap-api-1.0.0-cr-1.jar

      /WEB-INF/lib/wicket-core-6.8.0.jar

      /WEB-INF/lib/fest-assert-1.4.jar

      /WEB-INF/lib/wagon-file-1.0-beta-7.jar

      /WEB-INF/lib/jboss-remoting-3.2.3.GA.jar

      /WEB-INF/lib/jboss-as-jmx-7.1.1.Final.jar

      /WEB-INF/lib/wagon-http-lightweight-1.0-beta-7.jar

      /WEB-INF/lib/jboss-common-core-2.2.17.GA.jar

      /WEB-INF/lib/jaxrs-api-2.1.0.GA.jar

      /WEB-INF/lib/arquillian-testenricher-osgi-1.0.2.Final.jar

      /WEB-INF/lib/maven-model-builder-3.0.1.jar

      /WEB-INF/lib/arquillian-testng-core-1.0.4.Final.jar

      /WEB-INF/lib/slf4j-log4j12-1.6.4.jar

      /WEB-INF/lib/jbosgi-framework-core-1.1.8.Final.jar

      /WEB-INF/lib/javax.inject-1.jar

      /WEB-INF/lib/jboss-remote-naming-1.0.2.Final.jar

      /WEB-INF/lib/jboss-as-arquillian-container-managed-7.1.1.Final.jar

      /WEB-INF/lib/jbosgi-repository-api-1.0.5.jar

      /WEB-INF/lib/jboss-servlet-api_3.0_spec-1.0.0.Final.jar

      /WEB-INF/lib/jboss-logmanager-1.2.2.GA.jar

      /WEB-INF/lib/log4j-1.2.16.jar

      /WEB-INF/lib/org.apache.felix.resolver-0.1.0.Beta1.jar

      /WEB-INF/lib/org.osgi.core-4.2.0.jar

      /WEB-INF/lib/plexus-cipher-1.4.jar

      /WEB-INF/lib/jboss-msc-1.0.2.GA.jar

      /WEB-INF/lib/jboss-jad-api_1.2_spec-1.0.0.Final.jar

      /WEB-INF/lib/jboss-as-naming-7.1.1.Final.jar

      /WEB-INF/lib/jboss-as-threads-7.1.1.Final.jar

      /WEB-INF/lib/jbosgi-resolver-spi-1.0.13.Final.jar

      /WEB-INF/lib/arquillian-testenricher-initialcontext-1.0.0.CR7.jar

      /WEB-INF/lib/snakeyaml-1.6.jar

      /WEB-INF/lib/wicket-ioc-6.8.0.jar

      /WEB-INF/lib/jboss-jaspi-api_1.0_spec-1.0.0.Final.jar

      /WEB-INF/lib/reflections-0.9.8.jar

      /WEB-INF/lib/jboss-as-domain-http-interface-7.1.1.Final.jar

      /WEB-INF/lib/commons-logging-api-1.1.jar

      /WEB-INF/lib/junit-4.10.jar

      /WEB-INF/lib/httpserver-1.0.0.Final.jar

      /WEB-INF/lib/arquillian-config-impl-base-1.0.4.Final.jar

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

      /WEB-INF/lib/stax-api-1.0.1.jar

      /WEB-INF/lib/wicket-request-6.8.0.jar

      /WEB-INF/lib/hamcrest-core-1.1.jar

      /WEB-INF/lib/org.osgi.enterprise-4.2.0.jar

      /WEB-INF/lib/jbosgi-vfs-1.0.7.Final.jar

      /WEB-INF/lib/shrinkwrap-descriptors-api-base-2.0.0-alpha-3.jar

      /WEB-INF/lib/jboss-ejb-client-1.0.0.Final.jar

      /WEB-INF/lib/shrinkwrap-resolver-api-1.0.0-beta-7.jar

      /WEB-INF/lib/hibernate-core-4.1.1.Final.jar

      /WEB-INF/lib/shrinkwrap-impl-base-1.0.1.jar

      /WEB-INF/lib/jboss-threads-2.0.0.GA.jar

      /WEB-INF/lib/bsh-2.0b4.jar

      /WEB-INF/lib/jboss-jsp-api_2.2_spec-1.0.0.Final.jar

      /WEB-INF/lib/jboss-invocation-1.1.1.Final.jar

      /WEB-INF/lib/jboss-metadata-common-7.0.1.Final.jar

      /WEB-INF/lib/arquillian-testenricher-cdi-1.0.0.CR7.jar

      /WEB-INF/lib/arquillian-testenricher-ejb-1.0.0.CR7.jar

      /WEB-INF/lib/jboss-logmanager-log4j-1.0.0.GA.jar

      /WEB-INF/lib/jboss-as-process-controller-7.1.1.Final.jar

      /WEB-INF/lib/jboss-marshalling-1.3.9.GA.jar

      /WEB-INF/lib/jboss-stdio-1.0.1.GA.jar

      /WEB-INF/lib/slf4j-api-1.6.4.jar

      /WEB-INF/lib/wagon-http-shared-1.0-beta-7.jar

      /WEB-INF/lib/mail-1.4.2.jar

      /WEB-INF/lib/wicket-extensions-6.8.0.jar

      /WEB-INF/lib/jboss-vfs-3.1.0.Final.jar

      /WEB-INF/lib/arquillian-container-test-impl-base-1.0.4.Final.jar

      /WEB-INF/lib/arquillian-test-spi-1.0.4.Final.jar

      /WEB-INF/lib/validation-api-1.0.0.GA.jar

      /WEB-INF/lib/jboss-as-arquillian-testenricher-msc-7.1.1.Final.jar

      /WEB-INF/lib/jboss-jms-api_1.1_spec-1.0.0.Final.jar

      /WEB-INF/lib/jbosgi-spi-3.0.1.Final.jar

      /WEB-INF/lib/hibernate-validator-4.2.0.Final.jar

      /WEB-INF/lib/maven-model-3.0.1.jar

      /WEB-INF/lib/jboss-as-arquillian-common-7.1.1.Final.jar

      /WEB-INF/lib/jboss-as-protocol-7.1.1.Final.jar

      /WEB-INF/lib/plexus-utils-2.0.4.jar

      /WEB-INF/lib/jbosgi-repository-core-1.0.5.jar

      /WEB-INF/lib/jboss-jaxr-api_1.0_spec-1.0.0.Final.jar

      /WEB-INF/lib/arquillian-container-impl-base-1.0.4.Final.jar

      /WEB-INF/lib/jboss-logging-3.1.0.GA.jar

      /WEB-INF/lib/wagon-provider-api-1.0-beta-7.jar

      /WEB-INF/lib/arquillian-container-spi-1.0.4.Final.jar

      /WEB-INF/classes/

      /WEB-INF/classes/com/

      /WEB-INF/classes/com/copperarrow/

      /WEB-INF/classes/com/copperarrow/example/

      /WEB-INF/classes/com/copperarrow/example/wickettesting/

      /WEB-INF/classes/com/copperarrow/example/wickettesting/HomePageNGTest.class

      /WEB-INF/classes/com/copperarrow/example/wickettesting/HomePage.class

      INFO  - ArquillianServiceDeployer  - Deploy arquillian service: arquillian-service: 1321 assets

      15:55:58,201 INFO  [org.jboss.as.repository] (management-handler-thread - 2) JBAS014900: Content added at location /home/dbeer/Software-Development/jboss-as-7.1.1.Final/standalone/data/content/93/0e277deca4b1b603f311bec83907a0cb4d08c6/content

      15:55:58,226 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "arquillian-service"

      15:55:58,733 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.arquillian-service" is using a private module ("org.jboss.as.jmx:main") which may be changed or removed in future versions without notice.

      15:55:58,735 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.arquillian-service" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice.

      15:55:58,737 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.arquillian-service" is using a private module ("org.jboss.as.osgi:main") which may be changed or removed in future versions without notice.

      15:55:58,738 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.arquillian-service" is using a private module ("org.jboss.jandex:main") which may be changed or removed in future versions without notice.

      15:55:58,740 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.arquillian-service" is using a private module ("org.jboss.osgi.framework:main") which may be changed or removed in future versions without notice.

      15:55:59,224 INFO  [org.jboss.as.server] (management-handler-thread - 2) JBAS018559: Deployed "arquillian-service"

      15:56:07,316 INFO  [org.jboss.as.repository] (management-handler-thread - 3) JBAS014900: Content added at location /home/dbeer/Software-Development/jboss-as-7.1.1.Final/standalone/data/content/72/13840660c1d2c488bda5383c6bbdfa424e82cf/content

      15:56:07,322 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "test.war"

      15:56:10,620 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implClass=org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl' for service type 'org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver'

      15:56:10,634 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implClass=org.jboss.arquillian.config.descriptor.impl.ArquillianDescriptorImpl' for service type 'org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor'

      15:56:10,635 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'importerClass=org.jboss.shrinkwrap.descriptor.spi.node.dom.XmlDomNodeDescriptorImporterImpl' for service type 'org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor'

      15:56:10,637 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'defaultName=arquillian.xml' for service type 'org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor'

      15:56:10,643 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.ConfigurableArchiveImpl' for service type 'org.jboss.shrinkwrap.spi.Configurable'

      15:56:10,645 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.GenericArchiveImpl' for service type 'org.jboss.shrinkwrap.api.GenericArchive'

      15:56:10,646 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.GenericArchive'

      15:56:10,648 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'archiveFormat=UNKNOWN' for service type 'org.jboss.shrinkwrap.api.GenericArchive'

      15:56:10,649 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.SerializableView'

      15:56:10,651 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'

      15:56:10,652 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'

      15:56:10,653 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'

      15:56:10,654 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'

      15:56:10,656 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'

      15:56:10,657 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'

      15:56:10,658 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'

      15:56:10,659 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'

      15:56:10,660 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'

      15:56:10,662 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'

      15:56:10,663 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extension=.war' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'

      15:56:10,664 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'

      15:56:10,665 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'

      15:56:10,666 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'

      15:56:10,667 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.ZipSerializableView'

      15:56:10,669 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ExplodedImporter'

      15:56:10,670 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'

      15:56:10,671 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extension=.rar' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'

      15:56:10,672 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'

      15:56:10,673 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ExplodedExporter'

      15:56:10,675 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'

      15:56:10,676 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extension=.ear' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'

      15:56:10,677 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'

      15:56:10,678 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'

      15:56:10,679 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'

      15:56:10,681 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ZipExporter'

      15:56:10,684 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name '!org.jboss.arquillian.test.impl.TestExtension' for service type 'org.jboss.arquillian.core.spi.LoadableExtension'

      15:56:11,462 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016002: Processing weld deployment test.war

      15:56:11,932 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016005: Starting Services for CDI deployment: test.war

      15:56:11,968 INFO  [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900 1.1.5 (AS71)

      15:56:12,010 INFO  [org.jboss.as.arquillian] (MSC service thread 1-4) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."test.war",unit=test.war,tests=[com.copperarrow.example.wickettesting.HomePageNGTest]]

      15:56:12,034 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016008: Starting weld service for deployment test.war

      15:56:13,077 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context '/test'

      15:56:16,232 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-4) Hibernate Validator 4.2.0.Final

      15:56:17,494 INFO  [org.jboss.web] (MSC service thread 1-4) JBAS018210: Registering web context: /test

      15:56:17,694 INFO  [org.jboss.as.server] (management-handler-thread - 3) JBAS018559: Deployed "test.war"

      INFO  - Application                - [WicketTesterApplication-fdb966f6-bab3-4859-a473-5a84a489256f] init: Wicket core library initializer

      INFO  - RequestListenerInterface   - registered listener interface [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()]

      INFO  - RequestListenerInterface   - registered listener interface [RequestListenerInterface name=IFormSubmitListener, method=public abstract void org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]

      INFO  - RequestListenerInterface   - registered listener interface [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]

      INFO  - RequestListenerInterface   - registered listener interface [RequestListenerInterface name=IOnChangeListener, method=public abstract void org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]

      INFO  - RequestListenerInterface   - registered listener interface [RequestListenerInterface name=IRedirectListener, method=public abstract void org.apache.wicket.IRedirectListener.onRedirect()]

      INFO  - RequestListenerInterface   - registered listener interface [RequestListenerInterface name=IResourceListener, method=public abstract void org.apache.wicket.IResourceListener.onResourceRequested()]

      INFO  - Application                - [WicketTesterApplication-fdb966f6-bab3-4859-a473-5a84a489256f] init: DevUtils DebugBar Initializer

      INFO  - Application                - [WicketTesterApplication-fdb966f6-bab3-4859-a473-5a84a489256f] init: Wicket extensions initializer

      15:56:18,403 SEVERE [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-4-thread-1) Failed: com.copperarrow.example.wickettesting.HomePageNGTest.testSomeMethod: org.testng.TestNGException: java.lang.ClassNotFoundException: com.copperarrow.example.wickettesting.HomePageNGTest from [Module "deployment.arquillian-service:main" from Service Module Loader]

                at org.testng.internal.XmlMethodSelector.checkMethod(XmlMethodSelector.java:248) [arquillian-service:]

                at org.testng.internal.XmlMethodSelector.setXmlClasses(XmlMethodSelector.java:259) [arquillian-service:]

                at org.testng.TestRunner.initRunInfo(TestRunner.java:378) [arquillian-service:]

                at org.testng.TestRunner.init(TestRunner.java:230) [arquillian-service:]

                at org.testng.TestRunner.init(TestRunner.java:205) [arquillian-service:]

                at org.testng.TestRunner.<init>(TestRunner.java:153) [arquillian-service:]

                at org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:522) [arquillian-service:]

                at org.testng.SuiteRunner.init(SuiteRunner.java:157) [arquillian-service:]

                at org.testng.SuiteRunner.<init>(SuiteRunner.java:111) [arquillian-service:]

                at org.testng.TestNG.createSuiteRunner(TestNG.java:1299) [arquillian-service:]

                at org.testng.TestNG.createSuiteRunners(TestNG.java:1286) [arquillian-service:]

                at org.testng.TestNG.runSuitesLocally(TestNG.java:1140) [arquillian-service:]

                at org.testng.TestNG.run(TestNG.java:1057) [arquillian-service:]

                at org.jboss.arquillian.testng.container.TestNGTestRunner.execute(TestNGTestRunner.java:53) [arquillian-service:]

                at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:129) [arquillian-service:]

                at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:108) [arquillian-service:]

                at org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:226) [arquillian-service:]

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]

                at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]

                at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111) [rt.jar:1.7.0_21]

                at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45) [rt.jar:1.7.0_21]

                at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235) [rt.jar:1.7.0_21]

                at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) [rt.jar:1.7.0_21]

                at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) [rt.jar:1.7.0_21]

                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [rt.jar:1.7.0_21]

                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792) [rt.jar:1.7.0_21]

                at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:498) [jboss-as-jmx-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:246) [jboss-as-jmx-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.remotingjmx.protocol.v1.ServerProxy$InvokeHandler.handle(ServerProxy.java:1034) [remoting-jmx-1.0.2.Final.jar:1.0.2.Final]

                at org.jboss.remotingjmx.protocol.v1.ServerProxy$MessageReciever$1.run(ServerProxy.java:215) [remoting-jmx-1.0.2.Final.jar:1.0.2.Final]

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]

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

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

      Caused by: java.lang.ClassNotFoundException: com.copperarrow.example.wickettesting.HomePageNGTest from [Module "deployment.arquillian-service:main" from Service Module Loader]

                at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]

                at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]

                at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]

                at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_21]

                at java.lang.Class.forName(Class.java:188) [rt.jar:1.7.0_21]

                at org.testng.internal.XmlMethodSelector.checkMethod(XmlMethodSelector.java:241) [arquillian-service:]

                ... 34 more

       

       

      Jun 07, 2013 3:56:18 PM org.jboss.arquillian.protocol.jmx.JMXMethodExecutor invoke

      SEVERE: Failed: com.copperarrow.example.wickettesting.HomePageNGTest.testSomeMethod

      org.testng.TestNGException: java.lang.ClassNotFoundException: com.copperarrow.example.wickettesting.HomePageNGTest from [Module "deployment.arquillian-service:main" from Service Module Loader]

                at org.testng.internal.XmlMethodSelector.checkMethod(XmlMethodSelector.java:248)

                at org.testng.internal.XmlMethodSelector.setXmlClasses(XmlMethodSelector.java:259)

                at org.testng.TestRunner.initRunInfo(TestRunner.java:378)

                at org.testng.TestRunner.init(TestRunner.java:230)

                at org.testng.TestRunner.init(TestRunner.java:205)

                at org.testng.TestRunner.<init>(TestRunner.java:153)

                at org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:522)

                at org.testng.SuiteRunner.init(SuiteRunner.java:157)

                at org.testng.SuiteRunner.<init>(SuiteRunner.java:111)

                at org.testng.TestNG.createSuiteRunner(TestNG.java:1299)

                at org.testng.TestNG.createSuiteRunners(TestNG.java:1286)

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

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

                at org.jboss.arquillian.testng.container.TestNGTestRunner.execute(TestNGTestRunner.java:53)

                at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:129)

                at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:108)

                at org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:226)

                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 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)

                at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)

                at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)

                at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)

                at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)

                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)

                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)

                at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:498)

                at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:246)

                at org.jboss.remotingjmx.protocol.v1.ServerProxy$InvokeHandler.handle(ServerProxy.java:1034)

                at org.jboss.remotingjmx.protocol.v1.ServerProxy$MessageReciever$1.run(ServerProxy.java:215)

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

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

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

      Caused by: java.lang.ClassNotFoundException: com.copperarrow.example.wickettesting.HomePageNGTest from [Module "deployment.arquillian-service:main" from Service Module Loader]

                at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

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

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

                at org.testng.internal.XmlMethodSelector.checkMethod(XmlMethodSelector.java:241)

                ... 34 more

       

       

      INFO  - Application                - [WicketTesterApplication-fdb966f6-bab3-4859-a473-5a84a489256f] destroy: Wicket core library initializer

      INFO  - Application                - [WicketTesterApplication-fdb966f6-bab3-4859-a473-5a84a489256f] destroy: DevUtils DebugBar Initializer

      INFO  - Application                - [WicketTesterApplication-fdb966f6-bab3-4859-a473-5a84a489256f] destroy: Wicket extensions initializer

      15:56:18,682 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016009: Stopping weld service for deployment test.war

      15:56:19,052 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment test.war in 423ms

      15:56:19,199 INFO  [org.jboss.as.repository] (management-handler-thread - 1) JBAS014901: Content removed from location /home/dbeer/Software-Development/jboss-as-7.1.1.Final/standalone/data/content/72/13840660c1d2c488bda5383c6bbdfa424e82cf/content

      15:56:19,201 INFO  [org.jboss.as.server] (management-handler-thread - 1) JBAS018558: Undeployed "test.war"

      INFO  - ArquillianServiceDeployer  - Undeploy arquillian service: arquillian-service: 1322 assets

      15:56:19,254 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment arquillian-service in 5ms

      15:56:19,395 INFO  [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /home/dbeer/Software-Development/jboss-as-7.1.1.Final/standalone/data/content/93/0e277deca4b1b603f311bec83907a0cb4d08c6/content

      15:56:19,396 INFO  [org.jboss.as.server] (management-handler-thread - 2) JBAS018558: Undeployed "arquillian-service"

      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 37.46 sec <<< FAILURE!

      testSomeMethod(com.copperarrow.example.wickettesting.HomePageNGTest)  Time elapsed: 0.572 sec  <<< FAILURE!

      org.testng.TestNGException: java.lang.ClassNotFoundException: com.copperarrow.example.wickettesting.HomePageNGTest from [Module "deployment.arquillian-service:main" from Service Module Loader]

                at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

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

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

                at org.testng.internal.XmlMethodSelector.checkMethod(XmlMethodSelector.java:241)

                at org.testng.internal.XmlMethodSelector.setXmlClasses(XmlMethodSelector.java:259)

                at org.testng.TestRunner.initRunInfo(TestRunner.java:378)

                at org.testng.TestRunner.init(TestRunner.java:230)

                at org.testng.TestRunner.init(TestRunner.java:205)

                at org.testng.TestRunner.<init>(TestRunner.java:153)

                at org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:522)

                at org.testng.SuiteRunner.init(SuiteRunner.java:157)

                at org.testng.SuiteRunner.<init>(SuiteRunner.java:111)

                at org.testng.TestNG.createSuiteRunner(TestNG.java:1299)

                at org.testng.TestNG.createSuiteRunners(TestNG.java:1286)

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

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

                at org.jboss.arquillian.testng.container.TestNGTestRunner.execute(TestNGTestRunner.java:53)

                at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:129)

                at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:108)

                at org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:226)

                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 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)

                at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)

                at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)

                at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)

                at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)

                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)

                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)

                at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:498)

                at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:246)

                at org.jboss.remotingjmx.protocol.v1.ServerProxy$InvokeHandler.handle(ServerProxy.java:1034)

                at org.jboss.remotingjmx.protocol.v1.ServerProxy$MessageReciever$1.run(ServerProxy.java:215)

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

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

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

       

       

       

       

      Results :

       

       

      Failed tests:

         » TestNG java.lang.ClassNotFoundException: com.copperarrow.example.wickettest...

       

       

      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

       

      I have attached the project source.

        • 1. Re: Arquillian, JBoss AS 7 managed and Apache Wicket
          Aslak Knutsen Master

          A couple of things..

           

          TestNG with Arquillian has really poor support for @Before/After configuration methods. The problem is that TestNG does not allow us to override the methods and no execute them, so they will be executed both on the Client side and InContainer. Probably causing you nullpointer exceptions etc. JUnit does not have the same problem, so I would try with that first.

           

          You seem to be using the JMX Protocol which is the default in AS7. You would want to change this to use the Servlet Protocol; https://community.jboss.org/message/628010#628010

           

          And, while probably not the cause of the issue, but you are deploying the app server inside the appserver when you define a @Deployment method that pulls in everything in 'test' scope. I would rather specify wicket as a independent dependency.