奇异的Glassfish启动错误

奇异的Glassfish启动错误

# ./asadmin start-domain
There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server.
Command start-domain failed.
 

经过研究发现,如果你的host文件里面没有你自己的hostname的话,一定会出这个错误!

可以用¥hostname查看你当前的hostname,请确保可以用命令ping到。

猜你喜欢

转载自yhjhoo.iteye.com/blog/1202018