Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Could not dereference object

 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic