> From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
> Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) 
> during tomcat shutdown
> 
> Where do I find the <Context> element related to axis2 (which  
> is a servlet)?

First you said axis2 is a webapp, now you say it's a servlet; I suspect
the former is correct.  A webapp can utilize many servlets, which I
think is the case here.

> Should it be inside $CATALINA_HOME/webapps/axis2/WEB-INF/web.xml?

No, the contents of that file are defined by the servlet spec (JSR-154),
whereas the <Context> element is specific to Tomcat.  It can be in
webapps/axis2/META-INF/context.xml or in
conf/Catalina/localhost/axis2.xml; the latter overrides the former if
it's in both places.  (It can also be in server.xml, but that location
should not be used for recent versions of Tomcat.)  It may not exist at
all, in which case you'll need to create it in one of the above
locations, with just the workDir attribute.

The relevant doc is here:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
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