...
Info |
---|
Unix/ Linux installation: these instructions guide you to setting up tomcat to run as a service under the classic init mechanism on unix/ linux (System V) since this will be available on all platforms, but you should consider using Upstart, a more modern init mechanism that will be available on most modern unix/ linux distributions. Installation using upstart is widely covered on the web. Further, at some versions of tomcat, on certain unix/ linux versions, a complete tomcat installation can be performed using a few simple package commands. Before you begin, a web search for tomcat installation at the desired version of tomcat, on the installed version of your unix/ linux distribution, may give you a much simpler installation method. However you install tomcat, please note the settings that are needed under configuring tomcat |
Download
The System Administrator should have set up a linked directory structure like [c:]/opt/tomcat. The details of this may differ between installations so from this point on, the “root” tomcat directory will be referred to as $TOMCAT.
Download the appropriate version of Tomcat from tomcat.apache.org and unpack (unzip/uncompress) into the $TOMCAT. (Refer to Compatibility Guide and Upgrade Planning for supported versions).
Install
Some instructions are given here for installing tomcat, and making it run as a service. You should ensure that any installation meets with your company standards.
Installing on windows
Follow these instructions.
Installing on unix/ linux
Follow these instructions.
Anchor | ||||
---|---|---|---|---|
|
Having completed the basic tomcat installation, stop the tomcat service then make the following changes:
conf/context.xml: cache settings
The default Tomcat cache settings are insufficient for PhixFlow:
...
Code Block | ||
---|---|---|
| ||
<Context> <!-- lines omitted --> <Resources cachingAllowed="true" cacheMaxSize="1000000" /> </Context> |
conf/server.xml: Connector settings
Edit $TOMCAT/conf/server.xml:
...
Remember to enable this port in the server’s firewall (if enabled).
web.xml: Session timeout
The default session timeout period is 30 minutes.
...
Code Block | ||
---|---|---|
| ||
<session-config> <session-timeout>720</session-timeout> </session-config> |
Supplied Web Applications
Tomcat Manager Webapp
The Manager Webapp is disabled by default.
Warning |
---|
Do not enable the Manager Webapp unless explicitly advised to do so by PhixFlow Support. |
Database JDBC Drivers
The drivers needed to connect to PhixFlow’s own database are included within the release pack and no action is needed.
...