- 
        1. TemperatureConverterTest in Eclipse no Mavenaslak Mar 27, 2011 6:59 AM (in response to mwtemple)The Configuration message only means, you have not specified a configuration to use, so it will default. You probably have a exception in the junit console or similar. 
- 
        2. TemperatureConverterTest in Eclipse no Mavenmwtemple Mar 27, 2011 12:41 PM (in response to aslak)What do I need to add so that the TemperatureConverterTest deploys/uses my JBoss 6.0 installation? I would like to do the remote container... 
- 
        3. TemperatureConverterTest in Eclipse no Mavenaslak Mar 27, 2011 1:02 PM (in response to mwtemple)Have you read this part? http://docs.jboss.org/arquillian/reference/latest/en-US/html_single/#build.integration 
- 
        4. TemperatureConverterTest in Eclipse no Mavenmwtemple Mar 27, 2011 1:18 PM (in response to aslak)Yes, I read that but it does not give specifics... Activate/configure the JUnit or TestNG task/plugin Configure? Add the Arquillian container integration to the test classpath(e.g., org.jboss.arquillian.container:arquillian-%VENDOR%-%TYPE%-%VERSION%) What? How? I can't figure out where to tell my JUnit test to use JBoss 6.0 Remotely... Is there a config file? Is there a command line argument? Thanks! 
- 
        5. TemperatureConverterTest in Eclipse no Mavenaslak Mar 27, 2011 1:24 PM (in response to mwtemple)Mark Temple wrote: Yes, I read that but it does not give specifics... Activate/configure the JUnit or TestNG task/plugin Configure? This might shed some light: https://github.com/arquillian/arquillian-showcase/blob/master/cdi/build.xml Mark Temple wrote: Add the Arquillian container integration to the test classpath(e.g., org.jboss.arquillian.container:arquillian-%VENDOR%-%TYPE%-%VERSION%) What? How? I can't figure out where to tell my JUnit test to use JBoss 6.0 Remotely... Is there a config file? Is there a command line argument? Just place the correct jars on the classpath. The e.g. referes to maven repository cordinates: https://repository.jboss.org/nexus/content/repositories/public/org/jboss/arquillian/container/arquillian-jbossas-remote-6/1.0.0.Alpha5/ 
- 
        6. TemperatureConverterTest in Eclipse no Mavenmwtemple Mar 27, 2011 11:12 PM (in response to aslak)What jar do I need to resolve this: java.lang.NoClassDefFoundError: org/jboss/shrinkwrap/descriptor/api/Descriptor at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) Thanks, Mark 
- 
        8. TemperatureConverterTest in Eclipse no Mavenmwtemple Mar 28, 2011 10:13 AM (in response to aslak)Any ideas on this? java.lang.NoSuchMethodError: org.jboss.shrinkwrap.api.spec.JavaArchive.addAsServiceProvider(Ljava/lang/Class;[Ljava/lang/Class;)Lorg/jboss/shrinkwrap/api/Archive; at org.jboss.arquillian.junit.JUnitDeploymentAppender.createAuxiliaryArchive(JUnitDeploymentAppender.java:38) at org.jboss.arquillian.impl.client.deployment.DeploymentGenerator.loadAuxiliaryArchives(DeploymentGenerator.java:194) at org.jboss.arquillian.impl.client.deployment.DeploymentGenerator.buildTestableDeployments(DeploymentGenerator.java:138) at org.jboss.arquillian.impl.client.deployment.DeploymentGenerator.createTestableDeployments(DeploymentGenerator.java:126) at org.jboss.arquillian.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.java:78) 
