On Mon, Apr 25, 2016 at 06:18:53PM +0200, Emmanuel Bourg wrote:
> Le 25/04/2016 17:42, Romain Manni-Bucau a écrit :
> 
> > I know we could easily ask all linux distro to build using java 7 but at
> > least fedora/redhat/ubuntu are impacted and tomcat can easily without
> > loosing any feature make it passing for that case using the interface
> > instead of the implementation as field type.
> 
> Debian and Ubuntu usually build and run Tomcat with the same version of
> Java. For example Ubuntu 16.04 LTS and the upcoming Debian 9 default to
> Java 8 (Java 7 has been removed). Tomcat 7 is no longer supported for
> these versions (Ubuntu switched to Tomcat 8 and Debian will remove it in
> a few months, the general rule is to keep only one version of Java and
> Tomcat per major release). In the previous release Tomcat 7 was built
> with Java 7.
> 
> This issue may arise if the user installs its own Java 7 and use it to
> run Tomcat instead of the JRE provided by the distribution. I can
> address that in Debian by ensuring the package dependencies are more
> strict (please file a bug against the tomcat8 package if it's affected too).

Hi,
i'd like to jump in as a user having such a use case.

In our jenkins systems we daily test our software against various java+tomcat 
versions we still (need to) support.

I.e. java 6..8 and tomcat 6..8

So far without planning we have kind of paired
1.) java6 + tomcat 6 (using Ubuntu 12.04 LTS)
2.) java7 + tomcat 7 (using Ubuntu 14.04 LTS)
3.) java8 + tomcat 7 (by using 16.04 LTS in future)

So never noticed that issue above.

However as system requirement of tomcat allowed seems to allow to mix it would 
be nice to keep that flexibility.

If not maybe we should add a note here:
http://tomcat.apache.org/whichversion.html

By adding the restriction there to let people know.

Note that was even possible inside distro as i.e. Ubuntu 14.04  shipped java 6 
+ 7 (if you enable universe part of the repo).

No big deal to us, but i think important to document.

Regards,
Stefan Hühner

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

Reply via email to