Tomcat installation on Windows server
Warning This document only gives general guidelines, not a detailled procedure. If needed refer to the Linux installation document for details.
This document corresponds to an installation on Windows server 2012r2.
This procedure also is very similar if you use TomEE instead of Tomcat
If needed download and install the chosen up-to-date database engine server suitable for your version of Windows:
Nothing to do for HSQLDB as its JAR is part of the application's libraries.
Dowload and install an up to date Windows Java SE Developpement Kit version 8 (not a Java SE Runtime Environment) package suitable for your version of Windows.
JAVA_HOME environment variable as the path of your JDK Installation (e.g.
%JAVA_HOME%\bin to the system
Clone the preconfigured Tomcat package (which is just an out of the box Tomcat package with administration webapps removed, with some settings fine-tuned and with some additional jars in the
lib folder) with appropriate credentials:
git clone https://<username>[:<password>]@platform.git.simplicite.io/tomcat.git
Make sure the
tomcat\temp folder is present and writeable, this is mandatory for images thumbnails generation.
Then, make sur the
tomcat\logs folder is present and writeable, this is mandatory for logging.
TOMCAT_HOME environment variable as the path of your Tomcat Installation (e.g.
Change the Tomcat connectors port numbers in
80 and from
If you want to install it as a service proceed as follows:
cd tomcat\bin .\service.bat install .\tomcat8.exe //US//Tomcat8 ++JvmOptions -Dfile.encoding=UTF-8;-Dgit.basedir=C:\Users\Administrator\git --JvmMs 256 --JvmMx 1024 --Startup auto
1024 values are just given as examples.
For MySQL/MariaDB or PostgreSQL or SQLServer: create the database (with UTF-8 encoding) and the database user. Then load the database dump.
Unzip the corresponding
Unzip the application WAR in the
Verify the application context configuration (database connection settings and
dbdoc location) file in
webapps/<app, e.g. ROOT>/META-INF/context.xml
Start the Tomcat service.
Adjust security level (especially for the local Internet Explorer) and firewall settings to expose HTTP (
80) and HTTPS (