Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<Context>
    <!-- lines omitted -->
	<Resources cachingAllowed="true" cacheMaxSize="1000000" />
</Context>

Remember to enable this port in the server’s firewall (if enabled).

server.xml: Connector settings

Edit the <Connector block in $TOMCAT/conf/server.xml

...

By default, Tomcat will use ports 8080 for HTTP and 8443 for HTTPS.

If you need to use different ports, you can set them in $TOMCAT/conf/server.xml. E.g.

 to:

  1. Use the required port number (port="8080"). Tomcat defaults to port 8080 for HTTP, but you may need to use a different port if you are running other web servers on the same host.
  2. Enable compression (compression="force"). Compressing responses from the server is particularly important if you are going to access the PhixFlow server over a slow connection (e.g. a mobile data connection).

After editing, the <Connector/> block should look like this:

Code Block
languagexml
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="8080" protocol="HTTP/1.1"
        <Connector
		port   connectionTimeout="808120000"
		maxHttpHeaderSize           redirectPort="8192" …8443"
           compress="force"/>

Remember to enable this port in the server’s firewall (if enabled).

...

Windows

  • Run the Tomcat Monitor
  • Open the Tomcat Monitor system tray Configure … menu
  • Select the Java tab
  • Set the Initial memory Pool (see table above)
  • Set the Max Memory Pool (see table above)
  • Add the following lines to the Java Options scrollable field:
Code Block
-Xms1024m
-Xmx1024m
-verbose:gc
-Djava.awt.headless=true


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).

Code Block
JAVA_OPTS='-Xms1024m -Xmx1024m -verbose:gc -Djava.awt.headless=true’true'


Database JDBC Drivers

The drivers needed to connect to PhixFlow’s own database are included within the release pack and no action is needed.

...