-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
If -Djboss.server.base.dir is set in more than one place the process is started with the duplicate property.
Is this expected behavior?
The duplicated -Djboss.server.base.dir can be easily reproduced with just our scripts.
./standalone.sh -Djboss.server.base.dir=/path/to/standalone
or by setting it in $JAVA_OPTS.
(the only difference is where the first one shows up - with JAVA_OPTS it's earlier in the command line).
standalone.sh is specifically looking for that property in $JAVA_OPTS or $SERVER_OPTS and then adding it on the command line (even if it was already there).
I created this as a minor issue because it's been like this for a long time and more than likely it's an edge case. The latter of the properties will be used by the JVM.
- relates to
-
WFCORE-6684 Incorrect handling of launch scripts directories when they are overriden with directories containing whitespaces in Linux
- Open