Re: tomcat 7 broken on java 7 for linux distro

2016-04-27 Thread Christopher Schultz
Mark, On 4/27/16 7:41 AM, Mark Thomas wrote: > On 27/04/2016 00:03, Mark Thomas wrote: >> On 25/04/2016 16:42, Romain Manni-Bucau wrote: >>> Hi guys, >>> >>> tomcat uses ConcurrentHashMap in few places and doesn't rely on >>> ConcurrentMap API (ApplicationContext IIRC for instance was the case I

Re: tomcat 7 broken on java 7 for linux distro

2016-04-27 Thread Christopher Schultz
Romain, On 4/26/16 5:32 PM, Romain Manni-Bucau wrote: > Le 26 avr. 2016 22:27, "Christopher Schultz" > a écrit : >> >> Romain, >> >> On 4/25/16 11:42 AM, Romain Manni-Bucau wrote: >>> Hi guys, >>> >>> tomcat uses ConcurrentHashMap in few places and doesn't rely on >>> ConcurrentMap API (Applicat

Re: tomcat 7 broken on java 7 for linux distro

2016-04-27 Thread Romain Manni-Bucau
from what I saw in commit mails it seems so. Does it still worth a page explaining linux distro rebuild tomcat and how to check the java version (reading MANIFEST.MF from catalina.jar for instance) in case it happens again or someone hits it short term? Thanks to have taken it into consideration a

Re: tomcat 7 broken on java 7 for linux distro

2016-04-27 Thread Mark Thomas
On 27/04/2016 00:03, Mark Thomas wrote: > On 25/04/2016 16:42, Romain Manni-Bucau wrote: >> Hi guys, >> >> tomcat uses ConcurrentHashMap in few places and doesn't rely on >> ConcurrentMap API (ApplicationContext IIRC for instance was the case I >> encounter). This means if you build tomcat with ja

Re: tomcat 7 broken on java 7 for linux distro

2016-04-26 Thread Mark Thomas
On 25/04/2016 16:42, Romain Manni-Bucau wrote: > Hi guys, > > tomcat uses ConcurrentHashMap in few places and doesn't rely on > ConcurrentMap API (ApplicationContext IIRC for instance was the case I > encounter). This means if you build tomcat with java 8 and run on java 7 it > is broken cause of

Re: tomcat 7 broken on java 7 for linux distro

2016-04-26 Thread Romain Manni-Bucau
Le 26 avr. 2016 22:27, "Christopher Schultz" a écrit : > > Romain, > > On 4/25/16 11:42 AM, Romain Manni-Bucau wrote: > > Hi guys, > > > > tomcat uses ConcurrentHashMap in few places and doesn't rely on > > ConcurrentMap API (ApplicationContext IIRC for instance was the case I > > encounter). Thi

Re: tomcat 7 broken on java 7 for linux distro

2016-04-26 Thread Christopher Schultz
Romain, On 4/25/16 11:42 AM, Romain Manni-Bucau wrote: > Hi guys, > > tomcat uses ConcurrentHashMap in few places and doesn't rely on > ConcurrentMap API (ApplicationContext IIRC for instance was the case I > encounter). This means if you build tomcat with java 8 and run on java 7 it > is broken

Re: tomcat 7 broken on java 7 for linux distro

2016-04-25 Thread Romain Manni-Bucau
Not sure what happent, got the same it in one of my box (but was 15.10 so can't explain the feedback i got with 14.04). Maybe a package update. Romain Manni-Bucau @rmannibucau | Blog | Github |

Re: tomcat 7 broken on java 7 for linux distro

2016-04-25 Thread Emmanuel Bourg
Le 25/04/2016 18:50, Romain Manni-Bucau a écrit : > Just to make it clearer: 14.04 had java 7 as expected but tomcat7 package > was compiled with java 8. This shouldn't be possible. Ubuntu packages are built in a clean environment with no packages or applications not in the distribution. Ubuntu 14

Re: tomcat 7 broken on java 7 for linux distro

2016-04-25 Thread Romain Manni-Bucau
Just to make it clearer: 14.04 had java 7 as expected but tomcat7 package was compiled with java 8. Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn

Re: tomcat 7 broken on java 7 for linux distro

2016-04-25 Thread Emmanuel Bourg
Le 25/04/2016 18:32, Romain Manni-Bucau a écrit : > Only met it on previous LTS (16.04 is still fresh so was 14 one). So sounds > it was a no luck case. That's odd because Ubuntu 14.04 LTS doesn't have Java 8 [1]. It first appeared in Ubuntu 15.10. Tomcat 7 in Ubuntu 14.04 LTS is built with Java 7

Re: tomcat 7 broken on java 7 for linux distro

2016-04-25 Thread Stefan Huehner
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

Re: tomcat 7 broken on java 7 for linux distro

2016-04-25 Thread Romain Manni-Bucau
Only met it on previous LTS (16.04 is still fresh so was 14 one). So sounds it was a no luck case. Maybe a page on tomcat website dealing with main integrations and things to check (/etc/defaults/tomcatX JAVA_HOME etc...) can be enough for this issue. What do you think? Romain Manni-Bucau @rmann

Re: tomcat 7 broken on java 7 for linux distro

2016-04-25 Thread Emmanuel Bourg
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 implementati

tomcat 7 broken on java 7 for linux distro

2016-04-25 Thread Romain Manni-Bucau
Hi guys, tomcat uses ConcurrentHashMap in few places and doesn't rely on ConcurrentMap API (ApplicationContext IIRC for instance was the case I encounter). This means if you build tomcat with java 8 and run on java 7 it is broken cause of this new KeyViewSet API used on java 8 (returned type is u