2.1.3.2 Deploying Topology Generator

Deploy server/topologygenerator.war to your servlet engine1. Make sure that Topology Generator servlet can read its configuration file topology_generator.conf. Read and write permissions are needed for topology and data files in data and web/topologyPics directories. It is probably easiest to grant read and write permissions for whole verkkoke directory and subdirectories. This should not be a problem.

Execute permission is needed for dot. Topology Generator uses reflection, so java.lang.reflect.ReflectPermission "suppressAccessChecks" must be set.

Finally, Topology Generator's URL must be updated to phpinc/config.php, either by manually editing the file or by Graphical Configuration Interface. GCI is located in web/configGUI and should be accessible using web browser and working if web server is correctly configured. Name of the parameter is $topologyGeneratorURL. Default value for URL is to assume that servlet engine is run on a local machine (localhost) at port 81802.


Footnotes

[1] In Apache Tomcat this is usually simply done by copying .war file to webapps directory

[2] This is Debian's default setting