Hi all.
I am trying to configure multiple context for the same Host and i'm having some problems. I just installed lambdaprobe, that needs privileged="true" in its Context tag SO i edited the file context.xml in the /probe/META-INF folder. But, after a restart, Tomcat continued to say that the application needs the privileged="true". So i created a file probe.xml inside the /conf/Catalina/[hostname]/[appname].xml with the same text as the one before, restarted, and magically the application worked. Reading the tomcat documentation (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html)
it says that it looks in
1- in the individual $CATALINA_HOME/conf/context.xml file: the Context element information will be loaded by all webapps 2- in the individual $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml.default file: the Context element information will be loaded by all webapps of that host 3- in individual files (with a ".xml" extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory 4- if the previous file was not found for this application, in individual file at /META-INF/context.xml inside the application files

So in my first attempt i used point 4 with no success, second attempt with point 3 with success. So i ask you if is better to put the file in /conf/[enginename]/[hostname]/[appname].xml (for the moments seems is the only way to make it work :D ) Has somebody some documentation links that explain better than tomcat docs how to configure Contexts, maybe with some examples? (yes, i googled already ;) )
Thanks all

Giorgio Ponza

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to