[wildfly-dev] how not to pass a JVM arg from host controller to spawned servers?
John Mazzitelli
mazz at redhat.com
Mon Mar 13 12:28:13 EDT 2017
----- Original Message -----
>
> > 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?
Right, that's the idea. Affect as little config as possible.
More information about the wildfly-dev
mailing list