users@glassfish.java.net

Re: How to access an EJB remotely in GlassFish

From: <glassfish_at_javadesktop.org>
Date: Tue, 17 Feb 2009 07:20:57 PST

right click on your ejb client main class in eclipse, choose run as-> run configurations, arguments tab, and there in VM arguments paste:

-Dorg.omg.CORBA.ORBInitialPort=3700
-Dorg.omg.CORBA.ORBInitialHost=hostip

in my case this works

-michal
[Message sent by forum member 'freeq1986' (freeq1986)]

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