I\'m having trouble starting Glassfish 3.1
on a newly setup Debian \"Squeeze\" server. This is a testing server that has been setup and the Glassfish
i
-step 1 start glassfish -step 2 change the hostname
result: error starting glassfish
solution: 1 quit the hostname and just leave localhost
2 start glassfish 3 stop glassfish
4 add the hostname
5 start glassfish and it works!!!
$ cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.2 YOURHOSTNAME
$ glassfish4/bin/asadmin start-domain
Waiting for domain1 to start .......
Successfully started the domain : domain1