tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mh@ow2.org" ...@ow2.org>
Subject Re: META-INF/context.xml and deploy issue (web.xml removed?)
Date Thu, 04 Dec 2014 08:48:26 GMT
Hi,

Is anyone can help me to find out what I am missing ?
Thanks

Le 02/12/2014 10:36, mh@ow2.org a écrit :
> Hello,
>
> I'm facing an issue with tomcat 6. In order to setup a JDNI, we
> added a context.xml file to our application (XWiki) in the
> already-deployed folder webapps/xwiki/META-INF/ and configured the
> existing webapps/xwiki/WEB-INF/web.xml accordingly.
>
> update of web.xml triggered the app reload which is expected.
>
> At this point I wanted to adjust the database configuration, ie by
> modifying webapps/xwiki/META-INF/context.xml. When I do this the
> changes are not taken into account because the file
> Catalina/localhost/xwiki.xml is not overwritten by Tomcat.
>
> The solution that came into my mind has been to force Tomcat to
> update the file bt deleting Catalina/localhost/xwiki.xml - which
> has indeed make Tomcat undeploy and deploy the app again.
>
> Here are my questions: 1) As there is no war file involved, what
> does "undeploy" and "deploy" means ? What is being done exactly ?
>
> 2) Why is the file webapps/xwiki/WEB-INF/web.xml is missing, after
> I remove xwiki.xml and the app is redeployed ? (no web.xml = no
> deployment so at the moment I have to manually restore a backup of
> this file)
>
> Thanks !
>
>


-- 
Martin

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


Mime
View raw message