From 91a24abf6004c3b7b9336ff7ecde39fa325d2487 Mon Sep 17 00:00:00 2001
From: Bellamkondapremchand
<156080435+Bellamkondapremchand@users.noreply.github.com>
Date: Thu, 7 Aug 2025 17:27:18 +0530
Subject: [PATCH] Update tomcat.sh
---
tomcat.sh | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/tomcat.sh b/tomcat.sh
index bdeff16e..c18d8035 100644
--- a/tomcat.sh
+++ b/tomcat.sh
@@ -1,11 +1,11 @@
yum install java-17-amazon-corretto -y
-wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.107/bin/apache-tomcat-9.0.107.tar.gz
-tar -zxvf apache-tomcat-9.0.107.tar.gz
-sed -i '56 a\' apache-tomcat-9.0.107/conf/tomcat-users.xml
-sed -i '57 a\' apache-tomcat-9.0.107/conf/tomcat-users.xml
-sed -i '58 a\' apache-tomcat-9.0.107/conf/tomcat-users.xml
-sed -i '59 a\' apache-tomcat-9.0.107/conf/tomcat-users.xml
-sed -i '56d' apache-tomcat-9.0.107/conf/tomcat-users.xml
-sed -i '21d' apache-tomcat-9.0.107/webapps/manager/META-INF/context.xml
-sed -i '22d' apache-tomcat-9.0.107/webapps/manager/META-INF/context.xml
-sh apache-tomcat-9.0.107/bin/startup.sh
+wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.108/bin/apache-tomcat-9.0.107.tar.gz
+tar -zxvf apache-tomcat-9.0.108.tar.gz
+sed -i '56 a\' apache-tomcat-9.0.108/conf/tomcat-users.xml
+sed -i '57 a\' apache-tomcat-9.0.108/conf/tomcat-users.xml
+sed -i '58 a\' apache-tomcat-9.0.108/conf/tomcat-users.xml
+sed -i '59 a\' apache-tomcat-9.0.108/conf/tomcat-users.xml
+sed -i '56d' apache-tomcat-9.0.108/conf/tomcat-users.xml
+sed -i '21d' apache-tomcat-9.0.108/webapps/manager/META-INF/context.xml
+sed -i '22d' apache-tomcat-9.0.108/webapps/manager/META-INF/context.xml
+sh apache-tomcat-9.0.108/bin/startup.sh