<?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 Messaging Modular Input: How to configure the app and index messages from my service bus in azure? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187606#M18966</link>
    <description>&lt;P&gt;Hi , &lt;BR /&gt;
The massaging platform is a queue in the service bus in azure cloud platform. &lt;BR /&gt;
i have a queue which i want to index the data inside it. &lt;BR /&gt;
the splunk is version 6.1 ans being installed on linux server Ubuntu 12.04.2 LTS.&lt;BR /&gt;
The JMS i'v installed is from the link below: &lt;A href="https://apps.splunk.com/app/1317/#/overview"&gt;https://apps.splunk.com/app/1317/#/overview&lt;/A&gt;&lt;BR /&gt;
that's 1.3.7. &lt;BR /&gt;
in order to use the app i used to follow the link below: &lt;A href="http://azure.microsoft.com/en-us/documentation/articles/service-bus-java-how-to-use-jms-api-amqp/"&gt;http://azure.microsoft.com/en-us/documentation/articles/service-bus-java-how-to-use-jms-api-amqp/&lt;/A&gt;  and build just the ConnectionURL&lt;BR /&gt;
also added the jars described there. &lt;/P&gt;</description>
    <pubDate>Wed, 21 Jan 2015 08:50:12 GMT</pubDate>
    <dc:creator>shayfa</dc:creator>
    <dc:date>2015-01-21T08:50:12Z</dc:date>
    <item>
      <title>JMS Messaging Modular Input: How to configure the app and index messages from my service bus in azure?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187604#M18964</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;
I am trying to use your splunk-app called "JMS Messaging Modular Input"&lt;BR /&gt;
so till now i only entered the JMS Connection Factory JNDI Name but the data is not being indexed. &lt;BR /&gt;
the splunk logs shows the following: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01-20-2015 11:57:59.909 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py" Stanza jms://queue/ClientLogs:clientlogs : Error connecting : javax.naming.NoInitialContextException: Cannot instantiate class:  [Root exception is java.lang.ClassNotFoundException: ]

01-20-2015 11:57:59.910 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

01-20-2015 11:57:59.910 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

01-20-2015 11:57:59.910 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at javax.naming.InitialContext.init(Unknown Source)

01-20-2015 11:57:59.910 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at javax.naming.InitialContext.(Unknown Source)

01-20-2015 11:57:59.910 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.splunk.modinput.jms.JMSModularInput$MessageReceiver.connect(Unknown Source)

01-20-2015 11:57:59.910 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.splunk.modinput.jms.JMSModularInput$MessageReceiver.run(Unknown Source)

01-20-2015 11:57:59.911 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py" Caused by: java.lang.ClassNotFoundException:

01-20-2015 11:57:59.911 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at java.lang.Class.forName0(Native Method)

01-20-2015 11:57:59.911 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at java.lang.Class.forName(Unknown Source)

01-20-2015 11:57:59.911 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)

01-20-2015 11:57:59.911 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        ... 6 more
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I read this error, i understand that the "JNDI Initial Context Factory Name" is the missing thing, but i have no idea what I should write there. I searched for explanations through the web, but didn't a successful way to configure it and make it work. &lt;/P&gt;

&lt;P&gt;It will be really appreciated if you can assist me somehow.&lt;BR /&gt;
Thanks ! &lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 17:30:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187604#M18964</guid>
      <dc:creator>shayfa</dc:creator>
      <dc:date>2015-01-20T17:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: JMS Messaging Modular Input: How to configure the app and index messages from my service bus in azure?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187605#M18965</link>
      <description>&lt;P&gt;First off all , for folks to help out in the best manner possible , you need to more accurately describe your use case.&lt;/P&gt;

&lt;P&gt;What Messaging platform are you trying to connect to ?&lt;BR /&gt;
What OS , version of Splunk , version of the JMS Mod Input ?&lt;BR /&gt;
What steps have you performed to setup the JMS Mod Input stanza , copy over any dependent jar files etc.. ?&lt;BR /&gt;
Have you followed all the steps in the trouble shooting guide in the docs : &lt;A href="https://apps.splunk.com/app/1317/#/documentation"&gt;https://apps.splunk.com/app/1317/#/documentation&lt;/A&gt;   ?&lt;/P&gt;

