You can run the MSA 2.0 server with the Tomcat server of SAM Console to use the MSA API.
-
Go to http://java.comand install JRE 7 on your machine and locate the top level directory of the JRE 7 installation.
-
Go to BASEDIR/local/conf and edit the runcmd_env.shfile to add the following lines:
SM_JAVA=<JAVA_HOME>/jre/bin;<JAVA_HOME>/jre/bin/client SM_JAVAHOME=<JAVA_HOME>/jre
-
Copy the file, msa20-dmt-9.1.1.0.143.warfrom BASEDIR/tomcat/webapps/msa directory to BASEDIR/tomcat/webapps directory.
-
Rename msa20-dmt-9.1.1.0.143.war under BASEDIR/tomcat/webapps directory to msa20-dmt.war.
-
Start the Tomcat server by typing the following command:
#BASEDIR/bin/sm_tomcat start
-
Stop the Tomcat server by typing the following command:
#BASEDIR/bin/sm_tomcat stop
-
Go to BASEDIR/tomcat/webapps/msa20-dmt/WEB-INF/classes, and edit the msa-sources.xmlfile to add the SAM server and Broker information.
-
Start the Tomcat server by typing the following command:
#BASEDIR/bin/sm_tomcat start
-
Type the following address in your web browser:
http://<host>:8080/msa20-dmt/msa/
Starting the MSA 2.0 server and the Tomcat server will not start the SAM Console. Start the Global Console as described in “Opening the Global Console” on page 47.