aspose file tools*
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
Author

Could not dereference object

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Hello,

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:
http://localhost:8080/HousewareEnterpriseApplicationClient-war/faces/role_admin.xhtml

it throws the following exception:

11:22:15,044 WARN [org.apache.cxf.phase.PhaseInterceptorChain] Application {http://ws.houseware.com.au/}RoleWS#{http://ws.houseware.com.au/}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.

RoleManager.java:



RoleController.java:



This is a session bean in server side. RoleFacade.java:



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

Thanks
Sam
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Could not dereference object