VMware Cloud Community
paulhobbs
Contributor
Contributor

Auto-discovery of JBoss running under JavaService

Hi there,

I have installed Hyperic 3.2.3 on a Windows 2003 server to monitor several servers/processes/applications running on the same machine. It is successfully able to auto-discover Oracle 10g, SQL Server 2005 and Apache (plus a few other things I am not interested in monitoring).

But the one thing I really need to monitor is a J2EE application deployed on JBoss/Tomcat (JBoss 4.0.5 & Tomcat 5.5). JBoss has been configured to run as a Windows Service using the JavaService wrapper (http://javaservice.objectweb.org/index.html). I found this note on the Hyperic JIRA site: http://jira.hyperic.net/browse/HHQ-913

This seems to describe exactly the issue I am having - Hyperic won't auto-discover JBoss while it is running as JavaService. When I stop the Windows Service and restart JBoss via a command prompt (D:\JBoss_Tomcat\bin\run.bat), Hyperic auto-discovers JBoss and Tomcat perfectly.

How can I get Hyperic to auto-discover JBoss when it runs under JavaService?

Cheers,

Paul
0 Kudos
2 Replies
paulhobbs
Contributor
Contributor

As an aside, I did some Googling and found some posts which suggested that JMX needed to be enabled. I am pretty sure that it is, but if someone can give me a tip on how to confirm this I can double check.
0 Kudos
paulhobbs
Contributor
Contributor

Implemented for 3.0.6 and 3.1. The plugin makes the following two assumptions:
- JavaService wrapper is named 'jboss.exe'
- server/ config is 'default'
0 Kudos