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

Dennis Reed (JIRA) jira-events at lists.jboss.org
Wed Jun 17 16:59:56 EDT 2009


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