Gilles SCHLIENGER
2018-11-08 20:45:36 UTC
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
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