[jboss-jira] [JBoss JIRA] (AS7-2723) ApplicationServerService creates path services for paths that are listed as configurable
Brian Stansberry (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Nov 21 12:25:40 EST 2011
[ https://issues.jboss.org/browse/AS7-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644419#comment-12644419 ]
Brian Stansberry commented on AS7-2723:
---------------------------------------
As part of looking at this, consider having unified service names for config dir, data dir, log dir, temp dir, so the services will have the same name in the server and in the host controller. Think a bit about it though -- these things can be distinctly configured via system properties so we want the end result of how the paths appear to be understandable when exposed to end users (e.g. in a management op that lists all paths a la what Stan Silvert has requested.)
> ApplicationServerService creates path services for paths that are listed as configurable
> ----------------------------------------------------------------------------------------
>
> Key: AS7-2723
> URL: https://issues.jboss.org/browse/AS7-2723
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.0.0.Final, 7.0.1.Final, 7.0.2.Final
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Fix For: 7.1.0.CR1
>
>
> In ApplicationServerService.start()
> // Add environment paths
> AbsolutePathService.addService(ServerEnvironment.HOME_DIR, serverEnvironment.getHomeDir().getAbsolutePath(), serviceTarget);
> AbsolutePathService.addService(ServerEnvironment.SERVER_BASE_DIR, serverEnvironment.getServerBaseDir().getAbsolutePath(), serviceTarget);
> AbsolutePathService.addService(ServerEnvironment.SERVER_CONFIG_DIR, serverEnvironment.getServerConfigurationDir().getAbsolutePath(), serviceTarget);
> AbsolutePathService.addService(ServerEnvironment.SERVER_DATA_DIR, serverEnvironment.getServerDataDir().getAbsolutePath(), serviceTarget);
> AbsolutePathService.addService(ServerEnvironment.SERVER_LOG_DIR, serverEnvironment.getServerLogDir().getAbsolutePath(), serviceTarget);
> AbsolutePathService.addService(ServerEnvironment.SERVER_TEMP_DIR, serverEnvironment.getServerTempDir().getAbsolutePath(), serviceTarget);
> The xsd says these are configurable but if the services are set here, they aren't.
> Likely fix is to change the xsd to reflect reality.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list