Skip to main content

change the default hostname for glassfish .

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
mauro2011
Offline
Joined: 2011-06-08

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?