Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Minor apologies since these instructions are heavily linux/unix focused. If you have difficulty using our .bat script (see below) please email qpid-users for assistance.

Prerequisites

The Qpid broker requires Java 5 or later to be available. For maximum performance Java 6 is recommended. Note that JDK 5 has a bug which may cause problems, so plase use versions later than 1.5.0_15 !

The Java JMS client can be run using Java 1.4, 5 or 6. Note that the 1.4 client libraries come in a separate package.

...

QPID_HOME - specifies where your install of Qpid exists, used for broker lookups of files etc
QPID_WORK - defines location of all working files created by the broker including log and db (i.e. BDB if used)
PATH - ensure that the QPID_HOME/bin directory is added to your path so that the server scripts can run

  1. First set the QPID_HOME variable to reflect the root of your installation. For example, if you have installed the broker package into a directory <homedir>/broker/qpid-xx then you should set the QPID_HOME variable to <homedir>/broker/qpid-xx.
  2. You can also set the QPID_WORK variable in order to control the destination directory for the log dir into which broker logging is generated. For example, if you wish to set the working directory to be <homedir>/working you should set the QPID_WORK directory to be <homedir>/working. Note that the QPID_WORK variable defaults to the current user's home directory if not set.
  3. Then set your PATH variable appropriately to include the bin dir

Setting JAVA environment

You must make the JDK available available by setting the JAVA_HOME environment variable and adding the JAVA_HOME/bin directory to your PATH.

...