To generate a generic console similar to the console generated from the
sm_gui -c generic command, you need to edit the
globalConsoleWithMaps.html and
globalConsoleApp.jnlp files as described in the following sections of this
Fix statement.
Setting up the HTML connection for a generic console
To set up the HTML connection for a generic console, do the following:
- Open the globalConsoleWithMaps.html file for editing using an appropriate HTML editor. This file is located in the following directory:
<BASEDIR>/SAM/smarts/jakarta-tomcat-5.0.16/webapps/webconsole/
- In this file, change all instances of the following class:
com.smarts.consolidation.SmConsNotificationsApp.class
to the following class:
com.smarts.standard.SmStandardApp.class
- Save and close the globalConsoleWithMaps.html file.
Setting up the JNLP connection for a generic console
To set up a Java Network Launching Protocol (JNLP) connection for a generic console, do the following:
- Open the globalConsoleApp.jnlp file for editing using an appropriate editor. This file is located in the following directory:
<BASEDIR>/SAM/smarts/jakarta-tomcat-5.0.16/webapps/webconsole/
- In this file, change the following:
<application-desc main-class="com.smarts.consolidation.SmConsNotificationsApp" >
to the following:
<application-desc main-class="com.smarts.standard.SmStandardApp" >
- Save and close the globalConsoleApp.jnlp file.