tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hernani Mourao <hmou...@netcabo.pt>
Subject RE: root context loaded again under its docbase name
Date Sat, 07 Feb 2004 14:18:55 GMT
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:ahardy.struts@cyberspaceroad.com]
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message