在osx上连接到本地JBoss 7.2.0的超时

时间:2013-05-30 14:33:17

标签: osx-lion jboss7.x

我正在尝试连接到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 的正确端口。

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

1 个答案:

答案 0 :(得分:0)

是的,OpenJDK中的bug原来是它。