From -> Configuring Java Virtual Machines for SNMP
Configuring Apache Tomcat (tested on version 7.0)
1.
| Open Tomcat configuration: Start >All Programs > Apache Tomcat > Configure Tomcat. |
2.
| Open the Java tab, and then add the following lines to the Java Options box: |
3.
| Click Apply. |
4.
| Go to the Windows Services console. |
5.
| Right-click the Apache Tomcat service. |
6.
| Click Properties. |
7.
| Click the Log On tab, and then select Log on as this account. |
8.
| Click Browse, find the user “Administrator” and type the Administrator password twice. |
9.
| Click OK. |
10.
| In the Tomcat Configuration window, return to the General tab, and then start the service. |
1.
| Open the file %TOMCAT_HOME%\bin\catalina.bat and add the following lines into the Debug, Run and Start sections (where%TOMCAT_HOME% is the path to your Tomcat installation):
set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.snmp.port=1161" |
2.
| Run %TOMCAT_HOME%\bin\startup.batto start Tomcat. |
1.
| Open$TOMCAT_HOME/bin/catalina.shand then add the following lines into Debug, Run and Start sections (where%TOMCAT_HOME% is the path to your Tomcat installation): |
2.
| Run $TOMCAT_HOME/bin/startup.shcommandto start Tomcat. |