Creating a script to enable Embedded Messaging on Linux

If you have installed Embedded Messaging , you will have to create a script to launch WebSphere Studio with the correct paths and environment variables

To create the script:

  1. Using VI or another text editor, create a file called rationalsdpmq.sh.

  2. Add the following text:
    export PATH=$PATH:/opt/mqm/bin:/opt/mqm/java/bin:/opt/wemps/bin     
    export LD_LIBRARY_PATH=/opt/mqm/lib:/opt/mqm/java/lib:/opt/wemps/lib:$LD_LIBRARY_PATH
    export WEMPS_REGISTRY=/var/wemps/registry     rationalsdp

  3. Save and close the editor.

  4. From a command prompt, type the following:
    chmod a+x rationalsdpmq.sh

  5. Use the rationalsdpmq.sh script to launch this product instead of rationalsdp.