[wildfly-dev] how not to pass a JVM arg from host controller to spawned servers?

Brian Stansberry brian.stansberry at redhat.com
Mon Mar 13 10:45:31 EDT 2017


> On Mar 12, 2017, at 12:29 AM, John Mazzitelli <mazz at redhat.com> wrote:
> 
> I noticed that whatever -D options you pass to the host controller (via HOST_CONTROLLER_JAVA_OPTS in domain.conf) by default also get passed along to all the servers that are spawned. If there is a specific system property that I do NOT want set in any spawned servers, how do I tell the host controller that?
> 
> I simply just want to tell the host controller "The system properties named "abc" and "xyz" are *your* system properties only - they are not for any of the spawned servers to get. The other system properties you can pass down to the spawned servers."
> 
> I'm hoping there is a way to do this without altering the host.xml definitions. 

How important is this last bit?

I guess pretty important as you want to instrument a process whose config you don’t control?

> _______________________________________________

> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev

-- 
Brian Stansberry
Manager, Senior Principal Software Engineer
JBoss by Red Hat






More information about the wildfly-dev mailing list