Setting EMS_HOME

Based on the location of the EMS server and the Service Performance Manager server, you have to manually set your EMS_HOME.

The following table covers the scenarios and corresponding postinstallation steps.
Table 1. Postinstallation
Setup Details Installation Order Postinstallation
Single machine with the same TIBCO_HOME 1. TIBCO Enterprise Message Service

2. TIBCO Service Performance Manager

No manual steps needed
Single machine with the same TIBCO_HOME

Single machine with different TIBCO_HOME

1. TIBCO Service Performance Manager

2. TIBCO Enterprise Message Service

Any order

Set EMS_HOME to the TIBCO Enterprise Message Service installation directory in the following files:
  • SPM_HOME/bin/setems4spm.bat
  • SPM_HOME/bin/tibspm.tra
  • SPM_HOME/bin/tibspmddlgenerator.tra
  • SPM_HOME/bin/tibspmexamples.tra
  • SPM_HOME/bin/tibspmpassword.tra
  • SPM_HOME/examples/probes/hawk_probe/tibhawkprobe4spm.tra
  • SPM_HOME/adapters/liveview/lv-projectgenerator/tibspmgenerator4lv.tra
  • SPM_HOME/amxdashboard/startamxdashboard.bat
  • SPM_HOME/amxdashboard/tomcat/bin/setenv.bat
  • SPM_HOME/amxdashboard/tomcat/bin/service.bat.

    For example,

    EMS_HOME=C:/tibco/EMS/<version>

  • SPM_HOME/spmdashboard/startspmdashboard.bat
  • SPM_HOME/spmdashboard/tomcat/bin/setenv.bat
  • SPM_HOME/spmdashboard/tomcat/bin/service.bat.
Different machines where TIBCO Enterprise Message Service is installed on machine 1 and TIBCO Service Performance Manager on machine 2  
  • Perform the following steps:
    1. Copy the following files from SPM_HOME/bin of machine 2 to EMS_HOME/lib of machine 1: setems4spm.bat and setems4spm.scr
    2. Execute setems4spm.bat.
  • Ensure that the folder structure for EMS client libraries on local machine points to EMS_HOME/lib.
  • Copy the folder structure EMS_HOME/lib from machine 1 to machine 2 and place it at the same level as SPM_HOME. Verify the following files are present under EMS_HOME/lib on machine 2: jms.jar (or jms-2.0.jar with EMS 8.0), tibjms.jar, slf4j*.jar, tibcrypt.jar
  • Update all TRA and bat files to set EMS_HOME = SPM_HOME
  • Set the EMS_HOME in the following files:
    • SPM_HOME/bin/setems4spm.bat
    • SPM_HOME/bin/tibspm.tra
    • SPM_HOME/bin/tibspmddlgenerator.tra
    • SPM_HOME/bin/tibspmexamples.tra
    • SPM_HOME/bin/tibspmpassword.tra
    • SPM_HOME/examples/probes/hawk_probe/tibhawkprobe4spm.tra
    • SPM_HOME/adapters/liveview/lv-projectgenerator/tibspmgenerator4lv.tra
    • SPM_HOME/amxdashboard/startamxdashboard.bat
    • SPM_HOME/amxdashboard/tomcat/bin/setenv.bat
    • SPM_HOME/amxdashboard/tomcat/bin/service.bat.
    • SPM_HOME/spmdashboard/startspmdashboard.bat
    • SPM_HOME/spmdashboard/tomcat/bin/setenv.bat
    • SPM_HOME/spmdashboard/tomcat/bin/service.bat.