Daisy documentation
 PreviousHomeNext 
10.3 Deploying on TomcatBook Index10.4.2 Running ActiveMQ on a different port

10.4 Changing location (port or machine) of the different processes

This section details the changes to be done to run the different servers needed for Daisy on different machines or let them listen to different ports.

The machine on which you want to run the Daisy Wiki only needs the DAISY_HOME/daisywiki subdirectory. The machine on which you want to run the repository server needs at least DAISY_HOME/lib and DAISY_HOME/repository-server, in addition to your daisy data directory. The install utility programs need DAISY_HOME/install and DAISY_HOME/lib.

After editing any of the configuration files, you need to restart the application to which the configuration file(s) belongs.

10.4.1 Running MySQL at a different location

Both ActiveMQ and the Daisy Repository Server talk to MySQL, so the configuration of both needs to be adjusted. Both could use a different MySQL instance.

For ActiveMQ, edit the following file:

<daisydata directory>/conf/activemq-conf.xml

Look for the <property name="url" value="..."/> element.

For the Daisy Repository Server, edit the following file:

<daisydata directory>/conf/myconfig.xml

Look for the override of the datasource configuration:

<target path="/daisy/datasource/datasource">

and adjust there the content of the <url> element.

 PreviousHomeNext 
10.3 Deploying on Tomcat10.4.2 Running ActiveMQ on a different port