Copy the PhixFlow Webapp into Tomcat
To install the PhixFlow web application into Tomcat:
Copy $RELEASE/webapps/phixflow
to $TOMCAT/webapps/phixflow
Configure the Webapp
A number of configuration files must be copied from supplied templates and configured.
All template and configured configuration files are in $TOMCAT/webapps/$WEBAPP/WEB-INF/classes
Configure phixflow-datasource.xml
The PhixFlow webapp must be configured to give access to the database user that has been created to hold the PhixFlow data.
Copy phixflow-datasource.xml.<database>.example
to phixflow-datasource.xml
, then
Edit the properties for <bean id="dataSource"....
. For example:
<property name="url"> <value>[CONNECTION STRING]</value> </property> <property name="username"> <value>[USERNAME]</value> </property> <property name="password"> <value>[PASSWORD]</value> </property>
Connection Strings
The connection strings given here should cover most cases of connecting to PhixFlow's own database. For information about how connection strings are constructed for the various database platforms supported by PhixFlow, see Database URLs.
The platform-specific [CONNECTION STRING]s are:
Oracle:
jdbc:oracle:thin:@hostname:1521:phixflow
Oracle (> 12c with PDB containers):
jdbc:oracle:thin:@hostname:1521/phixflow
SQL Server:
jdbc:sqlserver://hostname\myservice;databaseName=phixflow
MySQL:
jdbc:mysql://hostname/phixflow
Configure phixflow-instance.xml
phixflow-instance.xml identifies the webapp instance in a resilient configuration and sets whether the instance is active on startup.
Initially, simply copy the example file phixflow-instance.xml.example to phixflow-instance.xml.
Configure phixflow-login.xml
The PhixFlow webapp can be configured to authenticate users’ usernames and passwords against an external Domain / Active Directory or SAML Single Sign-on server e.g. Active Directory Federation Services server.
Initially, simply copy the example file phixflow-login.xml.example to phixflow-login.xml.
Configure logback.xml and phixflow-logging.xml
The logback.xml file controls detailed event/error logging on the server.
The phixflow-logging.xml file contains the location of the main log file directory, used when downloading log files from the front end.
To configure for default logging:
- Open or cd to $TOMCAT/webapps/phixflow/WEB-INF/classes
- Copy logback.xml.example to logback.xml
- Copy phixflow-logging.xml.example to phixflow-logging.xml
- Open phixflow-logging.xml and set the location(s) of your log directory (usually the logs directory in the tomcat installation), if you want to enable log file download from the GUI. Save and close the file.
It is not necessary to make any further changes to these files unless so instructed by PhixFlow Support.
Using Your own Logo in PhixFlow
Optionally, you can configure PhixFlow to display your own company logo. You need a vector graphic .svg file of your logo, renamed as customerLogo.svg
(case sensitive). Add the file to $TOMCAT/webapps/phixflow/
gui/images/
Multiple PhixFlow Webapps
To install multiple instances of PhixFlow on a single server, complete the installation steps above to create a first PhixFlow instance. Then install a further instance:
- Create a second database user to hold the data for the new instance.
- Copy the PhixFlow web application into the Tomcat again:
cp $RELEASE/webapps/phixflow to $TOMCAT/webapps/alternative_name
where “alternative_name” is the name of your test system.
- Be sure to set up a separate user and schema in the database for the new PhixFlow instance and to set phixflow-datasource.xml as needed
- To ensure log messages are sent to a separate file, change the following line in logback.xml
<file>logs/alternativeAppName.log</file>