Bug#685516: libtcnative-1: Tomcat 7 requires newer libtcnative (at least version 1.1.24)

Damien Raude-Morvan drazzib at drazzib.com
Fri Aug 24 01:09:46 UTC 2012


Hi Tony,

On 22/08/2012 07:23, tony mancill wrote:
> On 08/21/2012 07:31 AM, Peter De Wachter wrote:
>> Package: libtcnative-1
>> Version: 1.1.23-1
>> Severity: important
>>
>> Dear Maintainer,
>>
>> When starting Tomcat 7 (Debian version 7.0.28-2) with this version of
>> libtcnative, the following error message is logged:
>>
>> SEVERE: An incompatible version 1.1.23 of the APR based Apache Tomcat
>> Native library is installed, while Tomcat requires version 1.1.24
>
> Hello Peter,
>
> Thank you for taking the time to report this bug.  We can certainly do a
> better job of coordinating uploads of new upstream versions of
> tomcat-native and tomcat in the future.  In this case, it didn't take
> long for tomcat7 to require the latest version of tomcat-native (tcn
> 1.1.24 was released on 2012/06/13 and tomcat 7.0.28 just 6 days later).
>
> I have built a copy of upstream 1.1.24 to get a look at the differences
> between the upstream source versions.  The upstream source differences
> are fairly minimal - about 95% of the diff consists of the configure
> script and documentation changes - but we'll have to see if we can get a
> freeze exception to allow the newer version of tomcat-native into wheezy
> and I want to coordinate with Damien before uploading to unstable.

I've checked diff between 1.1.23 / 1.1.24 and it seems, as you say, 
pretty small. But one modification seems dangerous : in 
jni/native/include/tcn.h, tcn_socket_t got two new fields last_active 
and timeout. Are you sure this change is backward compatible ? at least 
with tomcat 6.x package...
All others modifications are just new handling of timeout on pooler 
connection...

Cheers,
-- 
Damien



More information about the pkg-java-maintainers mailing list