I am working on BMP.
I write ejb-jar for jndiname like this.
<ejb-name>disableNotification</ejb-name>
<ejb-ref>
<jndi-name>ejb/disableNotification</jndi-name>
<local-jndi-name>ejb/disableNotificationLocal</local-jndi-name>
</ejb-ref>
My client program is like
InitialContext jndiContext = new InitialContext();
Object ref = jndiContext.lookup("ejb/disableNotification");
when i runnig my Client program i got the error like this.
javax.naming.NameNotFoundException: disableNotification not bound
Please Help.i unable to overcome this.i tried a lot. i need this urjently.
Regards,
Sathish
You probably mean to lookup java:comp/env/ejb/disableNotification or something similar.
Ejb-jar.xml does not support <jndi-name> tags, please check your descriptors and make sure they validate.
-- Juha