Articles
In order to deploy Tomcat web apps your subscription(webspace) must support it. Subscriptions...
Our Java environmentWe 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 appsA domain or subdomain can have Tomcat web apps deployed if it: has hosting enabled is active,...
Before requesting deploymentIt is important to test your Tomcat web apps locally before requesting their deployment. The...
Where should you upload your Tomcat web appsTomcat web apps should you placed directly in the DocumentRoot. For a subscription's main domain...
WAR filesWAR files must be extracted in order to be deployed. E.g. the contents of test.war should be...
Requesting web app deploymentTo request a deployment go to the "Websites & Domains" section, find the domain/subdomain...
Start, Stop and Reload of Tomcat web appsTo Start/Stop/Reload web apps go to the "Websites & Domains" section, find the...
Tomcat log filesTomcat logs can be found in the /logs-tomcat directory which is placed in the subscription's...
Servlet/filter mappingsIn order your mappings to work as expected two things must be done: As usual they have to be...
Security policyTomcat's security policy is defined in the file $TOMCAT_HOME/conf/catalina.policy. Our policy...
Read/Write/Delete files on the file systemThe Tomcat security policy grants web apps read/write/delete permissions for all the files and...
Java mailmail.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 appHere's an example for MySQL which you can place in e.g. test.jsp: <%@page language="java"...
Database connection poolingWe do not recommend using connection pooling in our environment since the connection...
Third party libraries pre-installed in TomcatMySQL drivers - mysql-connector-java-bin.jar Java mail required JARs - mail.jar and...
Powered by WHMCompleteSolution