tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Chandler <a...@chandlerfamily.org.uk>
Subject Re: context placement
Date Tue, 06 Feb 2007 20:46:43 GMT
On Tuesday 06 February 2007 20:34, Pid wrote:
> Alan Chandler wrote:
> > On Tuesday 06 February 2007 20:03, Alan Chandler wrote:
> >> I am getting symptoms (I think) of my JDNI resource having not
> >> been set up properly

> Context first:

Yeh just took that out as per suggestion further up thread
>
> you don't need to specify the /path.
> the path to the webapp is determined from the name of the deployed
> .war or the name of the context.xml file.
>
> for:
>   %tomcat_home%/webapps/appname1.war
>
> the context xml file should deploy to:
>   %tomcat_home%/conf/Catalina/localhost/appname1.xml


When you say this, are you saying that tomcat automatically copies from 
the the META-INF/context.xml file in the .war file to that location

(in my case that would 
be /var/lib/tomcat5.5/conf/Catalina/appserv.home/usermgr.xml because my 
host is appserv.home)

BUT

I only have an EMPTY localhost directory in 
the /var/lib/tomcat5.5/conf/Catalina directory and
no appserv.home directory at all.




-- 
Alan Chandler
http://www.chandlerfamily.org.uk


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


Mime
View raw message