First, double check that RestfulLocal is annotated with @Path.  If so, 
I'm guessing its a classloader problem because of this error message:

> java.lang.RuntimeException: Class is not a root resource.  It, or one of
> its interfaces must be annotated with @Path: $Proxy409 implements:
>   com.acme.session.RestfulLocal

In that case, make sure all your Resteasy libraries are installed in the 
ear's /lib, and that there is no copy in the WAR's.

BTW, if you can, you should upgrade to AS7.  Its faster, supports EE6, 
and is integrated with Resteasy.  You don't even have to have an EAR 
anymore.  You should also upgrade your Resteasy version as I'm guessing 
you're using a much older one.

Bill Burke
JBoss, a division of Red Hat

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
Resteasy-users mailing list

Reply via email to