JBoss Community

Re: javax.naming.NameNotFoundException: XYZSessionBeanLocal not bound

created by Nik J in Beginner's Corner - View the full discussion

Hi Wolf,

 

jndi view-

 

  |   +- XYZSessionBeanLocal (proxy: $Proxy6055 implements interface com.ejb.sys.ag.interfaces.IXYZBeanLocalHome)

and

InitialContext initialContext;

        if(cachedLocalHome != null)

            break MISSING_BLOCK_LABEL_40;

        initialContext = new InitialContext();

        cachedLocalHome = (IXYZBeanLocalHome)initialContext.lookup("java:comp/env/ejb/XYZBeanLocal");

        initialContext.close();

        break MISSING_BLOCK_LABEL_40;

        Exception exception;

        exception;

        initialContext.close();

        throw exception;

        return cachedLocalHome;

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community