We need to make sure that JON 2.4 works the latest supported versions of EWS:
Check we can monitor/manage EWS as expected across all of its supported platforms using the necessary plugin pack.
I tested the following on Windows 2003 Server, Mac OS X, and Fedora 12,
* discovery of server and services
* metric collection
* application deployment
* executing resource operations (starting/stopping server)
Everything works as expected except the start operation for the tomcat server on Windows. I believe this may be related to bug 580931 in that EWS 1.0.1 on Windows uses tomcat6.exe to start tomcat instead of the more commonly used startup.bat. For bug 580931 the tomcat plugin discovery component was updated to look for the tomcat6.exe process, but it could very well be that the usage of tomcat6.exe breaks the start operation.
I am marking this bug verified and opening a separate bug to track the problem with the start operation.
Upon further investigation I realized that the start operation for the tomcat server on windows is in fact starting tomcat, but the rhq agent is unable to establish a connection to tomcat and verify that the server has started; thus, the outcome of the operation is reported as a failure.
The tomcat plugin uses startup.bat to start the tomcat server. Since EWS on Windows uses tomcat6.exe I configured it (via tomcat6w.exe) to set the jmx system properties needed for the agent to connect to the tomcat server. When starting via startup.bat the jmx system properties were not getting set. startup.bat delegates to catalina.bat so I set the properties there. The system properties that I set are as follows,
Mass-closure of verified bugs against JON.