<?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: jms_ta app and Python vs Python3 in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425965#M52076</link>
    <description>&lt;P&gt;Splunk runs python 2.7 , try pointing to Splunk's shipped python 2.7 runtime.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jul 2018 00:27:31 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2018-07-04T00:27:31Z</dc:date>
    <item>
      <title>jms_ta app and Python vs Python3</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425962#M52073</link>
      <description>&lt;P&gt;I have the following setup:-&lt;BR /&gt;
Splunk Universal Forwarder 6.1.6&lt;BR /&gt;
OS - AIX&lt;BR /&gt;
jms_ta - 1.3.8&lt;BR /&gt;
python3&lt;BR /&gt;
Java 1.7.0&lt;/P&gt;

&lt;H2&gt;When we run the jms..py --scheme command, we see this &lt;/H2&gt;

&lt;P&gt;./splunk cmd /opt/bin/python3 ../etc/apps/jms_ta/bin/jms.py --scheme&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "../etc/apps/jms_ta/bin/jms.py", line 122, in &lt;BR /&gt;
    do_scheme()&lt;BR /&gt;
  File "../etc/apps/jms_ta/bin/jms.py", line 52, in do_scheme&lt;BR /&gt;
    run_java()&lt;BR /&gt;
  File "../etc/apps/jms_ta/bin/jms.py", line 71, in run_java&lt;BR /&gt;
    if (not os.environ.has_key('JAVA_HOME')):&lt;/P&gt;

&lt;H2&gt;AttributeError: '_Environ' object has no attribute 'has_key'&lt;/H2&gt;

&lt;H2&gt;When we restart splunk service we see this:&lt;/H2&gt;

&lt;P&gt;ERROR ModularInputs - Unable to initialize modular input "jms"  defined inside the app "jms_ta": Introspecting scheme=jms: Unable to run "python /opt/splunkforwarder/etc/apps/jms_ta/bin/jms.py --scheme": child failed to start: No such file or directory&lt;BR /&gt;
ERROR ModularInputs - Introspecting scheme=jms: Unable to run "python /opt/splunkforwarder/etc/apps/jms_ta/bin/jms.py --scheme": child failed to start: No such file or directory&lt;BR /&gt;
INFO  SpecFiles - Found external scheme definition for stanza "jms://" with 23 parameters: jndi_initialcontext_factory, jndi_provider_url, jndi_user, jndi_pass, destination_user, destination_pass, jms_connection_factory_name, durable, index_message_properties, index_message_header, message_selector, strip_newlines, init_mode, local_init_mode_resource_factory_impl, local_init_mode_resource_factory_params, message_handler_impl, message_handler_params, client_id, user_jndi_properties, browse_queue_only, browse_frequency, browse_mode, jvm_system_properties&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;JAVA_HOME&lt;BR /&gt;
SPLUNK_HOME&lt;BR /&gt;
and CLASSPATH are all set&lt;/P&gt;

&lt;P&gt;Any thoughts ??&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:19:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425962#M52073</guid>
      <dc:creator>rajanala</dc:creator>
      <dc:date>2020-09-29T20:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: jms_ta app and Python vs Python3</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425963#M52074</link>
      <description>&lt;P&gt;You should use python 2.7&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 21:56:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425963#M52074</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2018-07-03T21:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: jms_ta app and Python vs Python3</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425964#M52075</link>
      <description>&lt;P&gt;Thank you for the information.&lt;/P&gt;

&lt;P&gt;We are migrating the app to new AIX servers that can run python3 only. &lt;BR /&gt;
Is there any version of jms_ta compatible with python3 ?&lt;BR /&gt;
Appreciate any recommendations you might have.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 00:18:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425964#M52075</guid>
      <dc:creator>rajanala</dc:creator>
      <dc:date>2018-07-04T00:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: jms_ta app and Python vs Python3</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425965#M52076</link>
      <description>&lt;P&gt;Splunk runs python 2.7 , try pointing to Splunk's shipped python 2.7 runtime.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 00:27:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425965#M52076</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2018-07-04T00:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: jms_ta app and Python vs Python3</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425966#M52077</link>
      <description>&lt;P&gt;It's an universal forwarder which does not ship python &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; But they could install a full Splunk instance &lt;A href="https://www.splunk.com/page/previous_releases#ppcaix"&gt;https://www.splunk.com/page/previous_releases#ppcaix&lt;/A&gt; and have it run the input and forward the results .... if that is possible on this server &lt;CODE&gt;¯\_(ツ)_/¯&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 00:41:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425966#M52077</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-07-04T00:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: jms_ta app and Python vs Python3</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425967#M52078</link>
      <description>&lt;P&gt;Heavy Forwarder implied.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 00:49:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425967#M52078</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2018-07-04T00:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: jms_ta app and Python vs Python3</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425968#M52079</link>
      <description>&lt;P&gt;Got it working with Splunk Heavy Forwarder .&lt;BR /&gt;
Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 22:44:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425968#M52079</guid>
      <dc:creator>rajanala</dc:creator>
      <dc:date>2018-07-05T22:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: jms_ta app and Python vs Python3</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425969#M52080</link>
      <description>&lt;P&gt;Thank you.&lt;BR /&gt;
Worked after switching to Splunk Heavy Forwarder&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 22:46:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425969#M52080</guid>
      <dc:creator>rajanala</dc:creator>
      <dc:date>2018-07-05T22:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: jms_ta app and Python vs Python3</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425970#M52081</link>
      <description>&lt;P&gt;Hi @rajanala, please accept the answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 23:00:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/jms-ta-app-and-Python-vs-Python3/m-p/425970#M52081</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-07-05T23:00:55Z</dc:date>
    </item>
  </channel>
</rss>

