Skip to content

Installation

Dannes Wessels edited this page May 14, 2014 · 20 revisions

This page contains some important notes on installing the extension. Read the instructions for the replication extension closely.

download

The extension is available in the Public Application Repository. Installing the extension can be done with just a few clicks using the Package Manager. Install the latest "Messaging and Replication - Core" and "Messaging and Replication" (in this order).

Alternatively (e.g. when there is an corporate HTTP proxy involved requiring authorization - the Package Manager does not work in this case) the extension can be downloaded from the GitHub servers. This site contains always the latest and greatest versions of the XARs. On the GitHub page there is a change log available.

enable

The 'receivers' of the messaging and replication features can be started by using the xquery functions. To get these 'jms listeners' started at database start, xquery scripts can be added to /db/system/startup.

More information can be found on the Startup-Triggers page

The XQueryStartupTrigger is available after eXist-db v2.2rc. The xquery functions are available since rev 0.7 of the extension.


Important notes for the replication extension

Due to the design of the package manager, the Java class loader adds the JAR files to the class path in a relative late phases during the startup of eXist-db.

For older versions of the extension (< v0.7) and eXist-db (<v2.2) the only option is to extract the JAR files from the XAR file manually into the lib/user directory.

Clone this wiki locally