To do this, you must create an html file that launches SmStandardApp instead of SmConsNotificationsApp. Also, if you want to see alarms you must add the property to
enable subscription to the properties file. These changes are done to the webconsole.properties file found in the following location:
<BASEDIR>\SAM\smarts\jakarta-tomcat-5.0.16\webapps\webconsole
The following sections present examples of these changes.
Changing the webconsole.properties file
Change the webconsole.properties file as shown in the following example:
# This is a Java Properties file, for the GUI running as an Applet.
# Leading and trailing blanks are stripped from parameter values. # If you have a property which you want to have leading or trailing blanks, # enclose that parameter in double quotes, # e.g.: # some.parameter=" I am a value with leading and trailing blanks "com.smarts.viewer.hideToolbarText=true
com.smarts.OemCustomization=NONE
com.smarts.securityEnabled=true
com.smarts.subscriptionEnabled=true
Changing the html file
The html file used to launch the Generic Console must be in the following directory:
<BASEDIR>\SAM\smarts\jakarta-tomcat-5.0.16\webapps\webconsole
The html file should be as in the following example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Web Console -- Generic(?)</TITLE>
<BODY bgcolor=white> <APPLET CODE = com.smarts.standard.SmStandardApp.class ARCHIVE = "masterpiece.jar,jcommon-0.7.0.jar,jfreechart-0.9.3.jar,tsgdtj50.jar,tsgetj50.jar,tsglt50.jar,tsgltc50.jar,tsgmtj50.jar" WIDTH = "100%" HEIGHT = "100%"><PARAM NAME = "type" VALUE="applet">
<PARAM NAME = "scriptable" VALUE="false">
<PARAM NAME = "com.smarts.propertiesFile" VALUE ="webconsole.properties">
</APPLET>
</BODY>
</HTML>