Ugh! I thought this problem was fixed! On 4/11/2013 9:21 AM, Weinan Li wrote: > > On Apr 11, 2013, at 7:10 AM, Tom Coleman <[email protected]> wrote: > >> >> 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) > This is caused by a recent RESTEasy API change. Please use JBoss AS trunk to > work with RESTEAsy 3.0-beta-4. > > > >> 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 >> >> >> ------------------------------------------------------------------------------ >> Precog is a next-generation analytics platform capable of advanced >> analytics on semi-structured data. The platform includes APIs for building >> apps and a phenomenal toolset for data science. Developers can use >> our toolset for easy data analysis & visualization. Get a free account! >> http://www2.precog.com/precogplatform/slashdotnewsletter >> _______________________________________________ >> Resteasy-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/resteasy-users > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Resteasy-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/resteasy-users >
-- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Resteasy-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/resteasy-users
