Articles

 Hosting plans, subscriptions and add-ons with Tomcat support

In order to deploy Tomcat web apps your subscription(webspace) must support it. Subscriptions...

 Our Java environment

We run Tomcat application server on Oracle JVM. Tomcat is run behind Apache HTTPd front-end so we...

 Which domains and subdomains can have Tomcat web apps

A domain or subdomain can have Tomcat web apps deployed if it: has hosting enabled is active,...

 Before requesting deployment

It is important to test your Tomcat web apps locally before requesting their deployment. The...

 Where should you upload your Tomcat web apps

Tomcat web apps should you placed directly in the DocumentRoot. For a subscription's main domain...

 WAR files

WAR files must be extracted in order to be deployed. E.g. the contents of test.war should be...

 Requesting web app deployment

To request a deployment go to the "Websites & Domains" section, find the domain/subdomain...

 Start, Stop and Reload of Tomcat web apps

To Start/Stop/Reload web apps go to the "Websites & Domains" section, find the...

 Tomcat log files

Tomcat logs can be found in the /logs-tomcat directory which is placed in the subscription's...

 Servlet/filter mappings

In order your mappings to work as expected two things must be done: As usual they have to be...

 Security policy

Tomcat's security policy is defined in the file $TOMCAT_HOME/conf/catalina.policy. Our policy...

 Read/Write/Delete files on the file system

The Tomcat security policy grants web apps read/write/delete permissions for all the files and...

 Java mail

mail.jar and activation.jar are pre-installed in $TOMCAT_HOME/lib. Don't put them in your web...

 Connecting to a database from your Tomcat web app

Here's an example for MySQL which you can place in e.g. test.jsp: <%@page language="java"...

 Database connection pooling

We do not recommend using connection pooling in our environment since the connection...

 Third party libraries pre-installed in Tomcat

MySQL drivers - mysql-connector-java-bin.jar Java mail required JARs - mail.jar and...

Powered by WHMCompleteSolution