Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic