[jboss-jira] [JBoss JIRA] (WFCORE-3830) JAVA_OPTS is not passed to DC and HC JVMs in domain.ps1

R Searls (JIRA) issues at jboss.org
Sun May 27 21:37:00 EDT 2018


    [ https://issues.jboss.org/browse/WFCORE-3830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13582617#comment-13582617 ] 

R Searls commented on WFCORE-3830:
----------------------------------

domian.ps1 had been designed such that one must edit domain.conf.ps1 and uncomment line 30

{code:java}
# Uncomment the following line to disable manipulation of JAVA_OPTS (JVM parameters)
# $PRESERVE_JAVA_OPTS=true
{code}

When that is done the users JAVA_OPTS will be used.

> JAVA_OPTS is not passed to DC and HC JVMs in domain.ps1
> -------------------------------------------------------
>
>                 Key: WFCORE-3830
>                 URL: https://issues.jboss.org/browse/WFCORE-3830
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Scripts
>            Reporter: Marek Kopecký
>            Priority: Critical
>
> JAVA_OPTS is not passed to DC 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 DC or HC
> # exit domain.bat
> # ./domain.ps1
> # WMIC PROCESS get Commandline | findstr java
> # check that "a" property is *not* present in DC or HC
> cc: [~jamezp]



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list