I am using Weblogic server , and have specified a start up class in which i am trying to get local refernce of my bean , but it throws Name not found exception in look up.But if i try to get remote reference , am able to get it.
What can be the problem?
thanx in advance
kapil
-
Getting Local Reference (2 messages)
- Posted by: kapil jaiswal
- Posted on: June 25 2003 02:23 EDT
Threaded Messages (2)
- Getting Local Reference by SAF . on June 25 2003 13:20 EDT
- Getting Local Reference by Thandaveswaran Venkatraman on July 04 2003 07:15 EDT
-
Getting Local Reference[ Go to top ]
- Posted by: SAF .
- Posted on: June 25 2003 13:20 EDT
- in response to kapil jaiswal
Did you specify a JNDI name for the local interface? Remote and Local interfaces each require a separater JNDI name. Make sure that you have specified a value for the following element in weblogic-ejb-jar.xml
<local-jndi-name> </local-jndi-name>
Raffi -
Getting Local Reference[ Go to top ]
- Posted by: Thandaveswaran Venkatraman
- Posted on: July 04 2003 07:15 EDT
- in response to kapil jaiswal
Hi,
It is mandatory to give the local-jndi-name in the weblogic-ejb-jar.xml inorder to access the bean as a local one. if u had already provided the jndi-name then u can only access the bean as a remote one.
It would be better if u have a look at the following link.
http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd