The GlobalSolutions

Tomcat 10.1.9 on Windows Powered by GlobalSolutions

The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.

We have packaged a production-ready, security-hardened Tomcat server for development and production environments. Get our AMI from AWS Marketplace and you are ready in seconds to host your application. To make monitoring easier, we have enabled JMX monitoring so you can monitor the server as your application goes into production. Start the JConsole or Tomcat Manager from the desktop to see all the detailed metrics on the Tomcat server.

Why Subscribe to Our Offering in AWS Marketplace

Accessing Your AMI from AWS Marketplace

To get started with your Tomcat stack:

  1. Subscribe: Purchase the Tomcat AMI from the AWS Marketplace.
  2. Connect via RDP:
    • In the AWS Console, select your launched instance and click Connect.
    • Choose RDP Client, upload your .pem key file, and decrypt the password using your private key.
    • Download the .rdp file and connect using the username Administrator and the decrypted password.
For more information, refer to the AWS Windows Instance Connection Guide.

Installation Paths and Versions

The Tomcat stack is installed in standard Windows directories for easy access:

Category Packages Version Location Port
Tomcat Tomcat 10.1.9 C:\Program Files\Apache Software Foundation\Tomcat 10.1 80
Monitoring JMX 10.1.9 C:\Program Files\Apache Software Foundation\Tomcat 10.1 8080
Server Status Host Manager 10.1.9 http://localhost 80

Tomcat Host Manager

RDP to the machine and open the Host Manager from the desktop icon, or navigate to http://localhost/status.jsp in your browser.

Username Password
Administrator Your Instance ID

Note: If you are unable to log in, restart the Tomcat Server by going to Administrative Tools → Services.

Tomcat HTTP port: 80    JMX Monitoring port: 8080

Finding Your Instance ID

To locate your AWS Instance ID:

Getting Started

Apache Tomcat is deployed as a Windows service. To deploy your application, copy your .war file to the following directory:

C:\Program Files\Apache Software Foundation\Tomcat 10.1.9\webapps

Once you deploy the war file, restart the Tomcat server (recommended but not required). After the restart, your application will be running on port 80 and accessible at:

Monitoring the Tomcat Server

Local Monitoring with JConsole

Open the JConsole shortcut on your desktop. When prompted, select the Remote Process option and enter localhost:8080 as the hostname and port. Click Connect and leave the username and password fields blank.

Remote Monitoring with JConsole

To monitor the Tomcat server from a remote machine, follow these steps:

  1. Go to the Tomcat bin directory and run Tomcat10w.exe to open the configuration console.
  2. Go to the Java tab and locate the following property:
    -Djava.rmi.server.hostname=localhost
    Change localhost to your Elastic IP or public IP of the Tomcat server. For example:
    -Djava.rmi.server.hostname=52.24.45.67
  3. Click OK and restart the Tomcat server.
  4. On your remote machine, locate the Java bin directory and run JConsole.
  5. Choose the Remote option, enter tomcat-server-IP:8080, and leave the username and password fields blank.
  6. Click Connect. If prompted with an SSL warning (since the connection is not over HTTPS), click OK to proceed — you will now be able to monitor your Tomcat server remotely.
Reference: The screenshot below shows a sample JConsole connection to the Tomcat server.

JConsole screenshot

AWS Cost Optimizer — CloudInsider

Our other popular offering is the AWS Cost Optimizer aka CloudInsider, available in AWS Marketplace. This service has helped our customers save significantly on AWS and other cloud spending. It is easy to subscribe and you can see the savings in minutes.

▶ Watch Demo Video Subscribe on AWS Marketplace

Support

For any questions or assistance with our AWS Marketplace offering, reach out to us at support@theglobalsolutions.net.