[jboss-jira] [JBoss JIRA] (WFCORE-350) Domain reflects jboss.server.xy properties

James Perkins (JIRA) issues at jboss.org
Fri Jan 26 19:07:00 EST 2018


    [ https://issues.jboss.org/browse/WFCORE-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13524905#comment-13524905 ] 

James Perkins commented on WFCORE-350:
--------------------------------------

Was the intention to not allow these {{jboss.server.*}} properties not to be set in domain mode? For example is passing {{-Djboss.server.log.dir=/var/logs/wildfly}} not allowed to be set in the {{JAVA_OPTS}} or {{HOST_CONTROLLER_JAVA_OPTS}}?

> 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)


More information about the jboss-jira mailing list