[
https://issues.jboss.org/browse/WFCORE-3830?page=com.atlassian.jira.plugi...
]
Marek Kopecký updated WFCORE-3830:
----------------------------------
Description:
*Domain:*
JAVA_OPTS is not passed to PC and HC JVMs in domain.ps1
Steps to reproduce:
# start powershell
# $env:JAVA_OPTS = "-Da=b"
# ./domain.bat
# WMIC PROCESS get Commandline | findstr java
# check that "a" property is present in PC or HC
# exit domain.bat
# ./domain.ps1
# WMIC PROCESS get Commandline | findstr java
# check that "a" property is *not* present in PC or HC
cc: [~jamezp]
----
*Standalone:*
PRESERVE_JAVA_OPTS parameter is not used correctly in standalone.conf.ps1 and
standalone.ps1. If user define JAVA_OPTS, default JAVA_OPTS should be ignored (like bat
scripts behaviour)
was:
JAVA_OPTS is not passed to PC and HC JVMs in domain.ps1
Steps to reproduce:
# start powershell
# $env:JAVA_OPTS = "-Da=b"
# ./domain.bat
# WMIC PROCESS get Commandline | findstr java
# check that "a" property is present in PC or HC
# exit domain.bat
# ./domain.ps1
# WMIC PROCESS get Commandline | findstr java
# check that "a" property is *not* present in PC or HC
cc: [~jamezp]
JAVA_OPTS is not passed correctly
---------------------------------
Key: WFCORE-3830
URL:
https://issues.jboss.org/browse/WFCORE-3830
Project: WildFly Core
Issue Type: Bug
Components: Scripts
Reporter: Marek Kopecký
Assignee: R Searls
Priority: Critical
*Domain:*
JAVA_OPTS is not passed to PC and HC JVMs in domain.ps1
Steps to reproduce:
# start powershell
# $env:JAVA_OPTS = "-Da=b"
# ./domain.bat
# WMIC PROCESS get Commandline | findstr java
# check that "a" property is present in PC or HC
# exit domain.bat
# ./domain.ps1
# WMIC PROCESS get Commandline | findstr java
# check that "a" property is *not* present in PC or HC
cc: [~jamezp]
----
*Standalone:*
PRESERVE_JAVA_OPTS parameter is not used correctly in standalone.conf.ps1 and
standalone.ps1. If user define JAVA_OPTS, default JAVA_OPTS should be ignored (like bat
scripts behaviour)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)