Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
JBossAS-4.2.3.GA
-
None
-
Release Notes
-
Workaround Exists
-
Description
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.