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.
Output when starting Wildfly from NetBeans: Calling "C:\Program Files\wildfly-8.1.0.CR2\bin\standalone.conf.bat" "JAVA_OPTS already set in environment; overriding default settings with values: -Xms128m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true" Setting JAVA property to "C:\Program Files\Java\jdk1.7.0_51\bin\java" =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: "C:\Program Files\wildfly-8.1.0.CR2\" JAVA: "C:\Program Files\Java\jdk1.7.0_51\bin\java" JAVA_OPTS: "-client -Dprogram.name=standalone.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true" =============================================================================== 08:32:49,166 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final Press any key . . . java.lang.IllegalStateException: JBAS015849: Home directory does not exist: C:\Program Files\wildfly-8.1.0.CR2" -c standalone-full.xml -c standalone-full.xml at org.jboss.as.server.ServerEnvironment.<init>(ServerEnvironment.java:345) at org.jboss.as.server.Main.determineEnvironment(Main.java:262) at org.jboss.as.server.Main.main(Main.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.modules.Module.run(Module.java:312) at org.jboss.modules.Main.main(Main.java:460) ---------------------------------------------- END of OUTPUT -------------- Start with cmd shell / doubleclick works without any problems. Kind regards Peter
This line from the above output: Press any key . . . java.lang.IllegalStateException: JBAS015849: Home directory does not exist: C:\Program Files\wildfly-8.1.0.CR2" -c standalone-full.xml -c standalone-full.xml It seems, there's a problem with backslashess (as the last one seems to escape the double quote, resulting in this home directory: C:\Program Files\wildfly-8.1.0.CR2" -c standalone-full.xml -c standalone-full.xml The correct (existing) home directory would be: C:\Program Files\wildfly-8.1.0.CR2 (i.e. without the doublequote and the parameters).
Is this reproducible in NB dev build with stable WildFly 8 or 9? I can't reproduce it. Does your server instance start properly in command line?
Hi every Body, This problem also lost me a lot of time but I ended up finding it. You just have to configure the environment variables without putting the last antislask (\) at the end. Bingo! finally.