Wildfly 9 Startup with property file
muthunagu100 Feb 22, 2016 4:51 PMI am trying to start "wildfly 9.0.1 Final" with a property file as an argument.
This doesn't seem to work throwing back the "Usage" which actually supports argument "-P"
Here is my command:
standalone.sh –P=/home/props/fvmDocServer.properties
Here is the Error Message. This shows Option "-P". I tried "--properties" as well, with no luck.
Am I missing something? Could someone help me with this?
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /local/app/jboss/wildfly-9.0.1.Final
JAVA: /local/app/java/se/jdk1.7.0_71-64bit/bin/java
JAVA_OPTS: -server -XX:+UseCompressedOops -server -XX:+UseCompressedOops -Xms1G -Xmx1G -XX:MaxPermSize=512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
13:39:26,323 INFO [org.jboss.modules] (main) JBoss Modules version 1.4.3.Final
WFLYSRV0073: Invalid option '–P=/home/FVM/fvmDocServer.properties'
Usage: standalone.sh [args...]
where args include:
--admin-only Set the server's running type to
ADMIN_ONLY causing it to open
administrative interfaces and accept
management requests but not start other
runtime services or accept end user
requests.
-b <value>, -b=<value> Set system property jboss.bind.address
to the given value
-b<interface>=<value> Set system property
jboss.bind.address.<interface> to the
given value
-c <config>, -c=<config> Name of the server configuration file
to use (default is "standalone.xml")
(Same as --server-config)
--debug [<port>] Activate debug mode with an optional
argument to specify the port. Only
works if the launch script supports it.
-D<name>[=<value>] Set a system property
-h, --help Display this message and exit
--read-only-server-config=<config> Name of the server configuration file
to use. This differs from
'--server-config' and '-c' in that the
original file is never overwritten.
-P <url>, -P=<url>, Load system properties from the given
--properties=<url> url
-S<name>[=<value>] Set a security property
--server-config=<config> Name of the server configuration file
to use (default is "standalone.xml")
(Same as -c)
-u <value>, -u=<value> Set system property
jboss.default.multicast.address to the
given value
-v, -V, --version Print version and exit
-secmgr Runs the server with a security manager
installed.