]
Tomaz Cerar updated WFCORE-350:
-------------------------------
Component/s: (was: Scripts)
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
Priority: Minor
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}