Tuesday, August 3, 2010

Setting up QPID on Linux

1. Inside QPID_INSTALLED_DIR/bin/qpid-server ,set QPID_HOME AND QPID_WORK.QPID_HOME should point to
QPID_INSTALLED_DIR and QPID_WORK should point to any location where you want to see logs eg. QPID_INSTALLED_DIR/logs

2. Goto QPID_INSTALLED_DIR/bin and Create ssl certificate by calling
./create-example-ssl-stores.sh.It creates 2 files qpid.keystore and qpid.truststore file

3. copy these 2 files to ../etc directory

4. Update $QPID_HOME/etc/config.xml and /etc/transient_config.xml with this new certificate location

ie.
update in config.xml (somewhere near line number 53) to ${conf}/qpid.keystore
and
update in transient_config.xml (somewhere near line number 43) to ${conf}/qpid.keystore

5. Rename virtualhosts-ServerConfigurationTest-New.xml to virtualhosts.xml
6. Update $QPID_HOME/etc/virtualhosts.xml with this content


my-web-app

my-web-app


amq.direct

102400
20480
60000


my-web-app-test-queue