I have something you can try just for kicks. I apologize in advance if I'm
trivializing your problem.
When I first started using the web start functionality, I was confused by
something similar. In my development environment I usually end up changing the
network address (ip) of the default orb listener (orb-listener-1) to the actual
IP address of the machine. If I don't, web start tries to use 127.0.0.1.
In the GUI, go to:
Configuration --> ORB --> IIOP Listeners --> orb-listener-1
The network address defaults to 0.0.0.0 for me. If it is, change it to the IP
address of your machine temporarily and see if that makes and difference. I
don't know what impact (if any) this would have in a production environment.
Ryan
glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>