Starting the registry server:
Clean the local CLASSPATH: set/export CLASSPATH=""
Set the JONAS_BASE variable so that it points towards JONAS_REGISTRY.
Start the JOnAS server: jonas start -n Registry
Administering WebSphere MQ:
In WebSphere MQ's Java/bin directory, launch the JMSAdmin tool: JMSAdmin
Create the required JMS objects.
Starting the EJB server:
Clean the local CLASSPATH: set/export CLASSPATH=""
Set the JONAS_BASE variable so that it points towards JONAS_EJB.
Start the JOnAS server: jonas start -n EJB
Starting an EJB client:
Add in the jclient classpath the ibm.com.mq.jar and ibm.com.mqjms.jar libraries.
Launch the client: jclient ...