简体   繁体   English

NetBeans(8.0.2)无法与Wildfly 9(最终版)通信

[英]NetBeans (8.0.2) can't communicate with Wildfly 9 (Final)

If i start a Wildfly 9 Server with NetBeans, it does not detect that it is started. 如果我使用NetBeans启动Wildfly 9服务器,它不会检测到它已启动。 If i start again, i get the error message "WildFly 9.0.0 Start Failed. HTTP Connector port 8080 is already in use." 如果我再次启动,我收到错误消息“WildFly 9.0.0开始失败.HTTP连接器端口8080已被使用。”

The port is used by Wildfly. 该端口由Wildfly使用。 Wildfly is started by NetBeans but not detected. Wildfly由NetBeans启动但未检测到。

(If i stop Wildfly manually, i can start it again with no error message, but NetBeans does not detect it. If i try to start again, i get the error message "... port 8080 is already in use.") (如果我手动停止Wildfly,我可以再次启动它,没有错误消息,但NetBeans没有检测到它。如果我再次尝试重新启动,我收到错误消息“...端口8080已经在使用。”)

Why can't NetBeans detect the running Wildfly instance? 为什么NetBeans无法检测正在运行的Wildfly实例?

Netbeans support for WildFly 9 and 10 that is in the workings, it was added to latest builds that will be part of 8.1 Netbeans release. Netbeans支持运行中的WildFly 9和10,它被添加到最新版本中,这将是8.1 Netbeans版本的一部分。

For time being best thing to do is to try the nightly builds where it works. 暂时最好的办法是尝试在其工作的夜间构建。

you can grab nightly builds from http://bits.netbeans.org/download/trunk/nightly/latest/ 你可以从http://bits.netbeans.org/download/trunk/nightly/latest/获取夜间版本

“NetBeans 8.1 beta”发布,包括对Wildfly 9和10的支持: https ://netbeans.org/community/releases/81/

I can confirm this behavior, I tried it too. 我可以证实这种行为,我也试过了。 AFAIK Wildfly support in Netbeans was maintained by plugin created directly by JBoss community. Netbeans中的AFAIK Wildfly支持由JBoss社区直接创建的插件维护。 This changed in Netbeans 8.0.2 and now it is part of Netbeans installation package. 这在Netbeans 8.0.2中有所改变,现在它是Netbeans安装包的一部分。 Problems with support of newly released versions of Wildfly is occurring quite often. 支持新发布的Wildfly版本的问题经常发生。

I would suggest to wait until they add support for version 9, or you can try proactively raise the bug in Netbeans bugzilla. 我建议等到他们添加对版本9的支持,或者你可以尝试主动提出Netbeans bugzilla中的错误。

I came across the same issue on a windows 7 machine with netbeans 8.2 (8.1 as well) and wildfly 9.0.2. 我在带有netbeans 8.2(8.1以及)和wildfly 9.0.2的Windows 7机器上遇到了同样的问题。 Actually the issue came from an entry in my hosts file configured to map localhost to the actual machine ip address. 实际上问题来自我的hosts文件中的一个条目,该文件被配置为将localhost映射到实际的机器IP地址。 The issue was fixed as soon I removed that entry. 我删除该条目后,问题就解决了。

Hope this will help. 希望这会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM