Open mtallenca opened 7 months ago
We are facing the similiar issue. Our production is currently running on AWS Linux 2 and it requires tomcat native. Tomcat native is available on AWS Linux 2. Now we are moving to AWS Linux 2023, Tomcat native is not available. We are stuck to move forward.
I'm now building tomcat native as part of my server config in .ebextensions. I've included the file we're using. It's been used in production for almost a month now.
packages:
yum:
apr-devel.x86_64: []
openssl-devel: []
gcc: []
files:
"/tmp/build_tomcat_native.sh":
owner: root
group: root
mode: "000755"
content: |
#! /bin/bash
CONFIGURED=`ls /usr/lib/libtcnative* | wc -l`
if [ $CONFIGURED = 0 ]
then
cd /tmp
SRC=tomcat-native-2.0.6-src
TAR=$SRC.tar.gz
curl https://dlcdn.apache.org/tomcat/tomcat-connectors/native/2.0.6/source/$TAR > $TAR
tar zxvf $TAR
cd $SRC/native
./configure --with-apr=/usr/bin/apr-1-config --with-java-home=/usr/lib/jvm/java --with-ssl=/usr/include/openssl --prefix=/usr
make && make install
fi
container_commands:
native:
command: "sh /tmp/build_tomcat_native.sh"
What package is missing from Amazon Linux 2023? Please describe and include package name. ELB with Tomcat 10 and Amazon Linux 2023 has tomcat, but is missing package tomcat-native.
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. This package is available in Amazon Linux 2
Any additional information you'd like to include. (use-cases, etc) Attempting to update my environment from Tomcat 8.5 / Amazon Linux 2 to Tomcat 10 / Amazon Linux 2023 - tomcat_native package is missing