Hi, I got back to looking at this. I am doing this on Windows by the way.
I turned on debug in the rhq agent and ran discover with the jppf driver and node (two processes that are required) running. I have JON, rhq-agent and the JPPF processes running on localhost with their ports set to not conflict. In the log file the following appears (actually over and over):
2011-05-19 13:09:58,330 DEBUG [RHQ Agent Prompt Input Thread] (org.rhq.core.system.ProcessInfo)- Unexpected error occurred while looking up info for [java.exe] process with pid [7672] - call to getProcCredName failed. Did the process die? Cause: org.hyperic.sigar.SigarException: The trust relationship between this workstation and the primary domain failed.
PID 7672 is the Java process that is one of the JPPF processes. In addtion in the rhq-agent console after running discovery -v I see the following:
JMX.JMX Server: Starting discovery... JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]] , process=[process: pid=[6812], name=[C:\Program FIles\Java\jdk1.6.0_25\jre\bin\java.exe], ppid=[7824]] JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]] , process=[process: pid=[7672], name=[C:\Program FIles\Java\jdk1.6.0_25\bin\java.exe], ppid=[4104]] JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]] , process=[process: pid=[7824], name=[C:\Program FIles\Java\jdk1.6.0_25\jre\bin\java.exe], ppid=[5392]] JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]] , process=[process: pid=[4172], name=[C:\Program Files\Java\jdk1.6.0_25\bin\java.exe], ppid=[5208]] JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]] , process=[process: pid=[5392], name=[C:\Program FIles\Java\jdk1.6.0_25\bin\java.exe], ppid=[6680]] JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]] , process=[process: pid=[4292], name=[C:\Program Files\Java\jdk1.6.0_25\bin\java.exe], ppid=[5696]] JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]] , process=[process: pid=[2900], name=[C:\Program FIles\Java\jdk1.6.0_25\jre\bin\java.exe], ppid=[7672]] JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]] , process=[process: pid=[7032], name=[C:\Program FIles\Java\jdk1.6.0_25\jre\bin\java.exe], ppid=[2900]] JMX.JMX Server: Done.
7672 is the second entry.
I've googled the getProcCredName and the hyperic exception but haven't found anything that I understand.
Any advice from anyone would be appreciated.
Thanks, John Holland On 5/13/2011 1:06 PM, Ian Springer wrote:
Does the RHQ Agent discover a JMX Server Resource corresponding to JPPF java process or is not even discovered? If it's not discovered, check that the PPPF process looks like in the process table. If it looks like "java ...", it should get discovered by the jmx plugin. If not you might need to turn on DEBUG logging on the Agent or connect to it with a JPDA debugger to figure out why it's not getting discovered.
Once it is discovered, you'll need to import it into inventory and then you may potentially need to edit some of the Resource's connection properties under its Inventory tab.
On 05/13/2011 09:17 AM, John Holland wrote:
Hello,
I am working on a project that is using JPPF to do some intensive processing. I found that JPPF is a JMX server under the hood and I would like to connect it to JON (or RHQ). I'm not having any luck with this. I followed some instructions to connect Eclipse as a JMX server and had no problems with that. In that case I was using the Java 5 template for a JMX server and editing the URL. The JPPF conf files give properties and default values for JMX and RMI ports and host to connect to but JON does not report that a connection has been made.
If anyone has any experience with this and can give me any clues that would be great.
Thanks, John _______________________________________________ rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users