File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not dereference object
 
Similar Threads
EntityManager is null when I try to use it straight from filter servlet
JBoss5.1 EJB3 JSF1.2 integration problem
Problem to update with merge
Can't get data from single selected datatable.
Application-Managed Transaction without joining