| Author |
Could not dereference object
|
sam White
Ranch Hand
Joined: Feb 18, 2011
Posts: 204
|
|
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
|
 |
 |
|
|
subject: Could not dereference object
|
|
|