[jboss-jira] [JBoss JIRA] (AS7-2723) ApplicationServerService creates path services for paths that are listed as configurable

Brian Stansberry (Created) (JIRA) jira-events at lists.jboss.org
Mon Nov 21 12:13:41 EST 2011


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.2.Final, 7.0.1.Final, 7.0.0.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