Re: [Resteasy-users] Resteasy 3.0-beta-4 ejb-integrtation-test fails on AS 7.1.1.Final

2013-04-17 Thread Tom Coleman


Is this problem maybe due in part to JNDI changes in AS7

Does AS7 need some other param-value in web.xml?

   
  resteasy.jndi.resources
  
ejb-integration/SimpleResourceBean/local,ejb-integration/LocatingResourceBean/local
  
   

Getting nowhere, the stack trace below is the result of some experimenting.

I tried (in desperation):
 
java:app/ejb-integration-3.0-beta-4/SimpleResourceBean,java:app/ejb-integration-3.0-beta-4/LocatingResourceBean>

18:02:19,908 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) 
JBAS015876: Starting deployment of "ejb-integration.ear"
18:02:20,887 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) 
JBAS015876: Starting deployment of "ejb-integration-war-3.0-beta-4.war"
18:02:20,887 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) 
JBAS015876: Starting deployment of "ejb-integration-3.0-beta-4.jar"
18:02:21,028 INFO  
[org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor]
 (MSC service thread 1-11) 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

18:02:21,030 INFO  
[org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor]
 (MSC service thread 1-11) 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

18:02:21,031 ERROR [stderr] (MSC service thread 1-11) java.lang.Exception: 
entering getSubResourceClass()
18:02:21,031 ERROR [stderr] (MSC service thread 1-11)   at 
org.jboss.resteasy.util.GetRestful.getSubResourceClass(GetRestful.java:59)
18:02:21,032 ERROR [stderr] (MSC service thread 1-11)   at 
org.jboss.as.jaxrs.deployment.JaxrsComponentDeployer.deploy(JaxrsComponentDeployer.java:73)
18:02:21,032 ERROR [stderr] (MSC service thread 1-11)   at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
18:02:21,032 ERROR [stderr] (MSC service thread 1-11)   at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
18:02:21,033 ERROR [stderr] (MSC service thread 1-11)   at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
18:02:21,033 ERROR [stderr] (MSC service thread 1-11)   at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
18:02:21,033 ERROR [stderr] (MSC service thread 1-11)   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
18:02:21,033 ERROR [stderr] (MSC service thread 1-11)   at 
java.lang.Thread.run(Thread.java:680)
18:02:21,034 ERROR [stderr] (MSC service thread 1-11) java.lang.Exception: 
entering getSubResourceClass()
18:02:21,034 ERROR [stderr] (MSC service thread 1-11)   at 
org.jboss.resteasy.util.GetRestful.getSubResourceClass(GetRestful.java:59)
18:02:21,035 ERROR [stderr] (MSC service thread 1-11)   at 
org.jboss.as.jaxrs.deployment.JaxrsComponentDeployer.deploy(JaxrsComponentDeployer.java:73)
18:02:21,035 ERROR [stderr] (MSC service thread 1-11)   at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
18:02:21,035 ERROR [stderr] (MSC service thread 1-11)   at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
18:02:21,035 ERROR [stderr] (MSC service thread 1-11)   at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
18:02:21,036 ERROR [stderr] (MSC service thread 1-11)   at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
18:02:21,036 ERROR [stderr] (MSC service thread 1-11)   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
18:02:21,036 ERROR [stderr] (MSC service thread 1-11)   at 
java.lang.Thread.run(Thread.java:680)
18:02:21

Re: [Resteasy-users] Resteasy 3.0-beta-4 ejb-integrtation-test fails on AS 7.1.1.Final

2013-04-12 Thread Bill Burke
Ah, ok, then this is just a broken example and not a regression or 
incompatibility problem.

On 4/12/2013 4:21 PM, Tom Coleman wrote:
>
>
> 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  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:
> 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

Re: [Resteasy-users] Resteasy 3.0-beta-4 ejb-integrtation-test fails on AS 7.1.1.Final

2013-04-12 Thread Tom Coleman


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  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:
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 
LocatingRe

Re: [Resteasy-users] Resteasy 3.0-beta-4 ejb-integrtation-test fails on AS 7.1.1.Final

2013-04-11 Thread Weinan Li

On Apr 11, 2013, at 9:28 PM, Bill Burke  wrote:

> Ugh!  I thought this problem was fixed!
> 
Yeah it's fixed in EAP6.1.0 :-)

For JBoss AS 7.1.1, it's an already released community version, I believe the 
version conflicts exists.

And JBoss AS trunk has fixed this problem.

> On 4/11/2013 9:21 AM, Weinan Li wrote:
>> 
>> On Apr 11, 2013, at 7:10 AM, Tom Coleman  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) 
>>> MSC1: 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(Lja

Re: [Resteasy-users] Resteasy 3.0-beta-4 ejb-integrtation-test fails on AS 7.1.1.Final

2013-04-11 Thread Bill Burke
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  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) 
>> MSC1: 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.DeploymentUnitPhaseSe

Re: [Resteasy-users] Resteasy 3.0-beta-4 ejb-integrtation-test fails on AS 7.1.1.Final

2013-04-11 Thread Weinan Li

On Apr 11, 2013, at 7:10 AM, Tom Coleman  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) 
> MSC1: 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) 
> JBAS01587

[Resteasy-users] Resteasy 3.0-beta-4 ejb-integrtation-test fails on AS 7.1.1.Final

2013-04-10 Thread Tom Coleman

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) 
MSC1: 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-te