[
https://issues.jboss.org/browse/WFCORE-350?page=com.atlassian.jira.plugin...
]
Brian Stansberry edited comment on WFCORE-350 at 1/26/18 8:04 PM:
------------------------------------------------------------------
The intent is if you set them on the HC or PC process they have no meaningful effect, i.e.
the HC/PC doesn't use them itself and doesn't pass them to its servers. An HC can
control > 1 server so setting server specific settings to a common value on the HC and
then having that passed in to its servers means all the servers will collide. In your
example you'd have multiple processes fighting over /var/logs/wildfly/server.log.
You use the /host=x/server-config=y/system-property=z resources if you want control these
properties on the servers. I'm not sure but I believe you can use domain-wide,
host-wide or server-group wide system-property resources for jboss.server.... props if you
want, but you need to understand what processes are going to get those properties and
avoid collisions.
was (Author: brian.stansberry):
The intent is if you set them on the HC or PC process they have no meaningful effect, i.e.
the HC/PC doesn't use them itself and doesn't pass them to its servers. An HC can
control > 1 server so setting server specific settings to a common value on the HC and
then having that passed in to its server means all the servers will collide. In your
example you'd have multiple processes fighting over /var/logs/wildfly/server.log.
You use the /host=x/server-config=y/system-property=z resources if you want control these
properties on the servers. I'm not sure but I believe you can use domain-wide,
host-wide or server-group wide system-property resources for jboss.server.... props if you
want, but you need to understand what processes are going to get those properties and
avoid collisions.
Domain reflects jboss.server.xy properties
------------------------------------------
Key: WFCORE-350
URL:
https://issues.jboss.org/browse/WFCORE-350
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Rostislav Svoboda
Assignee: ehsavoie Hugonnet
Priority: Minor
Fix For: 3.0.0.Alpha23
Domain reflects jboss.server.xy properties, tested with jboss.server.log.dir property.
The same server.log file is used for both server-one and server-two. Only file boot.log
is created in domain/servers/server-one/log and domain/servers/server-two/log directory.
In my case file server.log contains log only for server-one, there is no log for
server-two.
I think jboss.server.xy properties shouldn't be reflected in domain instances.
Even structure of
https://docs.jboss.org/author/display/AS71/Command+line+parameters
implies that jboss.server.xy properties are used for Standalone.
Reproducer of my steps:
{code}
rm -rf domain/servers
bin/domain.sh -Djboss.server.log.dir=/tmp/
ls -aR domain/servers/server-one/log
ls -aR domain/servers/server-two/log
ls -l /tmp/server*
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)