Hello I set the web application directory to be a ROOT by creating dirname.xml in the CATLINA_HOME/conf/Catalina/localhost with content '<Context path="" docBase="${catalina.home}/webapps/dirname" debug="0"/>' ...
My problem is that there are two contexts initialized now and contextInitialized of my listener is called twice for each context once (which is perfectly normal) ... But I'm doing some job in contextInitialized and it gets duplicated. How I can have some arbitrary directory deployed as ROOT i.e / and not having two contexts deployed (other under /somedir)? I guess that reason is that "${catalina.home}/webapps/dirname" overlaps the webapps folder ... If I put it somwhere else not under webapps tom will initialize it only once? Thanks, Velja Radenkovic