3 Replies Latest reply on Nov 4, 2011 1:57 PM by Viggo Navarsete

    Arquillian and JBoss 6.1.0.Final doesn't work

    Viggo Navarsete Expert

      I've had some Arquillian-based integration tests running using JBoss 6.0.0.Final, and today I decided to upgrade to JBoss 6.1.0.Final instead. When deploying my WAR file to a running 6.1.0.Final it works, but when running the tests I get this output from the <test>-output.txt:

      14:04:58,869 INFO  [ContainerRegistryCreator] Could not read active container configuration: null

      14:04:59,359 INFO  [AbstractJBossASServerBase] Server Configuration:

       

       

                JBOSS_HOME URL: file:/opt/jboss-6.1.0.Final/

                Bootstrap: $JBOSS_HOME/server/default/conf/bootstrap.xml

                Common Base: $JBOSS_HOME/common/

                Common Library: $JBOSS_HOME/common/lib/

                Server Name: default

                Server Base: $JBOSS_HOME/server/

                Server Library: $JBOSS_HOME/server/default/lib/

                Server Config: $JBOSS_HOME/server/default/conf/

                Server Home: $JBOSS_HOME/server/default/

                Server Data: $JBOSS_HOME/server/default/data

                Server Log: $JBOSS_HOME/server/default/log

                Server Temp: $JBOSS_HOME/server/default/tmp/

       

       

      14:04:59,370 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]

      14:05:00,038 ERROR [AbstractKernelController] Error installing to PreInstall: name=JavassistInitializer state=Not Installed: java.lang.ClassNotFoundException: org.jboss.reflect.plugins.javassist.JavassistInitializer

                at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [:1.6.0_25]

                at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_25]

                at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [:1.6.0_25]

                at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [:1.6.0_25]

                at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [:1.6.0_25]

                at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [:1.6.0_25]

                at java.lang.Class.forName0(Native Method) [:1.6.0_25]

                at java.lang.Class.forName(Class.java:247) [:1.6.0_25]

                at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.resolveComplexTypeInfo(IntrospectionTypeInfoFactoryImpl.java:458) [jboss-reflect-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:414) [jboss-reflect-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.getTypeInfo(IntrospectionTypeInfoFactory.java:54) [jboss-reflect-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.classadapter.plugins.BasicClassAdapterFactory.getClassAdapter(BasicClassAdapterFactory.java:61) [jboss-reflect-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:86) [jboss-reflect-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:80) [jboss-kernel-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:78) [jboss-kernel-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:97) [jboss-kernel-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.dependency.PreInstallAction.installActionInternal(PreInstallAction.java:88) [jboss-kernel-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319) [jboss-kernel-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297) [jboss-kernel-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130) [jboss-kernel-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76) [jboss-kernel-2.2.0.GA.jar:2.2.0.GA]

                at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:92) [jboss-bootstrap-impl-mc-2.1.0-alpha-5.jar:2.1.0-alpha-5]

                at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:193) [jboss-bootstrap-impl-mc-2.1.0-alpha-5.jar:2.1.0-alpha-5]

                at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:310) [jboss-bootstrap-impl-mc-2.1.0-alpha-5.jar:2.1.0-alpha-5]

                at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:257) [jboss-bootstrap-impl-mc-2.1.0-alpha-5.jar:2.1.0-alpha-5]

                at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doStart(AbstractJBossASServerBase.java:381) [jboss-bootstrap-impl-as-2.1.0-alpha-5.jar:2.1.0-alpha-5]

                at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413) [jboss-bootstrap-impl-base-2.1.0-alpha-5.jar:2.1.0-alpha-5]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]

       

       

      14:05:00,922 INFO  [ServerInfo] Java version: 1.6.0_25,Sun Microsystems Inc.

      14:05:00,922 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_25-b06)

      14:05:00,922 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 20.0-b11,Sun Microsystems Inc.

      14:05:00,923 INFO  [ServerInfo] OS-System: Linux 2.6.38-11-generic,amd64

      14:05:00,923 INFO  [ServerInfo] VM arguments: -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Djava.endorsed.dirs=/opt/jboss-6.1.0.Final/lib/endorsed -Djboss.home=/opt/jboss-6.1.0.Final -Djboss.boot.server.log.dir=/opt/jboss-6.1.0.Final

      14:05:00,954 INFO  [JMXKernel] Legacy JMX core initialized

       

      Anyone who knows how I can get it to run in JBoss 6.1.0.Final?