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.
When configuring Wildfly via standalone.xml one can use default properties directly provided by Wildfly (e.g. "jboss.server.config.dir") and/or invent custom properties (e.g. "org.example.project.datasource.name") instead of hard-coded values. The custom properties can be provided via two possibilities: Via explicitely named command line parameters or a properties file given via command line parameter. As of Netbeans 8.1 one can not specifiy the actual command to run Wildfly with, one is unable to provide a Wildfly with custom properties (standalone.bat -Dorg.example.project.datasource.name=test or standalone.sh --properties=test.properties).
You can by passing them as the JVM arguments when editing the server configuration
not properties file though
OK, thanks for the clarification, I tried the properties file, failed and discontinued testing.
I need this too to have multiple instances of wildfly running from netbeans.
Currently (aka 8.2) you can have as many wildfly instances as you want
It's true, that I can have mutliple instances, but these share the same base folder. You can name a different base using a parameter for standalone.bat. This would start wildfly correctly, but NB would not recognize the changed position of the files. I think it's better to provide a way to specify base folder in the server configuration and use it within NB. Made new proposal as https://netbeans.org/bugzilla/show_bug.cgi?id=268446