users@glassfish.java.net

Re: problem with running ejb client

From: <glassfish_at_javadesktop.org>
Date: Fri, 16 Jan 2009 07:03:47 PST

You said:
> What i wanted to do now is run it from a console (to test it later on another machine).
> I have read some topics about that so my run command is rather long ; )
> 'java -Dorg.omg.CORBA.ORBInitialPort=3700 -Dorg.omg.CORBA.ORBInitialHost=myip -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory -jar ejbklient2.jar'.

I suggested you remove the -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory and try again.

What do you get if you do this?
[Message sent by forum member 'matterbury' (matterbury)]

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