-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
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: jperkins-rhn
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)