pcp
[Top] [All Lists]

[performancecopilot/parfait] parfait-agent initializes before main app s

To: performancecopilot/parfait <parfait@xxxxxxxxxxxxxxxxxx>
Subject: [performancecopilot/parfait] parfait-agent initializes before main app so JMX MBeans do not exist (#32)
From: rwallinterset <notifications@xxxxxxxxxx>
Date: Fri, 26 Aug 2016 12:14:40 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=github.com; h=from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=yi6ALag4YKWmvCvjcH2Pe4NiX+M=; b=PvnSMKGveq+vH2n5 J+uR5zHyApUKfxwssA3WirPBDjlCK5JnoT2Naw9UPl6qf1otDGoHPmppdHs9DApF zW6i/yk076EZ5n2ZbIk1UCBTDQwSGHmjXwXVtdhuxFVrZjv1rLiIy2KjRhsBGnCN iJsLbc7sjRGWgMuBqMlI2OmTDsc=
List-archive: https://github.com/performancecopilot/parfait
List-id: performancecopilot/parfait <parfait.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b60aa9fc6959afc98b100ab135623fde4d20605cc592cf0000000113d8572092a169ce0a57c254@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b60aa9fc6959afc98b100ab135623fde4d20605cc592cf0000000113d8572092a169ce0a57c254@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0ItoO2LjDKymbuUE5oEkSF1YRPzgNEks5qjzsggaJpZM4JuYXL>
Reply-to: performancecopilot/parfait <reply+00bd08b60aa9fc6959afc98b100ab135623fde4d20605cc592cf0000000113d8572092a169ce0a57c254@xxxxxxxxxxxxxxxx>

I have been trying to figure out how to use parfait and I thought I had it all figured out but I can't get my custom jmx mbeans to be registered. I am currently running parfait using the javaagent argument when calling my app. After lots of messing around I think the issue is that parfait is being loaded before my app initializes so the JMX mbeans do not exist at the time time parfait is initialized. What am I doing wrong?

I also tried to figure out how the JMXconnector works as I thought that might be a better way to go but I can't figure out how to configure the proxy.xml to point it at a specific java app.

Any help would be appreciated.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<Prev in Thread] Current Thread [Next in Thread>