I suggest that you are getting an error because you have doubled the <Context> somehow - perhaps you still have it in your server.xml? Maybe you have an old .xml file in conf/Catalina/localhost/ ?
Or maybe for you it lies in the way you declared the context.
Adam
On 02/07/2004 03:18 PM Hernani Mourao wrote:
I definitely have the same problem. And Tomcat does not execute context.xml. I presume is due to the error message: context already in use.
Do you have the some problem?
Hernani
-----Original Message----- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: sabado, 7 de Fevereiro de 2004 12:47 To: Tomcat Users List Subject: root context loaded again under its docbase name
I've seen and asked about this about a year ago but since it wasn't important, I didn't bother chasing it up when I found no solution. It's happening again.
Tomcat loads my context twice. Once for root and once with the name of its WAR file.
My war file is called gargantus.war. This is my <Host>:
<Host name="localhost" appBase="webapps" unpackWARs="false" autoDeploy="false" deployXML="true" >
and this is my context (which is found in META-INF/context.xml):
<Context path="" docBase="gargantus.war" cachingAllowed="false" reloadable="false" >
Anybody else with the same setup see this? Bug or not bug?
Interestingly tomcat creates working files in work/Catalina/localhost/_/ AND in work/Catalina/localhost/gargantus/ even when I only access the root context.
Adam
-- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian
--------------------------------------------------------------------- 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]
-- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
