加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

glassfish – asadmin create-domain失败:所有端口都在使用中

发布时间:2020-12-14 18:37:07 所属栏目:资源 来源:网络整理
导读:我正在尝试使用asadmin工具创建一个新域,但每次报告所有端口都在使用时它都会失败.操作系统是Fedora 19.可能是什么问题? $./bin/asadmin create-domain testdomainEnter admin user name [Enter to accept default "admin" / no password] Default port 484
我正在尝试使用asadmin工具创建一个新域,但每次报告所有端口都在使用时它都会失败.操作系统是Fedora 19.可能是什么问题?
$./bin/asadmin create-domain testdomain
Enter admin user name [Enter to accept default "admin" / no password]> 
Default port 4848 for Admin is in use. Using 52447
Default port 8080 for HTTP Instance is in use. Using 33934
Default port 7676 for JMS is in use. Using 33967
Default port 3700 for IIOP is in use. Using 34733
Default port 8181 for HTTP_SSL is in use. Using 52020
Default port 3820 for IIOP_SSL is in use. Using 46636
Default port 3920 for IIOP_MUTUALAUTH is in use. Using 39574
Default port 8686 for JMX_ADMIN is in use. Using 51770
Default port 6666 for OSGI_SHELL is in use. Using 41403
Default port 9009 for JAVA_DEBUGGER is in use. Using 60521
Port 52,447 is in use
CLI130 Could not create domain,testdomain
Command create-domain failed.

解决方法

我遇到了同样的问题,最后证明我的主机名没有在/ etc / hosts文件中配置. asadmin给出的错误在某种程度上是误导性的.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读