0 Replies Latest reply on Aug 14, 2012 10:47 PM by j c

    Unable to get BasketTest running from the "Getting Started: Rinse and Repeat" tutorial using remote JBossAS 6.1 container

    j c Newbie

      Hi All,

       

      I receive the following exception when trying to run the BasketTest in a remote JBossAS 6.1 container.

       

      java.lang.NoSuchFieldError: pluginClass

          at org.jboss.aop.util.logging.AOPLogger.init(AOPLogger.java:69)

          at org.jboss.aop.util.logging.AOPLogger.<clinit>(AOPLogger.java:38)

          at org.jboss.aop.AspectManager.<clinit>(AspectManager.java:107)

          at org.jboss.aop.proxy.ProxyFactory.createProxyCtClass(ProxyFactory.java:147)

          at org.jboss.aop.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:116)

          at org.jboss.aop.proxy.ProxyFactory.createInterfaceProxy(ProxyFactory.java:93)

          at org.jboss.aop.proxy.MarshalledInterfaceProxy.readResolve(MarshalledInterfaceProxy.java:62)

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

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

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

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

          at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)

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

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

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

          at java.rmi.MarshalledObject.get(MarshalledObject.java:142)

          at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)

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

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

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

          at org.jboss.arquillian.container.jbossas.remote_6.JBossASRemoteContainer.initDeploymentManager(JBossASRemoteContainer.java:204)

          at org.jboss.arquillian.container.jbossas.remote_6.JBossASRemoteContainer.start(JBossASRemoteContainer.java:87)

          at org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:198)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:163)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:157)

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

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

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

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

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

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

      ...

       

       

      Here is my pom.xml

       

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

          <modelVersion>4.0.0</modelVersion>

       

          <groupId>com.test</groupId>

          <artifactId>TestArquillian</artifactId>

          <version>1.0-SNAPSHOT</version>

          <packaging>jar</packaging>

       

          <name>TestArquillianGBIAMD</name>

          <url>http://maven.apache.org</url>

       

          <properties>

              <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

          </properties>

       

          <build>

              <plugins>

                  <plugin>

                      <artifactId>maven-compiler-plugin</artifactId>

                      <version>2.3.2</version>

                      <configuration>

                          <source>1.6</source>

                          <target>1.6</target>

                      </configuration>

                  </plugin>

              </plugins>

          </build>

       

          <dependencyManagement>

              <dependencies>

                  <dependency>

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

                      <artifactId>arquillian-bom</artifactId>

                      <version>1.0.0.Final</version>

                      <scope>import</scope>

                      <type>pom</type>

                  </dependency>

              </dependencies>

          </dependencyManagement>

       

          <dependencies>

              <dependency>

                  <groupId>junit</groupId>

                  <artifactId>junit</artifactId>

                  <version>4.8.1</version>

                  <scope>test</scope>

              </dependency>

              <dependency>

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

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

                  <scope>test</scope>

              </dependency>

       

          </dependencies>       

              <profile>

                  <id>jbossas-remote-6</id>

                  <build>

                      <plugins>

                          <plugin>

                              <groupId>org.apache.maven.plugins</groupId>

                              <artifactId>maven-surefire-plugin</artifactId>

                              <version>2.9</version>

                              <configuration>

                                  <systemPropertyVariables>

                                      <arquillian.launch>jbossas_remote_6</arquillian.launch>

                                  </systemPropertyVariables>

                              </configuration>

                          </plugin>

                      </plugins>

                  </build>

                  <dependencies>

                      <dependency>

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

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

                          <version>1.0.0.CR3</version>

                      </dependency>

                      <dependency>

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

                          <artifactId>jboss-as-profileservice</artifactId>

                          <version>6.1.0.Final</version>

                          <type>pom</type>

                      </dependency>

                      <dependency>

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

                          <artifactId>jboss-as-server</artifactId>

                          <version>6.1.0.Final</version>

                          <type>pom</type>

                      </dependency>

                      <dependency>

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

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

                          <version>1.0.0.Final</version>

                          <type>pom</type>

                          <scope>provided</scope>

                      </dependency>

                  </dependencies>

              </profile>

          </profiles>

      </project>

       

       

      Anyone have any suggestions?

       

      Thanks.