0 Replies Latest reply on Mar 10, 2013 8:36 PM by Sidney Zurch

    Resteasy 3.0-beta-4 ejb-integration-test fails on AS 7.1.1.Final

    Sidney Zurch Novice

      Can someone please help with trying to get a Resteasy ear/ejb/war project running on AS7?

       

      Below is the output from the deployment of the ejb-integration test in the jboss-integration-testing directory of the current Resteasy.master.

       

      It looks like the test is run against jboss-4.2.3.GA, so my guess is that I am probably running into some AS7 deployment issue.

       

       

      19:33:48,286 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015876: Starting deployment of "ejb-integration-test.ear"

      19:33:48,296 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015876: Starting deployment of "ejb-test-war-3.0-beta-4.war"

      19:33:48,296 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015876: Starting deployment of "ejb-test-3.0-beta-4.jar"

      19:33:48,321 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-15) JNDI bindings for session bean named LocatingResourceBean in deployment unit subdeployment "ejb-test-3.0-beta-4.jar" of deployment "ejb-integration-test.ear" are as follows:

       

        java:global/ejb-integration-test/ejb-test-3.0-beta-4/LocatingResourceBean!org.resteasy.test.ejb.LocatingResource

        java:app/ejb-test-3.0-beta-4/LocatingResourceBean!org.resteasy.test.ejb.LocatingResource

        java:module/LocatingResourceBean!org.resteasy.test.ejb.LocatingResource

        java:global/ejb-integration-test/ejb-test-3.0-beta-4/LocatingResourceBean

        java:app/ejb-test-3.0-beta-4/LocatingResourceBean

        java:module/LocatingResourceBean

       

      19:33:48,326 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-15) JNDI bindings for session bean named FooResourceBean in deployment unit subdeployment "ejb-test-3.0-beta-4.jar" of deployment "ejb-integration-test.ear" are as follows:

       

        java:global/ejb-integration-test/ejb-test-3.0-beta-4/FooResourceBean!org.resteasy.test.ejb.exception.FooResource

        java:app/ejb-test-3.0-beta-4/FooResourceBean!org.resteasy.test.ejb.exception.FooResource

        java:module/FooResourceBean!org.resteasy.test.ejb.exception.FooResource

        java:global/ejb-integration-test/ejb-test-3.0-beta-4/FooResourceBean

        java:app/ejb-test-3.0-beta-4/FooResourceBean

        java:module/FooResourceBean

       

      19:33:48,327 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-15) JNDI bindings for session bean named SimpleResourceBean in deployment unit subdeployment "ejb-test-3.0-beta-4.jar" of deployment "ejb-integration-test.ear" are as follows:

       

        java:global/ejb-integration-test/ejb-test-3.0-beta-4/SimpleResourceBean!org.resteasy.test.ejb.SimpleResource

        java:app/ejb-test-3.0-beta-4/SimpleResourceBean!org.resteasy.test.ejb.SimpleResource

        java:module/SimpleResourceBean!org.resteasy.test.ejb.SimpleResource

        java:global/ejb-integration-test/ejb-test-3.0-beta-4/SimpleResourceBean

        java:app/ejb-test-3.0-beta-4/SimpleResourceBean

        java:module/SimpleResourceBean

       

      19:33:48,329 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-15) MSC00001: Failed to start service jboss.deployment.subunit."ejb-integration-test.ear"."ejb-test-3.0-beta-4.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."ejb-integration-test.ear"."ejb-test-3.0-beta-4.jar".POST_MODULE: Failed to process phase POST_MODULE of subdeployment "ejb-test-3.0-beta-4.jar" of deployment "ejb-integration-test.ear"

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_26]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_26]

        at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_26]

      Caused by: java.lang.NoSuchMethodError: org.jboss.resteasy.util.GetRestful.getSubResourceClass(Ljava/lang/Class;)Ljava/lang/Class;

        at org.jboss.as.jaxrs.deployment.JaxrsComponentDeployer.deploy(JaxrsComponentDeployer.java:73)

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        ... 5 more

       

      19:33:48,534 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ejb-integration-test.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"ejb-integration-test.ear\".\"ejb-test-3.0-beta-4.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"ejb-integration-test.ear\".\"ejb-test-3.0-beta-4.jar\".POST_MODULE: Failed to process phase POST_MODULE of subdeployment \"ejb-test-3.0-beta-4.jar\" of deployment \"ejb-integration-test.ear\""}}

      19:33:48,547 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-10) JBAS015877: Stopped deployment ejb-test-3.0-beta-4.jar in 13ms

      19:33:48,548 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment ejb-test-war-3.0-beta-4.war in 14ms

      19:33:48,550 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015877: Stopped deployment ejb-integration-test.ear in 15ms