Lookup of remote interface is not getting recognised in JBOSS
- by harshildec5
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/ODIControllerSessionEJB
jnp://vwhq5275.whq.ual.com:6200/ODIControllerSessionEJB
Error:
Naming exception
javax.naming.NameNotFoundException: comp not bound..
Please suggest on this issue.