File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Could not dereference object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Could not dereference object" Watch "Could not dereference object" New topic

Could not dereference object

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 229

I have deployed a web service in Jboss 6.0. It shown that the service is deployed successfully:

With my web service client, when I open its jsf page at:

it throws the following exception:

11:22:15,044 WARN [org.apache.cxf.phase.PhaseInterceptorChain] Application {}RoleWS#{}findAll has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: org.jboss.injection.manager.spi.InjectionException: javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: RoleFacade not bound]]

I have attached my client codes in the following section for reference.

This is a session bean in server side.

Very appreciate for any suggestion and help to resolve this error.

I agree. Here's the link:
subject: Could not dereference object
It's not a secret anymore!