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