#1034492 libtcnative-1: Tomcat warning suggesting a minimum version of 2.0.1 for tcnative

Package:
libtcnative-1
Source:
libtcnative-1
Description:
Tomcat native library using the Apache Portable Runtime
Submitter:
Jorge Moraleda
Date:
2026-08-31 18:01:00 UTC
Severity:
normal
#1034492#5
Date:
2023-04-16 20:15:29 UTC
From:
To:
Dear Maintainer,

When running tomcat 10 (installed from default bookworm repo) it warns that "An
older version [1.2.35] of the Apache Tomcat Native library is installed, while
Tomcat recommends a minimum version of [2.0.1]"

I feel debian should package a version of tc-native equals or newer than the
recommendation of the packaged tomcat version.

I wonder if we tomcat 9 still requires version 1.x of tcnative, which means
debian should package both libtcnative-1 and a libtcnative-2, or if the latest
tcnative 2 would suffice for both tomcat 9 and tomcat 10, and then we might
want to drop the 1 in the tcnative package name and just package the latest 2.x
version under that name.

Thank you.

#1034492#10
Date:
2023-04-16 21:55:05 UTC
From:
To:
Hello,

Am Sonntag, dem 16.04.2023 um 16:15 -0400 schrieb Jorge Moraleda:

This is something we aim for in Debian 13. For now 1.2.35 should work just fine
despite the warning.

We will remove Tomcat 9 in the near future because we can support only one
version. I guess we can rename libtcnative-1 to just libtcnative instead of
creating a new libtcnative-2 package. I'm sure we will make a decision after
the freeze.

Markus

#1034492#15
Date:
2025-07-24 14:55:19 UTC
From:
To:
Hi.

May I inquire what is the status of this bug?
Will trixie be released without a libtcnative-2 package?

Best regards,
José Gonçalves

#1034492#24
Date:
2026-08-31 17:59:00 UTC
From:
To:
El 16/04/23 a las 23:55, Markus Koschany escribió:

Please note that the message is no longer a warning, but an error
(SEVERE). This also happens on today's sid with tomcat11 11.0.24-1 and
tomcat-native ibtcnative-2:amd64 2.0.14-1:

    31-Aug-2026 17:20:24.672 SEVERE [main]
    org.apache.catalina.core.AprLifecycleListener.init An incompatible
    version [2.0.14] of the Apache Tomcat Native library is installed, while
    Tomcat requires at least version [2.0.15]

tomcat11 terminates the APR since the version is not supported:
https://sources.debian.org/src/tomcat11/11.0.24-1/java/org/apache/catalina/core/AprLifecycleListener.java?hl=381#L381

This bug is currently assigned to libtcnative-1 (so not applies for
sid).  I guess it could be reassigned to src:tomcat-native, since it
requires an upstream update on the different releases. Does that make
sense?

Cheers,