Skip to main content

change the default hostname for glassfish .

No replies
mauro2011
Offline
Joined: 2011-06-08
Points: 0

hi all .
FOr to change the default hostname that glassfsih get from the propertie ${com.sun.aas.hostname} :

when a application client Ejb with ACC downloaded with webstart try to call from ouside the LAN , not work .

FRom the forum i have rtead that itis a problem form the hostname readed from Linux automaticallu , and when the client ouside LAN call the ORB it iget the IP private of IP into the LAN of glassfsih.

I have added at domain.mxl the following JVM propertie:
-Dcom.sun.aas.hostname=piripicchio.org

you thing that it is ok?