When you start the domain without the --host option, I'm curious as to
what your hostname value is.
To get this, run:
asadmin generate-jvm-report | grep hostName
On my system, the output is:
com.sun.aas.hostName = adc2180966.us.oracle.com
i.e., it is the FQDN for the host, and specifically, it is not "localhost".
BTW, the --host option to start-domain should be ignored as it is a
local command. I'm really surprised you are seeing a difference in
behavior.
Tom
On 3/11/2011 2:11 PM, forums_at_java.net wrote:
> Looks like this is a bug and fortunately there is work around as given
> in the
> following link
>
> http://java.net/jira/browse/GLASSFISH-13885
>
> Start the server in the following way and everything works fine.
> asadmin --host <glassfishinstalledhostname> [1] --port 4848 start-domain
>
>
> [1] http://www.example.com/
>
> --
>
> [Message sent by forum member 'rkonkimalla']
>
> View Post: http://forums.java.net/node/779778
>
>