Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI/Deployment Error WLS 7

 
Brad Baker
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I am trying my first bean on Weblogic 7 and can't seem to get the deployment descriptor correct. The home interface is, ObjectIDLocalHome and the full class name is
com.oga.gserve.biz.oid.ObjectIDLocalHome. I am using the fully qualified class name so that I can do an EJBHomeFactory latter on.
I have used the WLS console and see my bean in the JNDI tree I also used the following to find it:

I find ObjectIDLocalHome as type javax.naming.LinkRef, as a leaf of com.oga.gserve.biz.oid
So I know it exist!
But why as a javax.naming.LinkRef?
Now when I try the following:

I get:
javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException: Unable to resolve 'java:app.ejb/gs-ejbs.jar#ObjectID/local-home' Resolved: ''
Unresolved:'java:app' ; remaining name 'java:app.ejb/gs-ejbs.jar#ObjectID/local-home'
What is wrong?
It must be in one of the .xmls but I can't see it:

Thank you for any help,
Brad
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic