RE: Default context.xml with parallel deployment

2018-11-08 Thread Jäkel , Guido
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



Re: Default context.xml with parallel deployment

2018-11-08 Thread Mark Thomas
On 08/11/2018 20:45, Gilles SCHLIENGER wrote:
> 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 ?

There isn't an explicit Tomcat feature that would do this.

Could you do something with XML entities? There is a description of them
here: https://wiki.apache.org/tomcat/FAQ/Password in the context of
moving passwords to an external file.

Could you create myapplication.txt and then ship each app with a simple
context.xml file that included the above file?

Mark

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



[ANN] Apache Tomcat 8.5.35 available

2018-11-08 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 8.5.35.

Apache Tomcat 8 is an open source software implementation of the Java
Servlet, JavaServer Pages, Java Unified Expression Language, Java
WebSocket and Java Authentication Service Provider Interface for
Containers technologies.

Apache Tomcat 8.5.x replaces 8.0.x and includes new features pulled
forward from the 9.0.x branch. The notable changes since 8.5.34 include:

- support for TLSv1.3 when used with a JRE or OpenSSL version that
  supports it

- multiple improvements to the RewriteValve

- correct several regressions in the JSP compiler


Please refer to the change log for the complete list of changes:
http://tomcat.apache.org/tomcat-8.5-doc/changelog.html

Downloads:
http://tomcat.apache.org/download-80.cgi

Migration guides from Apache Tomcat 7.x and 8.0.x:
http://tomcat.apache.org/migration.html

Enjoy!

- The Apache Tomcat team


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



[ANN] Apache Tomcat 9.0.13 available

2018-11-08 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 9.0.13.

Apache Tomcat 9 is an open source software implementation of the Java
Servlet, JavaServer Pages, Java Unified Expression Language, Java
WebSocket and JASPIC technologies.

Apache Tomcat 9.0.13 is a bugfix and feature release. The notable
changes compared to 9.0.12 include:

- support for TLSv1.3 when used with a JRE or OPenSSl version that
  supports it

- added support for encrypting cluster traffic

- added automatic reloading of tomcat-users.xml after a change


Please refer to the change log for the complete list of changes:
http://tomcat.apache.org/tomcat-9.0-doc/changelog.html


Downloads:
http://tomcat.apache.org/download-90.cgi

Migration guides from Apache Tomcat 7.x and 8.x:
http://tomcat.apache.org/migration.html

Enjoy!

- The Apache Tomcat team

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



Default context.xml with parallel deployment

2018-11-08 Thread Gilles SCHLIENGER
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