This is not allowed in Tomcat 5.5.x
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
Do not declare the path if the path is null "" or "/" in the context unless you are doing a static in the server.xml
With that in mind think about the fact that there is already a context element in the server.xml
This is the context element for the app you are trying to deploy. Modify it to suit your needs. Unlike the others that are declared in the war, the context for the ROOT app is in the server.xml and nowhere else.
Doug
----- Original Message ----- From: "Joe Bautista" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[email protected]>
Sent: Wednesday, April 20, 2005 8:02 PM
Subject: localhost Context files and path = "/"
Hi all,
I've been trying to deploy Sakai 1.5 on my Tomcat 5.5.7. One of the Contexts, sakai-dispatch, is supposed to replace the ROOT Context. My CATALINA_HOME/conf/catalina/localhost/sakai-dispatch.xml file contains the following code:
<Context path="/" docBase="f:/usr/local/sakai/sakai-dispatch" crossContext="true"> <Realm className="org.sakaiproject.dav.DavRealm" /> </Context>
When I move this code into my CATALINA_HOME/conf/server.xml file, Sakai
works. At first I thought sakai-dispatch.xml is not being read, so I added
some garbage to sakai-dispatch.xml, but upon running
CATALINA_HOME/bin/startup.bat the output window gave me some error messages
based on the Digester.
My conclusion is this: sakai-dispatch.xml is working, but for some reason it's not letting me set the path to "/".
Any ideas?
Joe Bautista Fuller Seminary Programmer/Analyst
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
