1. Home
  2. Docs
  3. User Guide
  4. Domains
  5. Tomcat Manager

Tomcat Manager

Tomcat Manager lets you deploy Java web applications (WAR files and JSP sites) on Apache Tomcat and connect them to your domains.

Where to find it: Domains → Tomcat Manager.

Note: Your hosting provider must install the CWP Tomcat engine and at least one Tomcat version and enable it for your account. If you see Tomcat Manager not available, please contact admin for more information or Tomcat server not running, contact your provider.

Deploy an application

  1. Click Deploy new application.
  2. Bind domain or subdomain: choose where the application is published.
  3. Choose the Deployment type:
    • Upload WAR file — click Browse for WAR file and upload the .war file from your computer.
    • WAR or Directory path — select a .war file or an unpacked application folder that is already in your account.
  4. Optional: an XML Configuration file URL if your application needs a custom context configuration.
  5. Click Save.

The application appears in the Tomcat application list and starts automatically.

Manage applications

Column / buttonMeaning
App name, DomainThe application and where it is published
StatusRunning or stopped
SessionsNumber of active user sessions
Start / StopStart or stop the application
Restart / ReloadRestart the application, for example after uploading a new WAR file
Expire sessionsLog out users who have been idle for at least the number of minutes you enter
Settings (gears)Edit the application
DeleteUndeploy the application

The box at the top shows how many Tomcat applications your package allows.

Common problems

MessageSolution
Application cannot start / Application cannot stopCheck the application log and make sure the WAR file was built for the installed Tomcat and Java version.
Tomcat server timeoutThe application takes too long to start. Try again; if it persists, contact your provider.
Invalid domain/user combinationChoose a domain that belongs to your account.
Tomcat applications quota exceededYou reached the number of applications your package allows.

Related

Was this article helpful to you? No Yes