Skip Menu |

This queue is for tickets about the jmx4perl CPAN distribution.

Report information
The Basics
Id: 97868
Status: open
Priority: 0/
Queue: jmx4perl

People
Owner: Nobody in particular
Requestors: amitsapre [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: JMX4Perl not able to identify Jboss 7.1.1 AS
Date: Fri, 8 Aug 2014 13:45:06 +0530
To: bug-jmx4perl [...] rt.cpan.org
From: Amit Sapre <amitsapre [...] gmail.com>
Hi, I configured JBOSS 7.1.1 AS as standalone server & deployed jolokia war file. from web url http://localhost:8080/jolokia I get following output {"timestamp":1407485447,"status":200,"request":{"type":"version"},"value":{"protocol":"7.2","config":{"detectorOptions":"{}","canonicalNaming":"true","maxCollectionSize":"1000","includeStackTrace":"true","historyMaxEntries":"10","agentId":"164.99.134.180-82288-3fd137-servlet","debug":"false","dispatcherClasses":"org.jolokia.jsr160.Jsr160RequestDispatcher","maxDepth":"15","maxObjects":"0","discoveryEnabled":"false","serializeException":"false","agentType":"servlet","debugMaxEntries":"100"},"agent":"1.2.2","info":{"product":"jboss","vendor":"RedHat","version":"7.1.1.Final"}}} But while accessing from JMX4Perl, I get following :- $jmx->product()->name() ==> "unknown" $jmx->product()->vendor() throws error Not a JSR77 Handler and no _try_vendor method at <perllibpath>/JMX/Jmx4Perl/Product/BaseHandler.pm line 137. $jmx->product()->version() returns null value. Can somebody check & confirm if something is wrong in the way I am accessing ? Amit
The mechanism how Jmx4Perl detects servers (by client side probing) predates the Jolokia internal detection mechanism and has not be yet updated. Hence it can easily be the case that the information might differ or that jmx4Perl can't detect a sercer Jolokia can.

There is an open issue for this at GitHub: https://github.com/rhuss/jmx4perl/issues/39 and is planned for release 1.12
Subject: Re: [rt.cpan.org #97868] JMX4Perl not able to identify Jboss 7.1.1 AS
Date: Fri, 8 Aug 2014 14:11:36 +0530
To: bug-jmx4perl [...] rt.cpan.org
From: Amit Sapre <amitsapre [...] gmail.com>
Thanks for the clarification, Could you share a tentative time frame when 1.12 version will be available ? On Fri, Aug 8, 2014 at 1:53 PM, Roland Huss via RT <bug-jmx4perl@rt.cpan.org Show quoted text
> wrote:
Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=97868 > > > The mechanism how Jmx4Perl detects servers (by client side probing) > predates > the Jolokia internal detection mechanism and has not be yet updated. Hence > it > can easily be the case that the information might differ or that jmx4Perl > can't > detect a sercer Jolokia can. > > There is an open issue for this at GitHub: > https://github.com/rhuss/jmx4perl/issues/39 and is planned for release > 1.12 > >
Sorry not, I have no date yet. I will release 1.11 this weekend, after that I'm on vacations. So please don't expect it to happen before september. So I guess it will be mid or end of september. No promises, though.

If you need it more urgent, please consider to submit a pull request. 

Or, if all you need is to identify the server for JBoss 7.1.1, you might use a VERSION request via JMX::Jmx4Perl (i.e. sending a ew JMX::Jmx4Perl::Request({type => VERSION}) and examine the response on your own (which holds the server detected information).