Red Hat Bugzilla – Bug 886599
RHQ on as7: REST api complete failure
Last modified: 2013-09-03 12:41:42 EDT
When you hit the rest-api at
http://localhost:7080/rest/index.html you will see
app/rhq-enterprise-server-ejb3/RootHandlerBean -- service jboss.naming.context.java.app.rhq-enterprise-server-ejb3.RootHandlerBean
Same for other rest api endpoints
The failure is triggered by
If that is commented out, the rest-api again works as expected.
Basically what seems to happen is that resteasy scans for the rest-classes and knows (from the @Path annotation) that the RootHandlerBean -- an *interfaceless* stateless session bean is a rest endpoint implementation.
When a request hits the servlet, resteasy tries to find the RootHandlerBean in JNDI and fails.
This should be fixed in master by commits: