Title: RE: [JBoss-user] Remote RMI (jndi)

Basically, your jndi lookup name doesn't match what's in your ejb-jar.xml and/or jboss.xml or it is in the wrong context (maybe should be ejb/...).

-----Original Message-----
From: Jeremy Rempel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 12:10 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Remote RMI (jndi)


I am trying to access a ejb remotley though JNDI. It compiles perfect
and it works when it is on the same machine and I update my
jndi.properties. When I try and move it to and access it remotley it
returns null.

jndiContext = new InitialContext();
ref = jndiContext.lookup("RouteListSessionEJB"); // returns null

When I change jndi.properties to a host w/o JBOSS running it gives a
connection error on InitialContext(), so that is not the case. Port 1099
is open.

Any help is greatly appreciated.

Thanks, Jeremy



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to