First of all, I may have had my versions mixed up and I apologize for any 
confusion that may have caused.

After performing a clean install I now get different errors.

To reproduce the issue:

1) Download jboss-as-7.1.1.Final.zip from 
http://www.jboss.org/jbossas/downloads.  Note the timestamp: 2012-03-10.

2) Download resteasy-jaxrs-3.0-beta-4-all.zip from 
"http://sourceforge.net/projects/resteasy/files/Resteasy%20JAX-RS/3.0-beta-4.  
Unzip.

3) Unzip resteasy-jboss-modules-3.0-beta-4.zip in $JBOSS_HOME/modules directory.

4) In the resteasy /examples/ejb-integration directory:

 Edit pom.xml in the root directory.  Change the <jbossHome> property to the 
location of your JBoss installation

The following two steps are required to work around AS7 deployment issues:

5) In the resteasy /examples/ejb-integratinon/ear directory

 Edit pom.xml.  Change jboss-maven-plugin goal to "harddeploy".

6) Create $JBOSS_HOME/server/default/deploy directory.  Symlink to 
$JBOSS_HOME/standalone/deployments. 

7) In the resteasy /examples/ejb-integration directory:

mvn clean install

Thanks again for all the interest in this problem.

15:23:53,918 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
15:23:54,065 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
15:23:54,106 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" 
starting
15:23:54,666 INFO  [org.jboss.as.server] JBAS015888: Creating http management 
service using socket-binding (management-http)
15:23:54,667 INFO  [org.xnio] XNIO Version 3.0.3.GA
15:23:54,677 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
15:23:54,685 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
15:23:54,696 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log 
handlers
15:23:54,699 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) 
JBAS016200: Activating ConfigAdmin Subsystem
15:23:54,705 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread 
Pool -- 31) JBAS010280: Activating Infinispan subsystem.
15:23:54,709 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) 
JBAS011940: Activating OSGi Subsystem
15:23:54,718 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) 
JBAS011800: Activating Naming Subsystem
15:23:54,720 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) 
JBAS013101: Activating Security Subsystem
15:23:54,726 INFO  [org.jboss.as.security] (MSC service thread 1-3) JBAS013100: 
Current PicketBox version=4.0.7.Final
15:23:54,728 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) 
JBAS015537: Activating WebServices Extension
15:23:54,763 INFO  [org.jboss.as.connector] (MSC service thread 1-10) 
JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
15:23:54,774 INFO  [org.jboss.as.naming] (MSC service thread 1-12) JBAS011802: 
Starting Naming Service
15:23:54,800 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-12) 
JBAS015400: Bound mail session [java:jboss/mail/Default]
15:23:54,829 INFO  [org.jboss.as.connector.subsystems.datasources] 
(ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver 
class org.h2.Driver (version 1.3)
15:23:54,833 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC 
service thread 1-14) JBoss Web Services - Stack CXF Server 4.0.2.GA
15:23:54,917 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service 
thread 1-16) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
15:23:55,095 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service 
thread 1-7) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
15:23:55,330 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 
1-7) JBAS015012: Started FileSystemDeploymentService for directory 
/usr/local/Applications/JBoss/jboss-as-7.1.1.Final/standalone/deployments
15:23:55,336 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: 
Listening on localhost/127.0.0.1:4447
15:23:55,336 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: 
Listening on /127.0.0.1:9999
15:23:55,395 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin 
console listening on http://127.0.0.1:9990
15:23:55,395 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 
7.1.1.Final "Brontes" started in 1729ms - Started 133 of 208 services (74 
services are passive or on-demand)
15:41:15,595 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-13) 
JBAS015876: Starting deployment of "ejb-integration.ear"
15:41:16,001 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) 
JBAS015876: Starting deployment of "ejb-integration-war-3.0-beta-4.war"
15:41:16,001 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) 
JBAS015876: Starting deployment of "ejb-integration-3.0-beta-4.jar"
15:41:16,151 INFO  
[org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor]
 (MSC service thread 1-14) JNDI bindings for session bean named 
LocatingResourceBean in deployment unit subdeployment 
"ejb-integration-3.0-beta-4.jar" of deployment "ejb-integration.ear" are as 
follows:

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

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

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

