Ok, problem solved!
I checked again for any differences I might still have with my project that
was working a few months ago, and discovered that in my pom.xml file for my
maven project that creates the WAR, I have this:
...
VOLTP
which is the same "finalName" in the pom.xml of my mvn proje
Well, before your error was:
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
Now it is:
On 5/29/12 3:05 PM, Rogelio Flores wrote:
> [org.apache.catalina.core.ContainerBas
Specific to the question on dependency ordering (and not saying it has
anything to do with your error), I found that JBoss 5 went primarily
by alphabetical order of the EJB name. If I ran into an ordering
problem, I resorted to JNDI lookups during the @PostConstruct.
As far as debugging your name-
Thanks Jim and Bill for your responses, unfortunately your suggestions
haven't worked for me. I get "bean not bound" consistently with any/all of
the changes suggested. I'd love to use JBoss 7, but I have to deploy this
app along some legacy setup and ears on JBoss 5 that it's simply
prohibitive to
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
Two things to try
1) verify your EJB only implements 1 interface -- I seem to remember
running into issues when I attempted to use multiple interfaces.
2) try removing the @Local from the interface and declare the local from the EJB
@Local(ResfulLocal.class)
@Stateless...
I have run into cases wit
Ok, looks like I have a problem others have reported before, but still
can't make it work (I also didn't see how to search this mailing list for
old messages).
I have a RESTful service running off a SLSB as explained here:
http://docs.jboss.org/resteasy/docs/2.0.0.GA/userguide/html/RESTEasy_EJB_In