I'm trying to run Hyperic Agent 4.2.0 on 64-bit Windows 2008 R1 w/ JBoss 4.2.3 running as a service. I've hit a few issues and auto-discovery is not working. First, the process lookup for a service appears to be case-sensitive. The JBossPlugin looks for a process called "jboss", but mine was called JBoss.exe so it was not finding anything. I renamed the executable and adjusted my service registry values to make it lowercase and now it's finding it but I get the following errors:
2010-01-29 12:51:13,628 DEBUG [Thread-1] [AutoScan] Running AutoServerDetector for: JBoss 3.2
2010-01-29 12:51:13,691 DEBUG [Thread-1] [JBossDetector] Unable to determine exe for pid=3412
2010-01-29 12:51:13,691 DEBUG [Thread-1] [AutoScan] Running AutoServerDetector for: JBoss 4.0
2010-01-29 12:51:13,753 DEBUG [Thread-1] [JBossDetector] Unable to determine exe for pid=3412
2010-01-29 12:51:13,753 DEBUG [Thread-1] [AutoScan] Running AutoServerDetector for: JBoss 4.2
2010-01-29 12:51:13,800 DEBUG [Thread-1] [JBossDetector] Unable to determine exe for pid=3412
2010-01-29 12:51:13,800 DEBUG [Thread-1] [AutoScan] Running AutoServerDetector for: JBoss 4.3
2010-01-29 12:51:13,863 DEBUG [Thread-1] [JBossDetector] Unable to determine exe for pid=3412
2010-01-29 12:51:13,863 DEBUG [Thread-1] [AutoScan] Running AutoServerDetector for: JBoss 5.0
2010-01-29 12:51:13,910 DEBUG [Thread-1] [JBossDetector] Unable to determine exe for pid=3412
This seems to indicate that ServerDetector.getProcExe and SIGAR getProcExe are not able to determine the executable. I wrote a simple test class that emulates the code they use and it appears to work fine. The agent is also running as the same user that I used to run the test and the user has administrative privileges. What else can I do?
2010-01-29 12:51:13,628 DEBUG [Thread-1] [AutoScan] Running AutoServerDetector for: JBoss 3.2
2010-01-29 12:51:13,691 DEBUG [Thread-1] [JBossDetector] Unable to determine exe for pid=3412
2010-01-29 12:51:13,691 DEBUG [Thread-1] [AutoScan] Running AutoServerDetector for: JBoss 4.0
2010-01-29 12:51:13,753 DEBUG [Thread-1] [JBossDetector] Unable to determine exe for pid=3412
2010-01-29 12:51:13,753 DEBUG [Thread-1] [AutoScan] Running AutoServerDetector for: JBoss 4.2
2010-01-29 12:51:13,800 DEBUG [Thread-1] [JBossDetector] Unable to determine exe for pid=3412
2010-01-29 12:51:13,800 DEBUG [Thread-1] [AutoScan] Running AutoServerDetector for: JBoss 4.3
2010-01-29 12:51:13,863 DEBUG [Thread-1] [JBossDetector] Unable to determine exe for pid=3412
2010-01-29 12:51:13,863 DEBUG [Thread-1] [AutoScan] Running AutoServerDetector for: JBoss 5.0
2010-01-29 12:51:13,910 DEBUG [Thread-1] [JBossDetector] Unable to determine exe for pid=3412
This seems to indicate that ServerDetector.getProcExe and SIGAR getProcExe are not able to determine the executable. I wrote a simple test class that emulates the code they use and it appears to work fine. The agent is also running as the same user that I used to run the test and the user has administrative privileges. What else can I do?