The following code is used by IPMBaseBean.class
for accessing remote interface .
Object obj = iniCtx.lookup("java:/comp/env/ejb/ODIControllerSessionEJB");
In jboss-web.xml
jndi-name
is refered as below
<ejb-ref-name>ejb/ODIControllerSessionEJB</ejb-ref-name>
<jndi-name>jnp://vwhq5275.whq.ual.com:6200/ODIControllerSessionEJB</jndi-name>
Error:
Naming exception
javax.naming.NameNotFoundException: comp not bound..
Please suggest on this issue.