[jboss-jira] [JBoss JIRA] (WFCORE-2784) Host controller should allow passing jvm parameters to servers
Tomaz Cerar (JIRA)
issues at jboss.org
Tue May 9 15:16:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403843#comment-13403843 ]
Tomaz Cerar edited comment on WFCORE-2784 at 5/9/17 3:15 PM:
-------------------------------------------------------------
Thinking bit more about this, maybe better solution would be to implement override for option processing in JvmOptionsBuilderFactory
So that we could set jdk9 specific options in our test host*.xml under jvm settings like
{code:xml}
<jvm-options>
<option value="--add-exports=java.base/sun.nio.ch=ALL-UNNAMED"/>
<option value="--permit-illegal-access"/>
</jvm-options>
{code}
and JvmOptionsBuilderFactory would filter out JDK9 specific flags when not running on oracle jdk9.
Similar processing we had in place for permgen vs metaspace handling on jdk7/8
was (Author: ctomc):
Thinking bit more about this, maybe better solution would be to implement override for option processing in JvmOptionsBuilderFactory
So that we could set jdk9 specific options in our test host*.xml under jvm settings like
{{ <jvm-options>
<option value="--add-exports=java.base/sun.nio.ch=ALL-UNNAMED"/>
<option value="--permit-illegal-access"/>
</jvm-options>
}}
and JvmOptionsBuilderFactory would filter out JDK9 specific flags when not running on oracle jdk9.
Similar processing we had in place for permgen vs metaspace handling on jdk7/8
> Host controller should allow passing jvm parameters to servers
> --------------------------------------------------------------
>
> Key: WFCORE-2784
> URL: https://issues.jboss.org/browse/WFCORE-2784
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Domain Management
> Reporter: Tomaz Cerar
> Assignee: Brian Stansberry
>
> It should be possible passing jvm options from host controller to servers runing in it.
> One such example is passing -ea to servers if passed to host controller
> other example is passing JDK9 specific parameters trough
> idea of implementation https://github.com/wildfly/wildfly-core/pull/2394/commits/d824be5c6d973e4431b5b6e8fdcd37d3853d95a8
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list