Menu Search

2.4. Installation on Windows

Firstly, verify that your JVM is installed properly by following these instructions.

Now chose a directory for Qpid broker installation. This directory will be used for the Qpid JARs and configuration files. It need not be the same location as the work directory used for the persistent message store or the log file (you will choose this location later). For the remainder this example we will assume that location c:\qpid has been chosen.

Next extract the qpid-broker-9.1.0-bin.zip package into the directory, using either the zip file handling offered by Windows (right click the file and select 'Extract All') or a third party tool of your choice.

The extraction of the broker package will have created a directory qpid-broker\\9.1.0 within c:\qpid

 Directory of c:\qpid\qpid-broker\\9.1.0

25/11/2015  11:29    <DIR>          .
25/11/2015  11:29    <DIR>          ..
25/11/2015  10:56    <DIR>          bin
03/07/2015  08:06    <DIR>          etc
25/11/2015  11:25    <DIR>          lib
25/11/2015  10:56            28,143 LICENSE
25/11/2015  10:56             3,409 NOTICE
29/04/2015  09:13               116 README.txt
3 File(s)         31,668 bytes
5 Dir(s)  25,981,767,680 bytes free

2.4.1. Setting the working directory

Qpid requires a work directory. This directory is used for the default location of the Qpid log file and is used for the storage of persistent messages. The work directory can be set on the command-line (for the lifetime of the command interpreter), but you will normally want to set the environment variable permanently via the Advanced System Settings in the Control Panel.

set QPID_WORK=C:\qpidwork

If the directory referred to by QPID_WORK does not exist, the Broker will attempt to create it on start-up.