• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Link Exception for Entity bean Lookup

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have deployed an entity bean called TestBean with JNDI name as "ejb.TestBeanHome" and ejb-name as "TestBeanJDBC" in WLS81, When i am trying to look up for this bean from my client code, i get the following exception:-
Exception ...javax.naming.LinkException: [Root exception is javax.naming.LinkException: [Root exception is javax.namin
g.NameNotFoundException: remaining name: /app/ejb/EntityProj.jar#TestBeanJDBC/local-home]; Link Remaining Name: 'null'];
Link Remaining Name: 'java:app/ejb/EntityProj.jar#TestBeanJDBC/local-home'


could ne1 help me out in figuring what is amiss over here...


thanks
Johnny
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mr Vergis,
Have you found a solution to this problem? I am having the same thing happen and was hoping you figured it out the last few days.
Thanks!
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
pls check if the bean has been correcly deployed and if it's registered under the JNDI tree. You can right click on the server name on the admin console and choose JNDI tree to see it. Also it would be helpfull if u post the client code fragment where u do the lookup.
regards.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic