Problem with Remote EJB 3.0
Hello all,
I'm having a problem when i try to lookup the remote interface of a EJB3.0.
I wrote a EJB with a remote interface and a local interface.
When accessed locally all works fine but when i tried to write a stand-alone test program to access the remote interface every time i'm getting the exception
this.ctx = new InitialContext();
String EJBName =
"ar.edu.unl.rectorado.autenticacion.AutenticadorRemotoRemote";autenticador = (AutenticadorRemotoRemote)ctx.lookup(EJBName);
javax.naming.NameNotFoundException: ar.edu.unl.rectorado.autenticacion.AutenticadorRemotoRemote not found
at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:203)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:175)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.RemoteSerialContextProviderImpl.lookup(RemoteSerialContextProviderImpl.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
The Ejb module is running on glassfish.
It looks like a JNDI matter, but I was searching on the net, and everywere the examples are just like
https://glassfish.dev.java.net/javaee5/ejb/examples/Sless.html
Thanks and sorry for my English
Gonzalo

