...
Code Block | ||
---|---|---|
| ||
<session-config> <session-timeout>1440<timeout>600</session-timeout> </session-config> |
Update <session-timeout> to the value you need, e.g. to 1440 720 (minutes i.e. 1 day12 hours).
Java and JVM Options
Download and install Java from java.com. Java JDK 1.8 is required (and version 1.8.0_74 or greater is recommended). The following JVM (Java Virtual Machine) options should be set to control (amongst other things) the amount of memory reserved for Tomcat and therefore made available for PhixFlow. The options are:
Option | Recommended Setting | Syntax |
Initial Memory Pool | 1024Mb on 32bit architecture. 40% of physical memory on x64 architecture. Consult your sys admin for recommended settings on virtual servers. | -Xms1024m |
Max Memory Pool | As much as possible. 1024Mb on 32bit architecture. 75% of physical memory on x64 architecture. Consult your sys admin for recommended settings on virtual servers. | -Xmx1024m |
Garbage Collector Diagnostics | Enabled | -verbose:gc |
Disable direct GUI access | Some JDBC (database) drivers generate warning messages direct to the screen if running under a GUI (graphical user interface). These messages are confusing at best for a background service such as the PhixFlow web application server, and should be disabled. This setting tells Java to behave as though there were no GUI present. | -Djava.awt.headless=true |
To set JVM options:
Windows |
| ||
Unix/Linux | If you have installed the scripts in tomcat login scripts, these option will already be set however for clarity, these options are defined in the JAVA_OPTS environment variable set in the tomcat user’s shell startup file (e.g. .profile / .bash_profile / .cshrc in the user’s home directory – the actual startup file is determined by the user’s default shell settings).
|
...