Unable to start Glassfish 3.1 even though port not occupied

后端 未结 10 1227
傲寒
傲寒 2021-02-07 02:11

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

10条回答
  •  被撕碎了的回忆
    2021-02-07 02:58

    -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

提交回复
热议问题