23.2 Configuring NNMi to stop reporting the ovjboss version number
The Error 404 and Not Found error messages are HTTP standard responses indicating that a client was able to communicate with a server but the server could not find what was requested. An NNMi management server might generate an Error 404 message that includes ovjboss information.
To prevent an NNMi management server from reporting ovjboss information:
Stop NNMi by running the following command:
ovstop
Save the server.xml file in a directory other than the directory shown below:
Windows: %NnmInstallDir%nmsas\common\deploy\jbossweb.sar\server.xml
Linux: $NnmInstallDir/nmsas/common/deploy/jbossweb.sar/server.xml
Edit the following file:
Windows: %NnmInstallDir%nmsas\common\deploy\jbossweb.sar\server.xml
Linux: $NnmInstallDir/nmsas/common/deploy/jbossweb.sar/server.xml
Look for the following line in this file:
<Host name="localhost" ...
Add the following attribute immediately before the last > (greater than) symbol:
errorReportValveClass="com.hp.ov.nms.as.server.tomcat.NmsErrorReportValve"
Example:
<Host name="localhost" workDir="${nmsas.product.dir.workDir}/web" errorReportValveClass="com.hp.ov.nms.as.server.tomcat.NmsErrorReportValve">
Start NNMi by running the following command:
ovstart
Test the NNMi management server to make sure it no longer generates Error 404 error messages that report ovjboss information.