This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I've configured both Wildfly 8.2.0 and Wildfly 9.0.2 in NetBeans IDE 8.1, with the "standalone-full" profile, in the "Services" tab. When I click on the "Start" option on any of them, it starts well (the log output is right), but the "Services" tab doesn't show its deployments. I can't stop it either, because the "Stop" option looks like attenuated. So you've either to kill the server from the IDE or stop it by hand, from the console. It's like if the Wildfly plug-in didn't detect that the server is running. Indeed, if you try to run a Java EE project when the server is already running, the IDE will complain telling something like this: "wildfly-9 Start Failed. HTTP Connector port 8080 is already in use." I believe that the bug #256171 could be related to this one. Thank you.
Did you change the admin port ? Check that netbeans uses 9990 on WF9
Thank you for your prompt answer. No, I didn't change the port. It remains at 9990. Furthermore, the installation of Wildfly 9 is a fresh one. Nothing has been altered. At least intentionally. But I believe that I've found the cause right now. I had installed Wildfly in /usr/local/lib/wildfly-9.0.2/ but I had created a soft link to it in /usr/local/lib/wildfly-9/ . To configure the Wildfly plug-in I'm using the soft link, not the pure directory. I've tried to use the directory and now it's working fine. I've also done the change with Wildfly 8.2.0 and it has worked fine too. So my conclusion is that soft links seem to cause problems with the current version of the Wildfly plug-in.
TBH I never tried to use a softlink :o) Maybe it fails when we are trying to detect to which 'instance' the server matches.
Fixed in changeset 294209:6bf0c1034696
Thank you :) .
Integrated into 'main-silver', will be available in build *201512160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6bf0c1034696 User: Emmanuel Hugonnet <ehsavoie@netbeans.org> Log: Fixing #256578: incorrect wildfly detection when the used path is a softlink.
verified in trunk
Emmanuel, can you please integrate this fix to release81 branch by 1/31? Thanks!
Changeset: http://hg.netbeans.org/releases/rev/00ae6e3f574e User: Emmanuel Hugonnet <ehsavoie@netbeans.org> Log: Fixing #256578: incorrect wildfly detection when the used path is a softlink.