0

我正在尝试连接到 osx 上本地部署的 JBoss 7.2.0,但在尝试连接 CLI 时收到以下错误消息:

$ bin/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
The controller is not available at localhost:9999: java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out
[disconnected /] 

Netstat 显示:

tcp4       0      0  127.0.0.1.9999         *.*                    LISTEN

和服务器日志状态:

16:24:37,118 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on 127.0.0.1:9999

除此之外,我可以 telnet 到 127.0.0.1:9999(尽管连接由于不正确的数据包大小而中断,我认为这是预期的)。

我已经验证了standalone.xml 将 127.0.0.1 声明为正确的绑定地址,将 9999 声明为management-native的正确端口。

有什么我错过的,或任何其他解决问题的方法吗?

4

1 回答 1

0

是的,原来是 OpenJDK 中的一个错误。

于 2013-05-31T08:56:35.830 回答