[Yanel-dev] Setting ROOT context of Tomcat 5.x

Michael Wechner michael.wechner at wyona.com
Thu Nov 18 11:43:54 CET 2010


Hi

I recently had trouble setting the ROOT context via the configuration file

conf/Catalina/localhost/ROOT.xml

<?xml version="1.0"?>

<Context 
docBase="/home/michi/yanel-webapps/wyona-yanel-webapp-v-1.0-dev-r-54298"/>

because instead a "custom" directory like "yanel-webapps" I have used 
first the webapps directory of Tomcat itself

TOMCAT/webapps

where you can place WAR files. But it seems that Tomcat doesn't like 
that and hence you need to put it
somewhere else when referencing it via an XML file as described above.

HTH

Michael


More information about the Yanel-development mailing list