- 최신
- 최다 투표
- 가장 많은 댓글
Hello.
The image shows Tomcat 8.5 enabled.
Change this to disabled with the following command.
sudo amazon-linux-extras disable tomcat8.5
Once disabled, try activating Tomcat 9.0 with the following command.
sudo amazon-linux-extras enable tomcat9
I've installed Tomcat 10 on my AWS Lightsail machine which is running Ubuntu 22.04.3 LTS. Everything seems fine. The Catalina log doesn't show any errors or warnings, and Tomcat is running and listening on port 8080. However, it's only accessible from the local machine and not from external IPs.
I've tried everything I found on Google. I've opened the ports in the AWS Lightsail console, and I've commented out the Valve lines in the context.xml of the manager and host-manager apps to prevent filtering external IPs.
I've also checked that the connector in the server.xml which opens port 8080 is correct.
<Connector executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxParameterCount="1000" />
I've verified through Linux commands that port 8080 is open and there aren't any firewall rules blocking traffic on that port. However, it's still not accessible from outside.
Any ideas?
Thanks! The issue is resolved, and the tomcat9 is able to be installed using the following approach!
this allows us to jump from 8.5 to 9. but how can we pick minor releases. For example. what if we need to use 9.0.83 particular. The default seems to be 9.0.82. Certain versions did not pass the CVE scan.