users@glassfish.java.net

Re: Remote EJB invocation

From: <glassfish_at_javadesktop.org>
Date: Mon, 18 Oct 2010 11:46:20 PDT

On client side, the app is trying to lookup a stateless EJB from server side.

Here is the code :

Properties p = new Properties();
p.put("org.omg.CORBA.ORBInitialHost","localhost");
p.put("org.omg.CORBA.ORBInitialPort","3700");
Context initialContext = new InitialContext(p);
Object remoteObject= initialContext.lookup("java:global/test/TestBean");

But the lookup fails on server side.
[Message sent by forum member 'tilzi29']

http://forums.java.net/jive/thread.jspa?messageID=485495