Installation Notes

 

These are the changes made in the configuration file of the Tomcat Web Server (in tomcat/conf/server.xml file) to load the applets. The applets can use any underlying protocol for SNMP communication. The reference implementations for TCP/IP and HTTP are provided. TCP_PROTOCOL uses TCP/IP connection and forwards the SNMP request to SAS. HTTP_PROTOCOL uses HTTP protocol and forward the request to the HttpSnmpGWServlet loaded with the web server.

  1. Change the default index page.

< Context path="/examples" docBase="webapps/examples"

crossContext="false" debug="0" reloadable="true" >

</ Context >

 

is changed to

 

Context path=""docBase="../" crossContext="false"

debug="0" reloadable="true" >

</Context >

  1. Change the port number.

< Connector

className="org.apache.tomcat.service.PoolTcpConnector"

<Parameter name="handler"

value="org.apache.tomcat.service.http.HttpConnectionHandler"/>

<Parameter name="port" value="8080" />

</Connector >

 

is changed to

 

<Connector

className="org.apache.tomcat.service.PoolTcpConnector"

<Parameter name="handler"

value="org.apache.tomcat.service.http.HttpConnectionHandler"/>

<Parameter name="port" value="8282"/>

</Connector>

 

The port at which the web-server is started is changed to 8282 from 8080.

  1. Log the error messages.

< Logger name="tc_log" verbosityLevel = "INFORMATION" />

 

is changed to

 

< Logger name="tc_log" path="logs/tomcat.log"

verbosityLevel = "INFORMATION" />

 

This is to redirect all the error messages to the tomcat.log file in the logs directory.

 

 



Copyright © 1996-2006, AdventNet Inc. All Rights Reserved.