Thanks for your reply asack!

Prior to making any changes, here's what my jndi list() function returns:


  |   +- HelloWorld (proxy: $Proxy60 implements interface 
com.contendi.helloworld.beans.HelloWorld,interface 
org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject)
  | 

I tried changing my lookup to "HelloWorld", and I still got the same error:

  | javax.naming.NameNotFoundException: HelloWorldBean/remote
  | 
(note: the "HelloWorldBean" here is not a typo)

I tried changing the binding name to "HelloWorld/remote", and got the above 
exception also.

The jndi list() method changes to the following after changing the binding:

  | +- HelloWorld (class: org.jnp.interfaces.NamingContext)
  |   |   +- remote (proxy: $Proxy104 implements interface 
com.contendi.helloworld.beans.HelloWorld,interface 
org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject)
  | 

I've tried accessing it with the following lookups (all of them return the 
above exception):

  | HelloWorld hwRemote = (HelloWorld) ctx.lookup("HelloWorldBean/remote");
  | HelloWorld hwRemote = (HelloWorld) ctx.lookup("HelloWorldBean");
  | HelloWorld hwRemote = (HelloWorld) ctx.lookup("HelloWorld/remote");
  | HelloWorld hwRemote = (HelloWorld) ctx.lookup("HelloWorld");
  | 

Thanks in advance for your replies!!

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to