当我运行jboss-cli.sh时,我收到此消息.
[root bin]# sh jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] connect localhost The controller is not available at localhost:9999 [disconnected /] connect The controller is not available at localhost:9999 [disconnected /] connect localhost:9999 The controller is not available at localhost:9999 [disconnected /]
我还有另一个jboss5 GA的安装.我希望这不会干扰.虽然现在完全关闭了.
本机管理界面是:standalone.sh中的9999
请注意这个问题.
#EDITED#
当我停止使用"service jboss stop"服务时,我收到此消息
[root@ bin]# *** JBossAS process (7302) received KILL signal *** grep: /var/run/jboss-as/jboss-as-standalone.pid: No such file or directory
我不知道如何检查服务器是否正在侦听端口9999.
更多细节
[root bin]# netstat -anp |grep 9999 tcp 0 0 127.0.0.1:9999 0.0.0.0:* LISTEN 7931/java [root bin]# netstat -anp |grep 8080 tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 7931/java
JBoss处理id,获取这些端口的服务器id是相同的.