-
Bug
-
Resolution: Done
-
Major
-
1.0.0.Alpha6
-
None
Scenario -1
- With the following line of JAVA_OPTS in "standalone.bat.conf" file
set "JAVA_OPTS=%JAVA_OPTS% -Dhttp.nonProxyHosts=localhost|127.0.0.1|10.10.10.*"
Error while starting WildFly
C:\wildfly-9.0.0.Alpha1-SNAPSHOT\bin>standalone.bat Calling "C:\wildfly-9.0.0.Alpha1-SNAPSHOT\bin\standalone.conf.bat" Setting JAVA property to "C:\JDKs\jdk1.7.0_67\bin\java" '127.0.0.1' is not recognized as an internal or external command, operable program or batch file.
Scenario -2
- In Windows "^" sign is the escape character so we tried altering the JAVA_OPTS as following in the "standalone.bat.conf" file:
set "JAVA_OPTS=%JAVA_OPTS% -Dhttp.nonProxyHosts=localhost^|127.0.0.1^|10.10.10.*"
Now WildFly server starts but still we see the following messages in windows console:
C:\wildfly-9.0.0.Alpha1-SNAPSHOT\bin>standalone.bat Calling "C:\wildfly-9.0.0.Alpha1-SNAPSHOT\bin\standalone.conf.bat" Setting JAVA property to "C:\JDKs\jdk1.7.0_67\bin\java" '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file. =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: "C:\wildfly-9.0.0.Alpha1-SNAPSHOT" JAVA: "C:\JDKs\jdk1.7.0_67\bin\java" JAVA_OPTS: "-client -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs= org.jboss.byteman -Dhttp.nonProxyHosts=localhost^|127.0.0.1^|10.10.10.*" =============================================================================== 15:50:35,453 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.4.Final 15:50:35,781 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final 15:50:35,953 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly 1.0.0.Alpha5 "Kenny" starting
NOTE: It is also not possible to pass such JAVA_OPTS via command line, because it causes the same error:
C:\wildfly-9.0.0.Alpha1-SNAPSHOT\bin>standalone.bat -Dhttp.nonProxyHosts=localhost|127.0.0.1|10.10.10.*
'127.0.0.1' is not recognized as an internal or external command,
operable program or batch file.
- is related to
-
WFCORE-3127 standalone.bat script does not parse JAVA_OPTS containing '|' symbol properly
- Resolved
-
JBEAP-12448 [GSS](7.4.z) standalone.bat script does not parse JAVA_OPTS containing '|' symbol properly
- Closed
-
WFCORE-5869 standalone.bat script does not parse JAVA_OPTS containing '|' symbol properly
- Closed