LibraryLink ToToggle FramesPrintFeedback

Setting Up the Guided Tour of JMS

You need to install FUSE Message Broker, Apache Ant, and a Java JDK to run the samples. You then need to identify those locations in the environment settings for the scripted samples.

You avoid some common problems when you put all the software on the same drive, and ensure that no paths contain spaces (such as Program Files).

The exploring JMS samples require a Java JDK version 1.5.0_11 or higher.

Apache Ant is used to build and run the samples.

Access the Ant 1.6.5 (or higher) distribution for your platform at http://ant.apache.org.

To install do the following:

For more information on installing FUSE Message Broker see Installation Guide.

The network connector feature in the default broker configuration attempts to automatically discover and connect to other brokers. This default behavior can be distracting to observing the behaviors in these samples. To shut off network connections, navigate to your FUSE Message Broker's installation directory, edit the file /conf/activemq.xml, and delete the networkConnectors section. Save the edited file to enable the change when you restart FUSE Message Broker.

The sample applications used in this book are located in the exploring-jms folder of the FUSE Message Broker installation.

The following procedures describe the steps on various platforms to set the required HOME, PATH, and CLASSPATH values.

On Windows

To set the environment and set up sample windows on Windows:

You are ready to take a tour of the samples on your Windows system!

On Linux

To set the environment and set up sample windows on Linux:

You are ready to take a tour of the samples on your Linux system!

On Macintosh
[Tip]Tip

If you installed Apple's X11 for Mac OS X, you can use the xterm commands described for Linux to spawn windows with the environment preset, and then launch the broker.

To set the environment and set up sample windows on Macintosh:

You are ready to take a tour of the samples on your Macintosh system!

On UNIX

To set the environment and set up sample windows on UNIX:

You are ready to take a tour of the samples on your UNIX system!