HI Tim, thank you for your reply !..
Host roberth is succesful resolved:
sebaxtz_at_sebaxtz ent-test-app-client]$ ping roberth
PING roberth (10.0.0.100) 56(84) bytes of data.
64 bytes from roberth (10.0.0.100): icmp_seq=1 ttl=64 time=0.215 ms
64 bytes from roberth (10.0.0.100): icmp_seq=2 ttl=64 time=0.176 ms
sebaxtz_at_sebaxtz ent-test-app-client]$ ping sebaxtz
PING sebaxtz (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.063 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.041 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.046 ms
I don't know what read, and where I should look for something additional !..
its driving me crazy... I get the same error message, pointing to 127.0.0.1 if I run from command line:
java -Dorg.omg.CORBA.ORBInitialHost=roberth -classpath /opt/glassfish/lib/appserv-rt.jar:./ent-test-app-client.jar:/opt/glassfish/lib/javaee.jar enttest.Main BeanTestRemote
I don't know WHY it's looking for localhost !
opt/glassfish/ is the directory of the local glassfish, turned off. if I start it (localhost glassfish not roberth), I get:
Exception in thread "main" java.lang.NoClassDefFoundError: ejb/BeanTestRemote
at enttest.Main.<init>(Main.java:48)
at enttest.Main.main(Main.java:59)
???????
I really don't know how override the F____ING 127.0.0.1 !
it seems like if would find the JNDI in localhost, but why ??..
kind regards!!
[Message sent by forum member 'sebaxtz' (sebaxtz)]
http://forums.java.net/jive/thread.jspa?messageID=242437