4 Replies Latest reply on May 4, 2011 1:10 PM by rop

    Arquillian with JBossEmbeddedAS

    rop Newbie

      Hi,

       

      Im still trying to get Arquillian to run with JBossEmbeddedAS (arquillian-jbossas-embedded-6).

      As a "learning-curve", I started out with the sample-project "ch04-firstejb" from Bill Burke's EJB3.1 book, which is available here:

       

          http://community.jboss.org/wiki/BuildingFromSource

       

      That sample uses OpenEJB, and I want to change it to use JBossEmbeddedAS instead.

       

      I removed the OpenEJB-references from the pom's, and instead included the dependencies

       

          org.jboss.arquillian.container:arquillian-jbossas-embedded-6:1.0.0.Alpha5

          org.jboss.jbossas:jboss-as-depchain:6.0.0.Final

       

      listed here:

          http://docs.jboss.org/arquillian/reference/latest/en-US/html_single/#container.jbossas-embedded-6

       

      I also updated the Arquillian-version to 1.0.0-Alpha5.

       

      I tried to invoke the project, but got a runtime exception:

        java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

       

      Therefore, I also updated jboss.logging.log4j and jboss.logging.spi to the latest version I could find:

      2.2.0.CR1

       

      But that didnt help, I still get this error. See output below.

       

      Any clues what the problem is, please?

      ______________________________________

       

       

      2011-maj-04 11:25:02 org.jboss.arquillian.impl.client.container.ContainerRegistryCreator getActivatedConfiguration

      INFO: Could not read active container configuration: null

      2011-05-04 11:25:03,732 547   INFO  [org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase] (main:) Server Configuration:

       

          JBOSS_HOME URL: file:/c:/program1/jboss6/

          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/

       

      2011-05-04 11:25:03,764 579   INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-1:) Starting: JBossAS [6.0.0.Final "Neo"]

      2011-05-04 11:25:06,248 3063  INFO  [org.jboss.system.server.ServerInfo] (Thread-1:) Java version: 1.6.0_24,Sun Microsystems Inc.

      2011-05-04 11:25:06,248 3063  INFO  [org.jboss.system.server.ServerInfo] (Thread-1:) Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

      2011-05-04 11:25:06,248 3063  INFO  [org.jboss.system.server.ServerInfo] (Thread-1:) Java VM: Java HotSpot(TM) Client VM 19.1-b02,Sun Microsystems Inc.

      2011-05-04 11:25:06,248 3063  INFO  [org.jboss.system.server.ServerInfo] (Thread-1:) OS-System: Windows XP 5.1,x86

      2011-05-04 11:25:06,248 3063  INFO  [org.jboss.system.server.ServerInfo] (Thread-1:) VM arguments: -ea

      2011-05-04 11:25:06,248 3063  WARN  [org.jboss.mx.server.registry.BasicMBeanRegistry] (Thread-1:) preRegister() failed for jboss.system:type=ServerInfo:

      java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

          at org.jboss.system.server.ServerInfo.preRegister(ServerInfo.java:158)

          at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:979)

          at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:491)

          at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:665)

          at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:708)

          at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:222)

          at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)

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

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

          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)

          at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1443)

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

          at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1438)

          at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:378)

          at org.jboss.system.server.jmx.JMXKernel.start(JMXKernel.java:215)

          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 org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60)

          at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168)

          at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257)

          at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)

          at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202)

          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)

          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)

          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)

          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)

          at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)

          at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:92)

          at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:193)

          at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:310)

          at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:257)

          at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doStart(AbstractJBossASServerBase.java:381)

          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413)

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

      2011-05-04 11:25:06,264 3079  ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (Thread-1:) Error installing to Start: name=JMXKernel state=Create

      javax.management.NotCompliantMBeanException: Cannot register MBean: jboss.system:type=ServerInfo

          at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:320)

          at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)

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

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

          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)

          at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1443)

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

          at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1438)

          at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:378)

          at org.jboss.system.server.jmx.JMXKernel.start(JMXKernel.java:215)

          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 org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60)

          at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168)

          at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257)

          at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125)

          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)

          at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202)

          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)

          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)

          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)

          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)

          at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)

          at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:92)

          at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:193)

          at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:310)

          at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:257)

          at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doStart(AbstractJBossASServerBase.java:381)

          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413)

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

      Caused by: javax.management.RuntimeErrorException

          at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:736)

          at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:222)

          ... 52 more

      Caused by: java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

          at org.jboss.system.server.ServerInfo.preRegister(ServerInfo.java:158)

          at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:979)

          at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:491)

          at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:665)

          at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:708)

          ... 53 more

      2011-05-04 11:25:07,810 4625  WARN  [org.jboss.classpool.plugins.jbosscl.JBossClRegistryHandler] (Thread-1:) Module VFSClassLoaderPolicyModule security-classloader:0.0.0 is not registered

      2011-05-04 11:25:08,279 5094  WARN  [org.jboss.classpool.plugins.jbosscl.JBossClRegistryHandler] (Thread-1:) Module VFSClassLoaderPolicyModule profile-classloader:0.0.0 is not registered

      2011-05-04 11:25:09,076 5891  WARN  [org.jboss.classpool.plugins.jbosscl.JBossClRegistryHandler] (Thread-1:) Module VFSClassLoaderPolicyModule deployers-classloader:0.0.0 is not registered

      2011-05-04 11:25:09,467 6282  WARN  [org.jboss.classpool.plugins.jbosscl.JBossClRegistryHandler] (Thread-1:) Module VFSClassLoaderPolicyModule jmx-classloader:0.0.0 is not registered

        • 1. Arquillian with JBossEmbeddedAS
          Aslak Knutsen Master

          what _exatcly_ does your pom look like?

          • 2. Re: Arquillian with JBossEmbeddedAS
            rop Newbie

            Hi Aslak,

             

            There is a pom and a parent-pom in the demo-project.

            After my modifications for jbossEmbeddedAS, they look like:

             

             

            parent 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/maven-v4_0_0.xsd">

             

                <!-- Model Version -->

                <modelVersion>4.0.0</modelVersion>

             

                <!-- Artifact Information -->

                <groupId>org.jboss.ejb3.examples</groupId>

                <artifactId>jboss-ejb3-examples-build</artifactId>

                <name>Build System and Parent for JBoss EJB3 Examples</name>

                <version>1.1.0-SNAPSHOT</version>

                <description>Build System and Parent for JBoss EJB3 Examples to accompany O'Reilly "Enterprise JavaBeans 6th Edition"</description>

                <packaging>pom</packaging>

             

                <!-- Properties -->

                <properties>

             

                    <!-- Versioning -->

             

                    <version.junit_junit>4.7</version.junit_junit>

                    <version.org.jboss.embedded>1.0.0-alpha-1</version.org.jboss.embedded>

                    <version.org.jboss.jbossas>6.0.0.Final</version.org.jboss.jbossas>

                    <version.org.jboss.shrinkwrap>1.0.0-alpha-11</version.org.jboss.shrinkwrap>

                    <version.org.jboss.ejb3_jboss.ejb3.api>3.1.0-Alpha1</version.org.jboss.ejb3_jboss.ejb3.api>

                    <version.org.jboss.ejb3_jboss.ejb3.ext.api>1.0.0</version.org.jboss.ejb3_jboss.ejb3.ext.api>

                    <version.org.jboss.javaee_jboss-jms-api>1.1.0.GA</version.org.jboss.javaee_jboss-jms-api>

                    <version.org.jboss.logging_jboss.logging.log4j>2.2.0.CR1</version.org.jboss.logging_jboss.logging.log4j>

                    <version.org.jboss.logging_jboss.logging.spi>2.2.0.CR1</version.org.jboss.logging_jboss.logging.spi>

                    <version.org.jboss.arquillian>1.0.0.Alpha5</version.org.jboss.arquillian>

                    <version.org.glassfish>3.0.1-b18</version.org.glassfish>

                    <version.org.apache.openejb>3.1.2</version.org.apache.openejb>

                    <version.org.jboss.spec.javax.ejb>1.0.0.Beta2</version.org.jboss.spec.javax.ejb>

                    <version.javax_javaee.api>6.0</version.javax_javaee.api>

                    <version.javax.inject_javax.inject>1</version.javax.inject_javax.inject>

             

                </properties>

             

                <!-- Build Configuration -->

                <build>

             

                    <plugins>

             

                        <!-- Compiler -->

                        <plugin>

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

                            <version>2.3.2</version>

                            <inherited>true</inherited>

                            <configuration>

                                <source>1.6</source>

                                <target>1.6</target>

                                <showDeprecation>false</showDeprecation>

                                <showWarnings>true</showWarnings>

                                <optimize>true</optimize>

                                <compilerVersion>1.6</compilerVersion>

                                <fork>true</fork>

                                <executable>${JAVA_HOME}/bin/javac</executable>

                                <encoding>UTF-8</encoding>

                            </configuration>

                        </plugin>

             

                        <!-- Surefire (Tests) Plugin -->

                        <plugin>

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

                            <version>2.7.1</version>

                            <configuration>

                                <redirectTestOutputToFile>true</redirectTestOutputToFile>

                                <printSummary>true</printSummary>

                                <includes>

                                    <include>**/*UnitTestCase.java</include>

                                </includes>

                                <forkMode>always</forkMode>

                                <argLine>-ea</argLine>

                            </configuration>

                        </plugin>

             

                        <!-- Enforce Maven Environment -->

                        <plugin>

                            <artifactId>maven-enforcer-plugin</artifactId>

                            <version>1.0-beta-1</version>

                            <executions>

                                <execution>

                                    <id>enforce-maven-environment</id>

                                    <goals>

                                        <goal>enforce</goal>

                                    </goals>

                                </execution>

                            </executions>

                            <configuration>

                                <rules>

                                    <requireMavenVersion>

                                        <version>[2.0.9,)</version> <!-- Must be Maven 2.0.9 -->

                                    </requireMavenVersion>

                                    <requireJavaVersion>

                                        <version>1.6.0</version> <!-- Must be JDK6 -->

                                    </requireJavaVersion>

                                </rules>

                            </configuration>

                        </plugin>

             

                    </plugins>

             

             

                    <pluginManagement>

                        <plugins>

                            <plugin>

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

                                <version>2.6</version>

                            </plugin>

                        </plugins>

                    </pluginManagement>

             

                </build>

             

                <!-- Dependency Versioning -->

                <dependencyManagement>

             

                    <dependencies>

             

                        <dependency>

                            <groupId>junit</groupId>

                            <artifactId>junit</artifactId>

                            <version>${version.junit_junit}</version>

                        </dependency>

             

                        <dependency>

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

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

                            <version>${version.org.jboss.spec.javax.ejb}</version>

                        </dependency>

             

                        <dependency>

                            <groupId>org.jboss.ejb3</groupId>

                            <artifactId>jboss-ejb3-api</artifactId>

                            <version>${version.org.jboss.ejb3_jboss.ejb3.api}</version>

                        </dependency>

             

                        <dependency>

                            <groupId>org.jboss.ejb3</groupId>

                            <artifactId>jboss-ejb3-ext-api</artifactId>

                            <version>${version.org.jboss.ejb3_jboss.ejb3.ext.api}</version>

                        </dependency>

             

                        <dependency>

                            <groupId>org.jboss.javaee</groupId>

                            <artifactId>jboss-jms-api</artifactId>

                            <version>${version.org.jboss.javaee_jboss-jms-api}</version>

                        </dependency>

             

                        <dependency>

                            <groupId>org.jboss.logging</groupId>

                            <artifactId>jboss-logging-log4j</artifactId>

                            <version>${version.org.jboss.logging_jboss.logging.log4j}</version>

                            <optional>true</optional>

                        </dependency>

             

                        <dependency>

                            <groupId>org.jboss.logging</groupId>

                            <artifactId>jboss-logging-spi</artifactId>

                            <version>${version.org.jboss.logging_jboss.logging.spi}</version>

                            <optional>true</optional>

                        </dependency>

             

                        <dependency>

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

                            <artifactId>jboss-as-depchain</artifactId>

                            <version>${version.org.jboss.jbossas}</version>

                            <type>pom</type>

                            <scope>import</scope>

                        </dependency>

             

                        <dependency>

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

                            <artifactId>shrinkwrap-api</artifactId>

                            <version>${version.org.jboss.shrinkwrap}</version>

                            <scope>test</scope>

                        </dependency>

                        <dependency>

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

                            <artifactId>shrinkwrap-spi</artifactId>

                            <version>${version.org.jboss.shrinkwrap}</version>

                            <scope>test</scope>

                        </dependency>

                        <dependency>

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

                            <artifactId>shrinkwrap-impl-base</artifactId>

                            <version>${version.org.jboss.shrinkwrap}</version>

                            <scope>test</scope>

                        </dependency>

             

                        <dependency>

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

                            <artifactId>arquillian-openejb-embedded-3.1</artifactId>

                            <version>${version.org.jboss.arquillian}</version>

                            <scope>test</scope>

                        </dependency>

                        <dependency>

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

                            <artifactId>arquillian-glassfish-embedded-3</artifactId>

                            <version>${version.org.jboss.arquillian}</version>

                            <scope>test</scope>

                        </dependency>

                        <dependency>

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

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

                            <version>${version.org.jboss.arquillian}</version>

                            <scope>test</scope>

                        </dependency>

                        <dependency>

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

                            <artifactId>arquillian-junit</artifactId>

                            <version>${version.org.jboss.arquillian}</version>

                            <scope>test</scope>

                        </dependency>

             

                        <dependency>

                            <groupId>org.glassfish.extras</groupId>

                            <artifactId>glassfish-embedded-all</artifactId>

                            <version>${version.org.glassfish}</version>

                        </dependency>

                        <dependency>

                            <groupId>org.glassfish.extras</groupId>

                            <artifactId>glassfish-embedded-shell</artifactId>

                            <version>${version.org.glassfish}</version>

                        </dependency>

                        <dependency>

                            <groupId>org.glassfish.ejb</groupId>

                            <artifactId>ejb-timer-service-app</artifactId>

                            <version>${version.org.glassfish}</version>

                            <type>war</type>

                        </dependency>

             

                        <dependency>

                            <groupId>org.apache.openejb</groupId>

                            <artifactId>openejb-core</artifactId>

                            <version>${version.org.apache.openejb}</version>

                            <scope>test</scope>

                        </dependency>

             

                        <dependency>

                            <groupId>javax</groupId>

                            <artifactId>javaee-api</artifactId>

                            <version>${version.javax_javaee.api}</version>

                            <scope>provided</scope>

                            <optional>true</optional>

                        </dependency>

             

                        <dependency>

                            <groupId>javax.inject</groupId>

                            <artifactId>javax.inject</artifactId>

                            <version>${version.javax.inject_javax.inject}</version>

                        </dependency>

             

             

                    </dependencies>

             

                </dependencyManagement>

             

                <repositories>

                    <repository>

                        <id>jboss-public-repository</id>

                        <name>JBoss Repository</name>

                        <url> https://repository.jboss.org/nexus/content/groups/public </url>

                        <releases>

                            <enabled>true</enabled>

                            <updatePolicy>never</updatePolicy>

                        </releases>

                        <snapshots>

                            <enabled>true</enabled>

                            <updatePolicy>never</updatePolicy>

                        </snapshots>

                    </repository>

                </repositories>

             

                <pluginRepositories>

                    <pluginRepository>

                        <id>jboss-public-repository</id>

                        <name>JBoss Repository</name>

                        <url> https://repository.jboss.org/nexus/content/groups/public </url>

                        <releases>

                            <enabled>true</enabled>

                            <updatePolicy>never</updatePolicy>

                        </releases>

                        <snapshots>

                            <enabled>true</enabled>

                            <updatePolicy>never</updatePolicy>

                        </snapshots>

                    </pluginRepository>

                </pluginRepositories>

             

             

            </project>

             

            ________________________________________________________

             

            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/maven-v4_0_0.xsd">

             

                <!-- Parent Information -->

                <parent>

                    <groupId>org.jboss.ejb3.examples</groupId>

                    <artifactId>jboss-ejb3-examples-build</artifactId>

                    <version>1.1.0-SNAPSHOT</version>

                    <relativePath>../build/pom.xml</relativePath>

                </parent>

             

                <!-- Model Version -->

                <modelVersion>4.0.0</modelVersion>

             

                <!-- Artifact Information -->

                <artifactId>jboss-ejb3-examples-ch04-firstejb</artifactId>

                <name>JBoss EJB 3.x Examples - Chapter 4: Calculator Service EJBs</name>

                <description>Example to accompany O'Reilly "Enterprise Java Beans 6th Edition" Chapter 4</description>

             

                <!-- Dependencies -->

                <dependencies>

             

                    <dependency>

                        <groupId>org.jboss.ejb3</groupId>

                        <artifactId>jboss-ejb3-api</artifactId>

                    </dependency>

             

                    <dependency>

                        <groupId>junit</groupId>

                        <artifactId>junit</artifactId>

                    </dependency>

             

                    <dependency>

                        <groupId>org.jboss.logging</groupId>

                        <artifactId>jboss-logging-log4j</artifactId>

                    </dependency>

             

                    <dependency>

                        <groupId>org.jboss.logging</groupId>

                        <artifactId>jboss-logging-spi</artifactId>

                    </dependency>

             

                    <dependency>

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

                        <artifactId>arquillian-junit</artifactId>

                    </dependency>

             

                    <!-- Add JBOSS EMBEDDED -->

                    <dependency>

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

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

                        <version>1.0.0.Alpha5</version>

                        <scope>test</scope>

                    </dependency>

             

                    <dependency>

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

                        <artifactId>jboss-as-depchain</artifactId>

                        <version>6.0.0.Final</version>

                        <type>pom</type>

                        <scope>test</scope>

                    </dependency>

                    <!-- End JBOSS EMBEDDED -->

             

                    <dependency>

                        <groupId>javax.inject</groupId>

                        <artifactId>javax.inject</artifactId>

                        <scope>test</scope>

                    </dependency>

             

                </dependencies>

             

                <build>

                    <plugins>

                        <plugin>

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

                            <configuration>

                                <additionalClasspathElements>

                                    <additionalClasspathElement>${env.JBOSS_HOME}/client/jbossws-native-client.jar</additionalClasspathElement>

                                    <!-- Because jbossweb.sar contains shared web.xml, which must be visible

                                        from same CL as TomcatDeployer.class.getClassLoader -->

                                    <additionalClasspathElement>${env.JBOSS_HOME}/server/default/deploy/jbossweb.sar</additionalClasspathElement>

                                </additionalClasspathElements>

                                <redirectTestOutputToFile>true</redirectTestOutputToFile>

                                <trimStackTrace>false</trimStackTrace>

                                <printSummary>true</printSummary>

                                <forkMode>once</forkMode>

                                <!-- MaxPermSize Required to bump the space for relective data like

                                    classes, methods, etc. EMB-41. Endorsed required for things like WS support

                                    (EMB-61) -->

                                <argLine>-Xmx512m -XX:MaxPermSize=256m

                                    -Djava.net.preferIPv4Stack=true

                                    -Djava.util.logging.manager=org.jboss.logmanager.LogManager

                                    -Djava.endorsed.dirs=${env.JBOSS_HOME}/lib/endorsed

                                    -Djboss.home=${env.JBOSS_HOME}

                                    -Djboss.boot.server.log.dir=${env.JBOSS_HOME}</argLine>

                            </configuration>

                        </plugin>

                    </plugins>

                </build>

             

                <profiles>

             

                    <profile>

             

                        <!-- Declare the "Integration Test" Profile -->

                        <id>it</id>

                        <activation>

                            <activeByDefault>true</activeByDefault>

                        </activation>

             

                        <build>

             

                            <plugins>

             

                                <!-- Configure Surefire to run in integration-test phase -->

                                <plugin>

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

                                    <executions>

                                        <execution>

                                            <id>surefire-it</id>

                                            <phase>integration-test</phase>

                                            <goals>

                                                <goal>test</goal>

                                            </goals>

                                            <configuration>

                                                <skip>false</skip>

                                                <redirectTestOutputToFile>true</redirectTestOutputToFile>

                                                <printSummary>true</printSummary>

                                                <forkMode>always</forkMode>

                                                <includes>

                                                    <include>**/*IntegrationTestCase.java</include>

                                                </includes>

                                            </configuration>

                                        </execution>

                                    </executions>

                                </plugin>

             

                            </plugins>

             

                        </build>

             

                    </profile>

             

                </profiles>

             

            </project>

            • 3. Re: Arquillian with JBossEmbeddedAS
              Aslak Knutsen Master

              The surefire argLine value needs to be on a single line, your current setup only includes the memory settings.

              • 4. Re: Arquillian with JBossEmbeddedAS
                rop Newbie

                Aslak Knutsen wrote:

                 

                The surefire argLine value needs to be on a single line, your current setup only includes the memory settings.

                 

                Ouch.

                Actually, that's the eclipse auto-format feature (that I routinely use before saving a file) that messes up the xml-format.

                 

                So I fixed that, which now reflects in the log-output below, but still get the same darn error...

                 

                 

                 

                 

                 

                18:34:15,029 INFO  [ContainerRegistryCreator] Could not read active container configuration: null

                2011-05-04 18:34:17,560 1453  INFO  [org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase] (main:) Server Configuration:

                 

                    JBOSS_HOME URL: file:/c:/program1/jboss6/

                    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/

                 

                2011-05-04 18:34:17,607 1500  INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-1:) Starting: JBossAS [6.0.0.Final "Neo"]

                2011-05-04 18:34:22,998 6891  INFO  [org.jboss.system.server.ServerInfo] (Thread-1:) Java version: 1.6.0_24,Sun Microsystems Inc.

                2011-05-04 18:34:22,998 6891  INFO  [org.jboss.system.server.ServerInfo] (Thread-1:) Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

                2011-05-04 18:34:22,998 6891  INFO  [org.jboss.system.server.ServerInfo] (Thread-1:) Java VM: Java HotSpot(TM) Client VM 19.1-b02,Sun Microsystems Inc.

                2011-05-04 18:34:22,998 6891  INFO  [org.jboss.system.server.ServerInfo] (Thread-1:) OS-System: Windows XP 5.1,x86

                2011-05-04 18:34:22,998 6891  INFO  [org.jboss.system.server.ServerInfo] (Thread-1:) VM arguments: -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Djava.endorsed.dirs=c:\program1\jboss6/lib/endorsed -Djboss.home=c:\program1\jboss6 -Djboss.boot.server.log.dir=c:\program1\jboss6

                2011-05-04 18:34:23,014 6907  WARN  [org.jboss.mx.server.registry.BasicMBeanRegistry] (Thread-1:) preRegister() failed for jboss.system:type=ServerInfo:

                java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

                    at org.jboss.system.server.ServerInfo.preRegister(ServerInfo.java:158)

                    at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:979)

                    at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:491)

                    at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:665)

                    at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:708)

                    at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:222)

                    at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)

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

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

                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)

                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)

                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)

                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)

                    at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1443)

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

                    at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1438)

                    at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:378)

                    at org.jboss.system.server.jmx.JMXKernel.start(JMXKernel.java:215)

                    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 org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60)

                    at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168)

                    at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257)

                    at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)

                    at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202)

                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

                    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

                    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)

                    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)

                    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)

                    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)

                    at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)

                    at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:92)

                    at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:193)

                    at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:310)

                    at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:257)

                    at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doStart(AbstractJBossASServerBase.java:381)

                    at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413)

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

                2011-05-04 18:34:23,029 6922  ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (Thread-1:) Error installing to Start: name=JMXKernel state=Create

                javax.management.NotCompliantMBeanException: Cannot register MBean: jboss.system:type=ServerInfo

                    at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:320)

                    at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)

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

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

                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)

                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)

                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)

                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)

                    at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1443)

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

                    at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1438)

                    at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:378)

                    at org.jboss.system.server.jmx.JMXKernel.start(JMXKernel.java:215)

                    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 org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60)

                    at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168)

                    at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257)

                    at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)

                    at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202)

                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

                    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

                    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)

                    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)

                    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)

                    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)

                    at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)

                    at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:92)

                    at org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:193)

                    at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:310)

                    at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:257)

                    at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doStart(AbstractJBossASServerBase.java:381)

                    at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413)

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

                Caused by: javax.management.RuntimeErrorException

                    at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:736)

                    at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:222)

                    ... 52 more

                Caused by: java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V

                    at org.jboss.system.server.ServerInfo.preRegister(ServerInfo.java:158)

                    at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:979)

                    at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:491)

                    at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:665)

                    at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:708)

                    ... 53 more

                2011-05-04 18:34:26,139 10032 WARN  [org.jboss.classpool.plugins.jbosscl.JBossClRegistryHandler] (Thread-1:) Module VFSClassLoaderPolicyModule security-classloader:0.0.0 is not registered

                2011-05-04 18:34:26,342 10235 WARN  [org.jboss.classpool.plugins.jbosscl.JBossClRegistryHandler] (Thread-1:) Module VFSClassLoaderPolicyModule profile-classloader:0.0.0 is not registered

                2011-05-04 18:34:27,185 11078 WARN  [org.jboss.classpool.plugins.jbosscl.JBossClRegistryHandler] (Thread-1:) Module VFSClassLoaderPolicyModule deployers-classloader:0.0.0 is not registered

                2011-05-04 18:34:27,498 11391 WARN  [org.jboss.classpool.plugins.jbosscl.JBossClRegistryHandler] (Thread-1:) Module VFSClassLoaderPolicyModule jmx-classloader:0.0.0 is not registered