2014-12-04 9:48 GMT+01:00 m...@ow2.org <m...@ow2.org>: > Hi, > > Is anyone can help me to find out what I am missing ? > Thanks
Hi: I asked a similar question time ago http://grokbase.com/t/tomcat/users/13chhkj0qx/modify-content-in-meta-inf-context-xml I hope it helps you Regards > > Le 02/12/2014 10:36, m...@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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org