wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes JNDI/Deployment Error  WLS 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "JNDI/Deployment Error  WLS 7" Watch "JNDI/Deployment Error  WLS 7" New topic
Author

JNDI/Deployment Error WLS 7

Brad Baker
Greenhorn

Joined: Aug 12, 2002
Posts: 15
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


Sun Certified Java Programmer.<br />Sun Certified Java Developer.
 
 
subject: JNDI/Deployment Error WLS 7