users@glassfish.java.net

Re: How to start GlassFish with a specific IP?

From: <glassfish_at_javadesktop.org>
Date: Sat, 17 Jul 2010 18:38:52 PDT

You can modify the domain.xml, add one jvm-options to the [java-config].
like following.
<java-config ..
  <jvm-options>-Dcom.sun.aas.hostName=$Specific_IP</jvm-options>

Please try it.
[Message sent by forum member 'xuqingkang']

http://forums.java.net/jive/thread.jspa?messageID=477875