<?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: Trouble installing Splunk_TA_jmx Add-on: Has anyone seen the following error? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-installing-Splunk-TA-jmx-Add-on-Has-anyone-seen-the/m-p/449568#M78091</link>
    <description>&lt;P&gt;I found my own issue here. It seems that you have to have Java installed on the Heavy Forwarder for this add-on to work.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Sep 2018 18:57:38 GMT</pubDate>
    <dc:creator>robgora_deloitt</dc:creator>
    <dc:date>2018-09-05T18:57:38Z</dc:date>
    <item>
      <title>Trouble installing Splunk_TA_jmx Add-on: Has anyone seen the following error?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-installing-Splunk-TA-jmx-Add-on-Has-anyone-seen-the/m-p/449566#M78089</link>
      <description>&lt;P&gt;I have the Splunk_TA_jmx add-on installed on a Heavy Forwarder but am getting the following error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Introspecting scheme=jmx: script running failed (exited with code 1).
Unable to initialize modular input "jmx" defined inside the app "Splunk_TA_jmx": Introspecting scheme=jmx: script running failed (exited with code 1).
Scheme "jmx" is not initialized.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I ran the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sudo -u splunk /opt/splunk/bin/splunk cmd splunkd print-modinput-config jmx |/opt/splunk/bin/splunk cmd /opt/splunk/bin/python /opt/splunk/etc/apps/Splunk_TA_jmx/bin/jmx.py
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and this is what I got:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Introspecting scheme=jmx: script running failed (exited with code 1).
Unable to initialize modular input "jmx" defined inside the app "Splunk_TA_jmx": Introspecting scheme=jmx: script running failed (exited with code 1).
Scheme "jmx" is not initialized.
Traceback (most recent call last):
  File "/opt/splunk/etc/apps/Splunk_TA_jmx/bin/jmx.py", line 136, in 
    token = ET.fromstring(xml_str).find('session_key').text
  File "/opt/splunk/lib/python2.7/xml/etree/ElementTree.py", line 1312, in XML
    return parser.close()
  File "/opt/splunk/lib/python2.7/xml/etree/ElementTree.py", line 1671, in close
    self._raiseerror(v)
  File "/opt/splunk/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any thoughts on this?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trouble-installing-Splunk-TA-jmx-Add-on-Has-anyone-seen-the/m-p/449566#M78089</guid>
      <dc:creator>robgora_deloitt</dc:creator>
      <dc:date>2020-09-29T21:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble installing Splunk_TA_jmx Add-on: Has anyone seen the following error?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-installing-Splunk-TA-jmx-Add-on-Has-anyone-seen-the/m-p/449567#M78090</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Have you installed Java Run time ? Please see prerequisite here &lt;A href="http://docs.splunk.com/Documentation/AddOns/released/JMX/Hardwareandsoftwarerequirements#Prerequisites"&gt;http://docs.splunk.com/Documentation/AddOns/released/JMX/Hardwareandsoftwarerequirements#Prerequisites&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If JRE is installed then you can run below command to check introspection scheme&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk cmd python /opt/splunk/etc/apps/Splunk_TA_jmx/bin/jmx.py --scheme
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Sep 2018 18:38:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trouble-installing-Splunk-TA-jmx-Add-on-Has-anyone-seen-the/m-p/449567#M78090</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-09-05T18:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble installing Splunk_TA_jmx Add-on: Has anyone seen the following error?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-installing-Splunk-TA-jmx-Add-on-Has-anyone-seen-the/m-p/449568#M78091</link>
      <description>&lt;P&gt;I found my own issue here. It seems that you have to have Java installed on the Heavy Forwarder for this add-on to work.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 18:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trouble-installing-Splunk-TA-jmx-Add-on-Has-anyone-seen-the/m-p/449568#M78091</guid>
      <dc:creator>robgora_deloitt</dc:creator>
      <dc:date>2018-09-05T18:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble installing Splunk_TA_jmx Add-on: Has anyone seen the following error?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-installing-Splunk-TA-jmx-Add-on-Has-anyone-seen-the/m-p/449569#M78092</link>
      <description>&lt;P&gt;Hi @robgora_deloitte,&lt;/P&gt;

&lt;P&gt;It seems like you have found an answer to your question. Would you mind approving your answer for me to help guide future users?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 19:48:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trouble-installing-Splunk-TA-jmx-Add-on-Has-anyone-seen-the/m-p/449569#M78092</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-09-05T19:48:02Z</dc:date>
    </item>
  </channel>
</rss>