&lt;P&gt;Also , you are going to struggle if you don't have basic Java skills , familiarity with basic java and JMS concepts.Is there a developer  or admin on your team who is familiar with java/jms  to help expedite your setup ?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 17:38:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187605#M18965</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-01-20T17:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: JMS Messaging Modular Input: How to configure the app and index messages from my service bus in azure?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187606#M18966</link>
      <description>&lt;P&gt;Hi , &lt;BR /&gt;
The massaging platform is a queue in the service bus in azure cloud platform. &lt;BR /&gt;
i have a queue which i want to index the data inside it. &lt;BR /&gt;
the splunk is version 6.1 ans being installed on linux server Ubuntu 12.04.2 LTS.&lt;BR /&gt;
The JMS i'v installed is from the link below: &lt;A href="https://apps.splunk.com/app/1317/#/overview"&gt;https://apps.splunk.com/app/1317/#/overview&lt;/A&gt;&lt;BR /&gt;
that's 1.3.7. &lt;BR /&gt;
in order to use the app i used to follow the link below: &lt;A href="http://azure.microsoft.com/en-us/documentation/articles/service-bus-java-how-to-use-jms-api-amqp/"&gt;http://azure.microsoft.com/en-us/documentation/articles/service-bus-java-how-to-use-jms-api-amqp/&lt;/A&gt;  and build just the ConnectionURL&lt;BR /&gt;
also added the jars described there. &lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 08:50:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187606#M18966</guid>
      <dc:creator>shayfa</dc:creator>
      <dc:date>2015-01-21T08:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: JMS Messaging Modular Input: How to configure the app and index messages from my service bus in azure?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187607#M18967</link>
      <description>&lt;P&gt;I have not used Azure Service Bus , but I am reasonably adept at following documentation , so lets give this a go.&lt;/P&gt;

&lt;P&gt;Based on this : &lt;A href="http://azure.microsoft.com/en-us/documentation/articles/service-bus-java-how-to-use-jms-api-amqp/" target="_blank"&gt;http://azure.microsoft.com/en-us/documentation/articles/service-bus-java-how-to-use-jms-api-amqp/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 1&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Obtain these 4 jar files and place them in SPLUNK_HOME/etc/apps/jms_ta/bin/lib.The Azure doc mentions where to obtain them.&lt;/P&gt;

&lt;P&gt;geronimo-jms_1.1_spec-1.0.jar&lt;BR /&gt;
qpid-amqp-1-0-client-[version].jar&lt;BR /&gt;
qpid-amqp-1-0-client-jms-[version].jar&lt;BR /&gt;
qpid-amqp-1-0-common-[version].jar&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 2&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Create a properties file-based JNDI Provider for Azure. Call the file &lt;STRONG&gt;servicebus.properties&lt;/STRONG&gt; and save it somewhere on your filesystem.&lt;/P&gt;

&lt;P&gt;File contents. Replace the "[your_*]" items as per the Azure documentation&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# servicebus.properties - shayfa's JNDI configuration
connectionfactory.MY_SBCF = amqps://[your_username]:[your_urlencoded_password]@[your_namespace].servicebus.windows.net

# Register your queue in JNDI
queue.MY_QUEUE = [your_queue_name]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Step 3&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Now you are ready to setup your JMS stanza in Splunk.&lt;/P&gt;

&lt;P&gt;The core connection settings might look something like this :&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/25539-screen+shot+2015-01-21+at+4.47.23+pm.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:42:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187607#M18967</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2020-09-28T18:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: JMS Messaging Modular Input: How to configure the app and index messages from my service bus in azure?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187608#M18968</link>
      <description>&lt;P&gt;OK it works ! &lt;BR /&gt;
Thanks you &lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2015 10:23:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-How-to-configure-the-app-and-index/m-p/187608#M18968</guid>
      <dc:creator>shayfa</dc:creator>
      <dc:date>2015-01-21T10:23:59Z</dc:date>
    </item>
  </channel>
</rss>

