You are right, that's what I said in my first post. The xml file is called like the webapp and placed in conf/Catalina/localhost/ instead of putting all in server.xml.It was my question, where to place this file in JBoss 4.0 ?