NetBeans 8 and WildFly 8 (Tech Tip #6)

Announcing the availability of WildFly support in NetBeans 8 nightly builds!



Disclaimer: WildFly plugin provides very basic functionality as of now and is evolving rapidly to support broader feature set. It is purely for testing purpose at this time.

Many thanks to Emmanuel Hugonnet for contributing the plugin and constant support from NetBeans team, especially Geertjan Wielenga in making this possible.

How to get started ?

  1. Download NetBeans 8 nightly. Worked on existing NetBeans 7.4 as well, see instructions below.
  2. Go to “Tools”, “Plugins”, “Available Plugins”, search on “wildfly” to see the updated screen:wildfly-plugin--netbeans-techtip6click on “Install”. Follow the prompts to complete the installation.
  3. In NetBeans, go to “Services”, right click on “Servers”, select “Add Server…” to see:wildfly-server-configure-techtip6Click on “Next>”.
  4. Install or build WildFly following Tech Tip #1. Click on “Browse…” next to “Server Location…” and select the location of WildFly. For example, I used “/Users/arungupta/workspaces/wildfly/build/target/wildfly-8.0.0.Beta2-SNAPSHOT” on my machine.wildfly-server-instance-techtip6

    Click on “Next>”.
  5. Take the defaults as shown:wildfly-instance-props-techtip6and click on “Finish”. Now you can see WildFly configured in NetBeans:


  6. Right-click on the newly added server and select “Start”:wildfly-start-techtip6to see an output something like:

    “09:51:29,191 INFO [] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Beta2-SNAPSHOT “WildFly” started in 2039ms – Started 184 of 232 services (78 services are lazy, passive or on-demand)”

    in the output console.

That’s all it takes to configure WildFly 8 in NetBeans 8!

Trying to run a simple sample showed the following window:


I particularly like this feature as it does not “corrupt” my Maven files or generate any IDE-specific files.

Do you want to try running Java EE 7 samples/tests and hands-on lab on WildFly from NetBeans ? File plugin bugs at NetBeans Bugzilla and use “WildFly” component.

Note, although this plugin can be installed in NetBeans 8 out-of-the-box, but you can configure an additional Update Center in earlier versions of NetBeans and use “” URL. This is how I hacked my NetBeans 7.4 installation and added support for WildFly there.

Get your wheels churning and try your WildFly applications running from NetBeans 8.

Be Sociable, Share!
  • Tweet
This entry was posted in javaee, techtip, wildfly and tagged , , . Bookmark the permalink.

22 Responses to NetBeans 8 and WildFly 8 (Tech Tip #6)

  1. Steven Van Impe says:

    Hi Arun,

    Unfortunately, this does not seem to working for me. I can install the plugin and start/stop WildFly, as well as manually deploy applications, but deploying from NetBeans gives me the following error:

    /Users/Steven/Desktop/WFTest/nbproject/build-impl.xml:1071: Deployment error.
    See the server log for details.
    BUILD FAILED (total time: 0 seconds)

    where line 1071 is the second line below:

    This was using NetBeans’ default Java Web Application. When using a Maven Web Application, I get the following:

    NetBeans: Deploying on WildFly 8
    profile mode: false
    debug mode: false
    force redeploy: true
    (hangs here)

    The “Select depolyment server” window you mentioned never appears.

    I am running NetBeans 8 (201312190002) on JDK 8 b120 and WildFly 8 Beta 1 on JDK 7u45.

  2. ehsavoie says:

    Some people have encountered this issue. I didn’t meet it during the whole development phase.
    Could you please open a bug and upload the Wildfly and Netbeans log to it :
    there is a category for Wildfly in serverplugins.

  3. Pingback: WildFly 8 CR1 is now available! | Miles to go 2.0 …

  4. pecador says:


    I coluld not found Wildfly plugin for NB 7.4 on plugin center. Is it just available for NB 8?

  5. arungupta says:

    You need to explicitly add Dev Update Center in NetBeans, the URL for the same is:

    More details on the process at:

  6. Pingback: Deploy to WildFly using curl (Tech Tip #10) | Miles to go 2.0 …

  7. Pingback: netbeans8-plug-in_WildFly | mauroprogram's Blog

  8. Pingback: Se viene el NetBeans 8 |

  9. Kay Wrobel says:

    Hi Arun.

    I’m trying to add the Dev Update Center to my NetBeans 8.0 RC1, but I’m getting a timeout. Checked our company Firewall and * is white-listed. Is this server still up? Any other way to get the plugin? Like manually downloading and adding it to NetBeans?


  10. arungupta says:


    Seems like is down. Even reports the same.

    Try in a few hours ?

  11. Joe says:

    I tried with 8.0 RC1 but is not working. It said Calling “H:\Java\Jboss-Wildfly\wildfly-8.0.0.Final\bin\standalone.conf.bat” not useable.

  12. arungupta says:


    Make sure you are using the latest WildFly plugin. What version are you using ?

  13. omar says:

    i ran in a cpuple issues trying to make a little web app, first one:

    i followed a couple totorials on configuring datasources and mysql driver in wildfly8, and my datasources were visible on the servers section tab on netbeans BUT when i tried to create a persistence unit, my newly created datasource did not show up on the combobox.
    after several minutes looking around i figured out that netbeans (i dont know why) uses the standalone-ha.xml configuration file, instead of the standalone.xml… this one was not an issue anymore.

    BUT… here comes the second (unresolved) issue:

    if i try the “new entity classes from database” wizard in netbeans, it just keeps asking me to select a datasource, i cant select any of the previously configured ones, just lets me create a new one… buf after creating one, ift just get forgotten and netbeans asks again for a datasource… is this netbeans problem? or has this something to do with the wildfly plugin?????????????


  14. Joe says:

    My problem solved with uncheck browser proxy settings. I have the same problem with datasources like Omar. I made datasource for postgresql when I tested connection in wildfly web management program wildfly says connection successfull. Netbeans says insert driver for databases. I do , but it is not working.

  15. Florian Brunner says:

    The plugin doesn’t show up in the final release of NetBeans 8.

  16. Florian Brunner says:

    Another user mentioned the plugin is still available in the nightly version:

    Could you add it to the final version as well?

  17. arungupta says:

    I was hoping it would be resolved by now. Sent another reminder email to the involved folks and will keep you updated.

  18. Bilal Soidik says:

    I have this Exception when I Start server

    java.lang.IllegalArgumentException: Failed to instantiate class "org.jboss.logmanager.handlers.PeriodicRotatingFileHandler" for handler "FILE"
    at org.jboss.logmanager.config.AbstractPropertyConfiguration$ConstructAction.validate(
    at org.jboss.logmanager.config.LogContextConfigurationImpl.doPrepare(
    at org.jboss.logmanager.config.LogContextConfigurationImpl.prepare(
    at org.jboss.logmanager.config.LogContextConfigurationImpl.commit(
    at org.jboss.logmanager.PropertyConfigurator.configure(
    at org.jboss.logmanager.PropertyConfigurator.configure(
    at org.jboss.logmanager.LogManager.readConfiguration(
    at org.jboss.logmanager.LogManager.readConfiguration(
    at java.util.logging.LogManager$
    at java.util.logging.LogManager$
    at Method)
    at java.util.logging.LogManager.readPrimordialConfiguration(
    at java.util.logging.LogManager.access$800(
    at java.util.logging.LogManager$
    at Method)
    at java.util.logging.LogManager.ensureLogManagerInitialized(
    at java.util.logging.LogManager.getLogManager(
    at org.jboss.modules.Main.main(
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
    at java.lang.reflect.Constructor.newInstance(
    at org.jboss.logmanager.config.AbstractPropertyConfiguration$ConstructAction.validate(
    ... 17 more
    Caused by: /opt/wildfly-8.1.0.Final/standalone/log/server.log (Aucun fichier ou dossier de ce type)
    at Method)
    at org.jboss.logmanager.handlers.FileHandler.setFile(
    at org.jboss.logmanager.handlers.PeriodicRotatingFileHandler.setFile(
    at org.jboss.logmanager.handlers.FileHandler.setFileName(
    at org.jboss.logmanager.handlers.FileHandler.(
    at org.jboss.logmanager.handlers.PeriodicRotatingFileHandler.(
    ... 22 more
    java.lang.IllegalStateException: JBAS018704: Could not create server data directory: /opt/wildfly-8.1.0.Final/standalone/data
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.jboss.modules.Main.main(

  19. Bilal Soidik says:

    Used versions
    Ubuntu 14.04
    java version “1.8.0_05″
    Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
    Java HotSpot(TM) Server VM (build 25.5-b02, mixed mode)

  20. Bikram says:

    I am able to install Wildfly 8 server on Netbeans 8. I can start it without any problem from within IDE. But, could not stop it.

  21. arungupta says:


    What happens when you try to stop it ?

  22. Jake says:

    When you try to stop it, it just hangs and timeout message is displayed.
    Could only stop running: jboss-cli.bat
    Then: connect
    Finally: shutdown

    In the Netbeans 8, it doesn’t stop by the right click and stop option.

Leave a Reply

Your email address will not be published. Required fields are marked *

8 × eight =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>