Closed tall27 closed 4 months ago
root@ip-10-0-1-181:/home/ubuntu# curl http://127.0.0.1:8080/ <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!
This is the default Tomcat home page. It can be found on the local filesystem at: /var/lib/tomcat10/webapps/ROOT/index.html
Tomcat veterans might be pleased to learn that this system instance of Tomcat is installed with CATALINA_HOME
in /usr/share/tomcat10
and CATALINA_BASE
in /var/lib/tomcat10
, following the rules from /usr/share/doc/tomcat10-common/RUNNING.txt.gz
.
You might consider installing the following packages, if you haven't already done so:
tomcat10-docs: This package installs a web application that allows to browse the Tomcat 10 documentation locally. Once installed, you can access it by clicking here.
tomcat10-examples: This package installs a web application that allows to access the Tomcat 10 Servlet and JSP examples. Once installed, you can access it by clicking here.
tomcat10-admin: This package installs two web applications that can help managing this Tomcat instance. Once installed, you can access the manager webapp and the host-manager webapp.
NOTE: For security reasons, using the manager webapp is restricted to users with role "manager-gui". The host-manager webapp is restricted to users with role "admin-gui". Users are defined in /etc/tomcat10/tomcat-users.xml
.
===================================================================
root@ip-10-0-1-181:/home/ubuntu# curl http://127.0.0.1:8080/guacamole <!doctype html>
Type Status Report
Message The requested resource [/guacamole] is not available
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Hi,
The issue relates to you using Ubuntu 24.04 (released 1.5 mth ago) before I had got around to adding a workaround to support it - (as per the prerequisites section of the Readme.)
Today I have added support for Ubuntu 24.04 by adding the previous Jammy repo to allow a Tomcat 9 install. Should work fine on your latest Ubuntu AWS instance now.
Background: The need for many workarounds at present is because Guacamole requires Tomcat9 and as time goes on, more and more distros are defaulting to Tomcat10. (The Gucamole devs dont yet have a timeline for adding support for Tomcat10, but Tomcat9 is EOL in about a year or so, so this will happen sooner than later.) I could simply apply a source build of Tomcat for all versions, but it is my preferrence to try to rely on distro based Tomcat packages for ease of updates via APT.
Describe the issue: After successful install of the latest version, I can access the URL, but getting HTTP Status 404 – Not Found error HTTP Status 404 – Not Found Type Status Report Message The requested resource [/guacamole/] is not available Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Apache Tomcat/10.1.16 (Ubuntu)
Steps to reproduce the issue: Fresh Ubuntu on AWS. ports 80, 443 open from 0\0 port ; port 22 from my IP. Successfully got a certificate from Let's encrypt and can access to the Nginx web site.
Describe the software environment:
Linux ip-10-0-1-181 6.8.0-1008-aws #8-Ubuntu SMP Sat Apr 20 00:46:25 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
based on AWS ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-20240423 imageLogs / screenshots / error outputs etc
Troubleshooting steps already taken?: I've tried to create a new EC2 instance and run it again.