Daisy documentation
 PreviousHomeNext 
2.5 Extract the Daisy downloadBook Index2.7 Daisy Repository Server

2.6 OpenJMS configuration

Open a command prompt or shell and set the following environment variables:

Then go to the directory <DAISY_HOME>/install, and execute:

daisy-openjms-config

(Unix users might have to do ./daisy-openjms-config, depending on their settings)

The application will ask a few database parameters and then update configuration files accordingly. If you have MySQL running on localhost and created the tables using default names and passwords as shown earlier, you can simply press enter on each question.

Then go to the directory <OPENJMS_HOME>/bin, and execute the following to create the OpenJMS database tables (the complete statement should be on one line):

For Linux:
dbtool.sh -create -config $OPENJMS_HOME/config/openjms.xml
   -Dlog4j.configuration=$DAISY_HOME/misc/openjms-log4j.properties

For Windows:
dbtool.bat -create -config %OPENJMS_HOME%\config\openjms.xml
   -Dlog4j.configuration=%DAISY_HOME%\misc\openjms-log4j.properties

This should print out as last line:

Successfully created tables

Now you can start OpenJMS: go to the directory <OPENJMS_HOME>/bin, and execute:

For Linux:
startup.sh

For Windows:
startup.bat
 PreviousHomeNext 
2.5 Extract the Daisy download2.7 Daisy Repository Server