Running The Ozone Database Server

The Ozone database server is invoked using the command:

java org.ozoneDB.core.Server [-dozone database directory] [-uuser name]

When invoking this command you must ensure that not only the Ozone library, but also all TM4J libraries and dependencies are available to the JVM (i.e. specified in your CLASSPATH environment variable or with a -cp option to the java command).

There is a short-cut for running the Ozone server provided in the Ant build.xml file that ships with TM4J. To run the server, you can simply invoke ant with the target 'ozone-run'. This target accepts the following parameters:

ozoneDB.dir
The database directory that the Ozone server will server from.
user.name
The user name that the server will run as (this is a database user name and the database user will be created if it does not already exist). If not specified, this defaults to the user name 'admin'.