15:41:16,160 ERROR [stderr] (MSC service thread 1-14) java.lang.Exception: 
entering getSubResourceClass()
15:41:16,160 ERROR [stderr] (MSC service thread 1-14)   at 
org.jboss.resteasy.util.GetRestful.getSubResourceClass(GetRestful.java:59)
15:41:16,161 ERROR [stderr] (MSC service thread 1-14)   at 
org.jboss.as.jaxrs.deployment.JaxrsComponentDeployer.deploy(JaxrsComponentDeployer.java:73)
15:41:16,162 ERROR [stderr] (MSC service thread 1-14)   at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
15:41:16,162 ERROR [stderr] (MSC service thread 1-14)   at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
15:41:16,163 ERROR [stderr] (MSC service thread 1-14)   at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
15:41:16,163 ERROR [stderr] (MSC service thread 1-14)   at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
15:41:16,164 ERROR [stderr] (MSC service thread 1-14)   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
15:41:16,164 ERROR [stderr] (MSC service thread 1-14)   at 
java.lang.Thread.run(Thread.java:680)
15:41:16,165 ERROR [stderr] (MSC service thread 1-14) java.lang.Exception: 
entering getSubResourceClass()
15:41:16,165 ERROR [stderr] (MSC service thread 1-14)   at 
org.jboss.resteasy.util.GetRestful.getSubResourceClass(GetRestful.java:59)
15:41:16,165 ERROR [stderr] (MSC service thread 1-14)   at 
org.jboss.as.jaxrs.deployment.JaxrsComponentDeployer.deploy(JaxrsComponentDeployer.java:73)
15:41:16,166 ERROR [stderr] (MSC service thread 1-14)   at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
15:41:16,166 ERROR [stderr] (MSC service thread 1-14)   at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
15:41:16,167 ERROR [stderr] (MSC service thread 1-14)   at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
15:41:16,167 ERROR [stderr] (MSC service thread 1-14)   at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
15:41:16,168 ERROR [stderr] (MSC service thread 1-14)   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
15:41:16,168 ERROR [stderr] (MSC service thread 1-14)   at 
java.lang.Thread.run(Thread.java:680)
15:41:16,416 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ejb-integration-war]]
 (MSC service thread 1-15) Exception sending context initialized event to 
listener instance of class 
org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap: 
java.lang.RuntimeException: javax.naming.NameNotFoundException: 
ejb-integration/SimpleResourceBean/local -- service 
jboss.naming.context.java.ejb-integration.SimpleResourceBean.local
        at 
org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory.getScannableClass(JndiResourceFactory.java:62)
 [resteasy-jaxrs-3.0-beta-4.jar:]
        at 
org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:100)
 [resteasy-jaxrs-3.0-beta-4.jar:]
        at 
org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:88)
 [resteasy-jaxrs-3.0-beta-4.jar:]
        at 
org.jboss.resteasy.core.ResourceMethodRegistry.addJndiResource(ResourceMethodRegistry.java:62)
 [resteasy-jaxrs-3.0-beta-4.jar:]
        at 
org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:353)
 [resteasy-jaxrs-3.0-beta-4.jar:]
        at 
org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:226) 
[resteasy-jaxrs-3.0-beta-4.jar:]
        at 
org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap.contextInitialized(ResteasyBootstrap.java:28)
 [resteasy-jaxrs-3.0-beta-4.jar:]
        at 
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
 [jbossweb-7.0.13.Final.jar:]
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) 
[jbossweb-7.0.13.Final.jar:]
        at 
org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
 [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
        at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
        at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
        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: javax.naming.NameNotFoundException: 
ejb-integration/SimpleResourceBean/local -- service 
jboss.naming.context.java.ejb-integration.SimpleResourceBean.local
        at 
org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)
        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)
        at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:113)
        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)
        at javax.naming.InitialContext.lookup(InitialContext.java:392) 
[classes.jar:1.6.0_26]
        at 
org.jboss.resteasy.plugins.server.resourcefactory.JndiResourceFactory.getScannableClass(JndiResourceFactory.java:57)
 [resteasy-jaxrs-3.0-beta-4.jar:]
        ... 14 more

15:41:16,471 ERROR [org.apache.catalina.core.StandardContext] (MSC service 
thread 1-15) Error listenerStart
15:41:16,471 ERROR [org.apache.catalina.core.StandardContext] (MSC service 
thread 1-15) Context [/ejb-integration-war] startup failed due to previous 
errors
15:41:16,484 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-15) 
MSC00001: Failed to start service 
jboss.web.deployment.default-host./ejb-integration-war: 
org.jboss.msc.service.StartException in service 
jboss.web.deployment.default-host./ejb-integration-war: JBAS018040: Failed to 
start context
        at 
org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)
        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]

15:41:16,689 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) 
JBAS015870: Deploy of deployment "ejb-integration.ear" was rolled back with 
failure message {"JBAS014671: Failed services" => 
{"jboss.web.deployment.default-host./ejb-integration-war" => 
"org.jboss.msc.service.StartException in service 
jboss.web.deployment.default-host./ejb-integration-war: JBAS018040: Failed to 
start context"}}
15:41:16,720 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) 
JBAS015877: Stopped deployment ejb-integration-3.0-beta-4.jar in 30ms
15:41:16,721 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) 
JBAS015877: Stopped deployment ejb-integration-war-3.0-beta-4.war in 31ms
15:41:16,730 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-11) 
JBAS015877: Stopped deployment ejb-integration.ear in 40ms
15:41:16,732 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) 
JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service 
jboss.web.deployment.default-host./ejb-integration-war: 
org.jboss.msc.service.StartException in service 
jboss.web.deployment.default-host./ejb-integration-war: JBAS018040: Failed to 
start context

15:41:16,734 ERROR [org.jboss.as.server.deployment.scanner] 
(DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and 
was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: 
Failed services" => {"jboss.web.deployment.default-host./ejb-integration-war" 
=> "org.jboss.msc.service.StartException in service 
jboss.web.deployment.default-host./ejb-integration-war: JBAS018040: Failed to 
start context"}}}}



------------------------------------------------------------------------------
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
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to