<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JMX Monitoring app issue with Operation with null parameter in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128138#M10351</link>
    <description>&lt;P&gt;the problem is that while executing this operation from JConsole or any other client, I just need to leave it blank or null to retrieve everything. Hence this is weird but that something is either "" or "null" but none of them is working. &lt;/P&gt;

&lt;P&gt;I will check with Tibco guys as well if this is expected behaviour or a bug in the Mbean operation. However I am assuming that your code is designed to pass the blank parameter value and not to ignore the parameter completely if the value is blank or null. Is that the case.&lt;/P&gt;</description>
    <pubDate>Wed, 27 May 2015 01:36:54 GMT</pubDate>
    <dc:creator>ramanjain1983</dc:creator>
    <dc:date>2015-05-27T01:36:54Z</dc:date>
    <item>
      <title>JMX Monitoring app issue with Operation with null parameter</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128130#M10343</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I am trying to call an operation getActivities of Tibco BW which has a parameter name ProcessDefinition which is of string type. When I am executing this operation from Jconsole it is executing with default values which is actually blank or null. However when I have it defined in the config like this :&lt;/P&gt;

&lt;P&gt;&amp;lt;operation name="GetActivities" outputname="GetActivities"&amp;gt;&lt;BR /&gt;
  &amp;lt;parameter value="" type="string"/&amp;gt;&lt;BR /&gt;
&amp;lt;/operation&amp;gt;&lt;/P&gt;

&lt;P&gt;then it is not able to collect anything. I am getting the below message in index=jmx:-&lt;/P&gt;

&lt;P&gt;********* mbean_domain="com.tibco.bw",mbean_property_key="engine",mbean_property_name="SMEC_EAI_ISM_IM-SMEC_EAI_ISM_IM",GetActivities=""&lt;/P&gt;

&lt;P&gt;Looks like for some reason the blank is not going into the parameter value. However when I tried similar kind of mbean where the parameter value was Active , it worked like a charm.&lt;/P&gt;

&lt;P&gt;Is that expected behaviour or am I missing something.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:04:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128130#M10343</guid>
      <dc:creator>ramanjain1983</dc:creator>
      <dc:date>2020-09-28T20:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Monitoring app issue with Operation with null parameter</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128131#M10344</link>
      <description>&lt;P&gt;Do either of these configs work :&lt;/P&gt;

&lt;P&gt;Passing no parameter :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;operation name="GetActivities" outputname="GetActivities" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Entering a single blank space as the parameter value :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;operation name="GetActivities" outputname="GetActivities"&amp;gt;
  &amp;lt;parameter value=" " type="string"/&amp;gt;
&amp;lt;/operation&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 May 2015 00:37:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128131#M10344</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-05-27T00:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Monitoring app issue with Operation with null parameter</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128132#M10345</link>
      <description>&lt;P&gt;Thanks for answering.&lt;/P&gt;

&lt;P&gt;I have tried this before with no luck. &lt;BR /&gt;
If I try the first option which you said then I even do not get GetActivities field in the logs. Also it prints and error log with null.&lt;/P&gt;

&lt;P&gt;ERROR ExecProcessor - message from "python /data/apps/splunk/etc/apps/SPLUNK4JMX/bin/jmx.py" Error executing JMX stanza jmx://helloworld : null&lt;/P&gt;

&lt;P&gt;Second option, prints the same result as I mentioned in my original post. By the way this bean is TabularType and have Composite data in it.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 00:47:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128132#M10345</guid>
      <dc:creator>ramanjain1983</dc:creator>
      <dc:date>2015-05-27T00:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Monitoring app issue with Operation with null parameter</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128133#M10346</link>
      <description>&lt;P&gt;Can you post a screendump from JConsole showing the MBean defintion tab for the Operation (so I can see what the method signature looks like).&lt;/P&gt;

&lt;P&gt;Is it this from page 180 : &lt;A href="https://docs.tibco.com/pub/activematrix_businessworks/5.9.3_march_2012/pdf/tib_bw_administration.pdf"&gt;https://docs.tibco.com/pub/activematrix_businessworks/5.9.3_march_2012/pdf/tib_bw_administration.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 00:55:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128133#M10346</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-05-27T00:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Monitoring app issue with Operation with null parameter</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128134#M10347</link>
      <description>&lt;P&gt;&lt;IMG src="http://i60.tinypic.com/2vt5xqu.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 01:04:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128134#M10347</guid>
      <dc:creator>ramanjain1983</dc:creator>
      <dc:date>2015-05-27T01:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Monitoring app issue with Operation with null parameter</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128135#M10348</link>
      <description>&lt;P&gt;If visibility of this image is not that great, you can check at : &lt;A href="http://i60.tinypic.com/2vt5xqu.png"&gt;http://i60.tinypic.com/2vt5xqu.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 01:05:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128135#M10348</guid>
      <dc:creator>ramanjain1983</dc:creator>
      <dc:date>2015-05-27T01:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Monitoring app issue with Operation with null parameter</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128136#M10349</link>
      <description>&lt;P&gt;So it has to take a single String argument.&lt;/P&gt;

&lt;P&gt;Therefore you have to use the format :&lt;/P&gt;

&lt;P&gt;&amp;lt;operation name="GetActivities" outputname="GetActivities"&amp;gt;&lt;BR /&gt;
   &amp;lt;parameter value="something " type="string"/&amp;gt;&lt;BR /&gt;
 &amp;lt;/operation&amp;gt;&lt;/P&gt;

&lt;P&gt;Regarding what the "something" value can be , I don't know what the documented valid values are for this field , so you'll have to refer to the Tibco docs.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 01:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128136#M10349</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-05-27T01:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Monitoring app issue with Operation with null parameter</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128137#M10350</link>
      <description>&lt;P&gt;yes that is correct. Though i am using 5.12 version which is quite same for that operation.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 01:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128137#M10350</guid>
      <dc:creator>ramanjain1983</dc:creator>
      <dc:date>2015-05-27T01:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Monitoring app issue with Operation with null parameter</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128138#M10351</link>
      <description>&lt;P&gt;the problem is that while executing this operation from JConsole or any other client, I just need to leave it blank or null to retrieve everything. Hence this is weird but that something is either "" or "null" but none of them is working. &lt;/P&gt;

&lt;P&gt;I will check with Tibco guys as well if this is expected behaviour or a bug in the Mbean operation. However I am assuming that your code is designed to pass the blank parameter value and not to ignore the parameter completely if the value is blank or null. Is that the case.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 01:36:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128138#M10351</guid>
      <dc:creator>ramanjain1983</dc:creator>
      <dc:date>2015-05-27T01:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Monitoring app issue with Operation with null parameter</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128139#M10352</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;

&lt;P&gt;i'm also facing same issue. did this issue got resolved, if it is can you please share how did you make it work. &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 17:22:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMX-Monitoring-app-issue-with-Operation-with-null-parameter/m-p/128139#M10352</guid>
      <dc:creator>AzmathShaik</dc:creator>
      <dc:date>2017-09-13T17:22:53Z</dc:date>
    </item>
  </channel>
</rss>

