[jboss-jira] [JBoss JIRA] Resolved: (JBAS-7036) Wrong server.xml may be loaded

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Wed Nov 18 12:33:41 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-7036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remy Maucherat resolved JBAS-7036.
----------------------------------

    Resolution: Rejected


Many configuration files are like that in JBoss.

> Wrong server.xml may be loaded
> ------------------------------
>
>                 Key: JBAS-7036
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7036
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>    Affects Versions: JBossAS-4.2.3.GA
>            Reporter: Dennis Reed
>            Assignee: Remy Maucherat
>
> JBoss AS does not specify the path to server.xml, allowing JBossWeb to choose the wrong file.
> The file is only specified as "server.xml".  JBossWeb looks for ${catalina.base}/server.xml, where catalina.base is ${jboss.server.home.dir}.
> If it fails to find it there (currently the normal case), it then searches the classpath for server.xml.
> If there is another server.xml in ${jboss.server.home.dir}/server.xml or anywhere in the classpath, it may get used instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list