[jboss-user] [JNDI/Naming/Network] - Re: Always getting not bound naming exceptions

ezanih do-not-reply at jboss.com
Wed Jan 7 00:15:40 EST 2009


It also doesn't work if I use this :


  | //BiddingTestBeanRemote bidder = (BiddingTestBeanRemote) ctx.lookup("ejb/BiddingTestBean");
  | BiddingTestBeanRemote bidder = (BiddingTestBeanRemote) PortableRemoteObject.narrow (ctx.lookup("ejb/BiddingTestBean"), BiddingTestBeanRemote.class);
  | 

or this:

  | //BiddingTestBeanRemote bidder = (BiddingTestBeanRemote) ctx.lookup("pc:comp/env/ejb/BiddingTestBean");
  | BiddingTestBeanRemote bidder = (BiddingTestBeanRemote) PortableRemoteObject.narrow (ctx.lookup("pc:comp/env/ejb/BiddingTestBean"), BiddingTestBeanRemote.class);
  | 

Any idea what possible errors I am making?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199963#4199963

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199963



More information about the jboss-user mailing list