35.4. Starting the Application

Starting the registry server:

  1. Clean the local CLASSPATH: set/export CLASSPATH=""

  2. Set the JONAS_BASE variable so that it points towards JONAS_REGISTRY.

  3. Start the JOnAS server: jonas start -n Registry

Administering WebSphere MQ:

  1. In WebSphere MQ's Java/bin directory, launch the JMSAdmin tool: JMSAdmin

  2. Create the required JMS objects.

Starting the EJB server:

  1. Clean the local CLASSPATH: set/export CLASSPATH=""

  2. Set the JONAS_BASE variable so that it points towards JONAS_EJB.

  3. Start the JOnAS server: jonas start -n EJB

Starting an EJB client:

  1. Add in the jclient classpath the ibm.com.mq.jar and ibm.com.mqjms.jar libraries.

  2. Launch the client: jclient ...