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:
- Using VI or another text editor, create a file called rationalsdpmq.sh.
- 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- Save and close the editor.
- From a command prompt, type the following:
chmod a+x rationalsdpmq.sh- Use the rationalsdpmq.sh script to launch this product instead of rationalsdp.