Using the WildFly application server with NetBeans IDE

一世执手 提交于 2019-11-28 13:48:43

Just a warning, as I missed this and was tearing my hair out on this. Wildfly uses port 9990 for debug management as default, this however causes a problem if you have an Nvidia device as the Nvidia network service also uses 9990.

To fix it, I've stopped the Nvidia network service (In task manager) and my Netbeans (8.1) can now connect to the wildfly server and no longer falls over.

You can also change the ports that wildfly uses, to stop the conflict. If you are using the standalone.xml file, change the following line:

<socket-binding name="management-http"
    interface="management"
    port="${jboss.management.http.port:9990}"/>

And change the port number to your choosing. Now in NetBeans, when you choose to add the server and get to the Instance Properties, make sure you set the management port to the same as what you have set in the config file. I chose 9991 and had no issues so far.

(I posted here as this was the first result I kept coming to when searching for fixing the issue)

I'd encourage you to file a bug at:

https://netbeans.org/bugzilla/enter_bug.cgi?product=serverplugins

and use WildFly as the category.

Have you tried running WildFly using a CLI and see if your IDE related problems go away ?

First the wildFly plugin is distributed withe the Netbeans IDE 8.0.1 so the plugin you're using might be deprecated. Like Arun said, fill a bug with netbeans log / wildfly log and your config. There was an NPE in the parsing when the driver was defined in the datasource by its driver-class.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!