Nov 8, 2018

How to solve: Glassfish: asadmin start-domain command does not start if it does not resolve the hostname

solution:

/etc/sysconfig/network, edit the

HOSTNAME=output_of_hostname

OR

add the output of the hostname command to /etc/hosts

for example:

127.0.0.1  output_of_hostname