amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

[Package Request] - Tomcat 10

Open sdroselius opened this issue 2 years ago • 5 comments

What package is missing from Amazon Linux 2023? Please describe and include package name.

Apache Tomcat 10

Is this an update to existing package or new package request?

New package request

Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify.

Tomcat 10 appears to be available on the Elastic Beanstalk AL2023 platform.

https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html#platforms-supported.java

Would it be possible to make it available for package install on EC2 AL2023?

Any additional information you'd like to include. (use-cases, etc)

sdroselius avatar Nov 10 '23 23:11 sdroselius

This is now a required dependency for new spring-boot apps, it seems.

friarzen avatar Aug 27 '24 16:08 friarzen

We are working on adding this to an upcoming release, thank you.

ozbenh avatar Aug 28 '24 23:08 ozbenh

Spring Boot does not need Tomcat installed on the system. Spring Boot server can be tomcat, jetty or undertow. And it is bundled with application. If you run legacy Spring application, yes then you need tomcat on the system.

matejsp avatar Aug 29 '24 04:08 matejsp

We are working on adding this to an upcoming release, thank you.

@ozbenh any rough timeline? weeks? months? many months? years?

Also, which version? 10.0? 10.1? (10.1 would match the version provided in Elastic Beanstalk Tomcat platforms)

rturner-edjuster avatar Sep 13 '24 17:09 rturner-edjuster

Also, which version? 10.0? 10.1? (10.1 would match the version provided in Elastic Beanstalk Tomcat platforms)

Just as a reminder, 10.0 is superseded and EOL since 2022.

rproserpio avatar Sep 16 '24 07:09 rproserpio

AL2023.6 is out with

Name         : tomcat10
Epoch        : 1
Version      : 10.1.29
Release      : 1.amzn2023.0.1
Architecture : noarch
Size         : 92 k
Source       : tomcat10-10.1.29-1.amzn2023.0.1.src.rpm
Repository   : amazonlinux
Summary      : Apache Servlet/JSP Engine, RI for Servlet 6.0/JSP 3.1 API
URL          : http://tomcat.apache.org/
License      : ASL 2.0
Description  : Tomcat is the servlet container that is used in the official Reference
             : Implementation for the Java Servlet and JavaServer Pages technologies.
             : The Java Servlet and JavaServer Pages specifications are developed by
             : Sun under the Java Community Process.
             : 
             : Tomcat is developed in an open and participatory environment and
             : released under the Apache Software License version 2.0. Tomcat is intended
             : to be a collaboration of the best-of-breed developers from around the world.

The release notes will be updated shortly

ozbenh avatar Oct 15 '24 00:10 ozbenh

It seems Tomcat 10 packages cannot be installed side-by-side with Tomcat 9 packages, even though they have separate config locations, file locations, etc.

dnf is unhappy with Tomcat 9 being installed already:

$ sudo dnf install tomcat10
Amazon Linux 2023 Kernel Livepatch repository                                                                                                                                                       8.1 kB/s | 2.9 kB     00:00
Error:
 Problem: problem with installed package tomcat9-1:9.0.91-1.amzn2023.0.1.noarch
  - package tomcat10-1:10.1.29-1.amzn2023.0.1.noarch from amazonlinux conflicts with tomcat9 provided by tomcat9-1:9.0.91-1.amzn2023.0.1.noarch from @System
...snip...
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

This makes migration awkward.

@ozbenh Any plans to address this?

Looking at the package source, it looks like Conflicts statements were added to the RPM specification file, when in reality, it does not conflict. It would be nice to remove these from the package.

rturner-edjuster avatar Dec 09 '24 16:12 rturner-edjuster