- 
        9. Re: TemperatureConverterTest in Eclipse no Mavenaslak Mar 28, 2011 10:27 AM (in response to mwtemple)You need shrinkwrap 1.0.0-alpha-12 [INFO] org.jboss.arquillian:arquillian-api:jar:1.0.0.Alpha5 [INFO] +- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.0-alpha-12:compile [INFO] \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api:jar:0.1.4:compile [INFO] [INFO] org.jboss.arquillian:arquillian-spi:jar:1.0.0.Alpha5 [INFO] [INFO] org.jboss.arquillian.testenricher:arquillian-testenricher-cdi:jar:1.0.0.Alpha5 [INFO] org.jboss.arquillian.testenricher:arquillian-testenricher-ejb:jar:1.0.0.Alpha5 [INFO] org.jboss.arquillian.testenricher:arquillian-testenricher-resource:jar:1.0.0.Alpha5 [INFO] org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.0.0.Alpha5 [INFO] org.jboss.arquillian:arquillian-impl-base:jar:1.0.0.Alpha5 [INFO] +- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.0-alpha-12:compile [INFO] +- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.0.0-alpha-12:compile [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api:jar:1.0.0-alpha-12:compile [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven:jar:1.0.0-alpha-12:compile [INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven:jar:1.0.0-alpha-12:compile [INFO] | +- org.sonatype.aether:aether-api:jar:1.8:compile [INFO] | +- org.sonatype.aether:aether-util:jar:1.8:compile [INFO] | +- org.sonatype.aether:aether-connector-wagon:jar:1.8:compile [INFO] | | +- org.sonatype.aether:aether-spi:jar:1.8:compile [INFO] | | \- org.codehaus.plexus:plexus-container-default:jar:1.5.5:compile [INFO] | | +- org.codehaus.plexus:plexus-classworlds:jar:2.2.2:compile [INFO] | | +- org.apache.xbean:xbean-reflect:jar:3.4:compile [INFO] | | | +- log4j:log4j:jar:1.2.12:compile [INFO] | | | \- commons-logging:commons-logging-api:jar:1.1:compile [INFO] | | \- com.google.collections:google-collections:jar:1.0:compile [INFO] | +- org.apache.maven:maven-aether-provider:jar:3.0.1:compile [INFO] | | +- org.apache.maven:maven-model:jar:3.0.1:compile [INFO] | | +- org.apache.maven:maven-model-builder:jar:3.0.1:compile [INFO] | | +- org.apache.maven:maven-repository-metadata:jar:3.0.1:compile [INFO] | | +- org.sonatype.aether:aether-impl:jar:1.8:compile [INFO] | | +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile [INFO] | | \- org.codehaus.plexus:plexus-utils:jar:2.0.4:compile [INFO] | +- org.apache.maven:maven-settings-builder:jar:3.0.1:compile [INFO] | | +- org.codehaus.plexus:plexus-interpolation:jar:1.14:compile [INFO] | | +- org.apache.maven:maven-settings:jar:3.0.1:compile [INFO] | | \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [INFO] | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile [INFO] | +- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-7:compile [INFO] | +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-7:compile [INFO] | \- org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-7:compile [INFO] | \- org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-7:compile [INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile [INFO] [INFO] org.jboss.arquillian:arquillian-junit:jar:1.0.0.Alpha5 [INFO] +- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.0-alpha-12:test (scope not updated to compile) [INFO] [INFO] org.jboss.arquillian.container:arquillian-jbossas-remote-6:jar:1.0.0.Alpha5 [INFO] \- org.jboss.jbossas:jboss-as-client:pom:6.0.0.Final:provided That should be more or less a complete list of deps to get arq running with jbossas-remote-6. Note: jboss-as-client has about 250 other deps, but if you point your porject to the jboss-client all jar located in the client lib in the jbossas dist you should be good. 
- 
        10. Re: TemperatureConverterTest in Eclipse no Mavenmwtemple Mar 28, 2011 6:26 PM (in response to aslak)Just to get you up to date: I added "JBoss 6.0 Runtime" to my classpath (all the libs under Jboss 6.0.0 Final). I added "shrinkwrap-api-1.0.0-alpha-12.jar" to my classpath. Now I get: Caused by: java.lang.NoClassDefFoundError: org/jboss/shrinkwrap/api/Asset at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.getConstructor(Class.java:1657) at org.jboss.shrinkwrap.api.SecurityActions$1.run(SecurityActions.java:76) at org.jboss.shrinkwrap.api.SecurityActions$1.run(SecurityActions.java:72) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.shrinkwrap.api.SecurityActions.getConstructor(SecurityActions.java:71) at org.jboss.shrinkwrap.api.SecurityActions.newInstance(SecurityActions.java:138) at org.jboss.shrinkwrap.api.ArchiveFactory.create(ArchiveFactory.java:137) at org.jboss.shrinkwrap.api.ShrinkWrap.create(ShrinkWrap.java:187) at TemperatureConverterTest.createTestArchive(TemperatureConverterTest.java:23) When I look in the alpha 12 jar, this class does not in that package. There is a org/jboss/shrinkwrap/api/asset/Asset. Suggestions? 
- 
        11. Re: TemperatureConverterTest in Eclipse no Mavenaslak Mar 29, 2011 3:42 AM (in response to mwtemple)api/Asset was the old location in ShrinkWrap Alpha9 or so, the new location is api/asset/Asset. The exception is a bit unclear who is using the old API, but make sure all the shrinkwrap versions are the same, Alpha12. And compile your code against that. 
- 
        12. Re: TemperatureConverterTest in Eclipse no Mavenmwtemple Mar 29, 2011 11:55 AM (in response to aslak)yes, that makes sense... it got me around that one, thanks! Now, I get this: Mar 29, 2011 9:53:06 AM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.spec.JavaArchive, please verify classpath or add a extensionOverride Caused by: java.lang.AbstractMethodError: org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl.addAsManifestResource(Lorg/jboss/shrinkwrap/api/asset/Asset;Lorg/jboss/shrinkwrap/api/ArchivePath;)Lorg/jboss/shrinkwrap/api/Archive; at TemperatureConverterTest.createTestArchive(TemperatureConverterTest.java:26) java.lang.NullPointerException at org.jboss.arquillian.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:204) Thanks, Mark 
- 
        13. Re: TemperatureConverterTest in Eclipse no Mavenaslak Mar 29, 2011 12:20 PM (in response to mwtemple)Mark Temple wrote: yes, that makes sense... it got me around that one, thanks! Now, I get this: Mar 29, 2011 9:53:06 AM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.spec.JavaArchive, please verify classpath or add a extensionOverride Caused by: java.lang.AbstractMethodError: org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl.addAsManifestResource(Lorg/jboss/shrinkwrap/api/asset/Asset;Lorg/jboss/shrinkwrap/api/ArchivePath;)Lorg/jboss/shrinkwrap/api/Archive; at TemperatureConverterTest.createTestArchive(TemperatureConverterTest.java:26) java.lang.NullPointerException at org.jboss.arquillian.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:204) Thanks, Mark The warning is that it has found multiple jars on classpath that point to the same implementation class, basically meaning you have multiple shrinkwrap-impl-base.jars on your classpath. And based on the AbstractMethodError you have multiple different versions of it as well. 
- 
        14. Re: TemperatureConverterTest in Eclipse no Mavenmwtemple Mar 29, 2011 12:51 PM (in response to aslak)Yes, got that worked out, thanks (moved Jboss Runtime libraries to the bottom of the order). I think I am finally to the point of actually running my JUnit test!!! When I run TemperatureConverterTest.java, it seems that the @Inject object TemperatureConverter is null. When I add the following lines of code to TemperatureConverterTest.java: @Test public void testConverter() { Assert.assertNotNull(converter); } I see the following in Junit: junit.framework.AssertionFailedError 
 
    