Hi Guido, Thank you very much for your answer.
Our context xml file contains <Environment> and <Resource> elements Can you give me more details about what you mean by seamlink ? We want toovoid having to create a new file in $CATALINA_BASE/conf/[enginename]/[hostname]/ everytime we deploy a war with a new version of the application. Thanks a lot again Regards Gilles -----Message d'origine----- De : Jäkel, Guido [mailto:g.jae...@dnb.de] Envoyé : vendredi 9 novembre 2018 08:22 À : 'users@tomcat.apache.org' Objet : RE: Default context.xml with parallel deployment Dear Giles, what aspects do you use in you myapplication#foo.xml ? You may symlink this files from an application-specific master template, e.g. myapplication.xml greeatings Guido >-----Original Message----- >From: Gilles SCHLIENGER [mailto:gilles.schlien...@cncc.fr] >Sent: Thursday, November 08, 2018 9:46 PM >To: users@tomcat.apache.org >Subject: Default context.xml with parallel deployment > >Hi everyone, > >We are using Tomcat 9.0.8. > >We are using xml context files in >$CATALINA_BASE/conf/[enginename]/[hostname]/ to store the database connexion >information. > >When using parallel deployment, I understand that you should use for specific >context xml files : >- for myapplication##1.war : myapplication##1.xml >- for myapplication##2.war : myapplication##2.xml > >We would like to have a default context xml file ONLY available for the « >myapplication » application but for all versions > >It seems we could use a file called « context.xml.default » but the properties >would be also available to other applications, >which we don't want. > >Is there a way to have a context.xml file available to all versions of the >same application or any other way to do it ? > >Thanks a lot in advance ! >Regards >Gilles --------------------------------------------------------------------- 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