<?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: Unable to read IBM Websphere MQ with error &amp;quot;call failed with compcode '2' ('MQCC_FAILED') reason '2017' ('MQRC_HANDLE_NOT_AVAILABLE')&amp;quot; in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-Unable-to-read-IBM-Websphere-MQ-with/m-p/273855#M31856</link>
    <description>&lt;P&gt;From the error it looks like you've run out of available handles. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.tro.doc/q040900_.htm"&gt;http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.tro.doc/q040900_.htm&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/1539826/wsmq-queue-limit"&gt;http://stackoverflow.com/questions/1539826/wsmq-queue-limit&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Are you seeing any errors on the mq sever?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2016 14:46:57 GMT</pubDate>
    <dc:creator>Jeremiah</dc:creator>
    <dc:date>2016-02-09T14:46:57Z</dc:date>
    <item>
      <title>JMS Messaging Modular Input: Unable to read IBM Websphere MQ with error "call failed with compcode '2' ('MQCC_FAILED') reason '2017' ('MQRC_HANDLE_NOT_AVAILABLE')"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-Unable-to-read-IBM-Websphere-MQ-with/m-p/273854#M31855</link>
      <description>&lt;P&gt;After following  &lt;A href="http://blogs.splunk.com/2013/04/11/splunking-websphere-mq-queues-and-topics/"&gt;http://blogs.splunk.com/2013/04/11/splunking-websphere-mq-queues-and-topics/&lt;/A&gt;, I am unable to read from the queue. I have the following error. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py" Stanza jms://queue/DEVSplunkQueue : Error browsing queue : com.ibm.msg.client.jms.DetailedResourceAllocationException: JMSWMQ2008: Failed to open MQ queue 'TEST.DVL.EIL.EEH.SPLUNK.TEST'. JMS attempted to perform an MQOPEN, but WebSphere MQ reported an error. Use the linked exception to determine the cause of this error. Check that the specified queue and queue manager are defined correctly.
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.ibm.msg.client.wmq.common.internal.Reason.reasonToException(Reason.java:588)
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:236)
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:128)
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.ibm.msg.client.wmq.internal.WMQConsumerShadow.initialize(WMQConsumerShadow.java:856)
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.ibm.msg.client.wmq.internal.WMQSyncConsumerShadow.initialize(WMQSyncConsumerShadow.java:133)
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.ibm.msg.client.wmq.internal.WMQQueueEnumeration.(WMQQueueEnumeration.java:207)
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.ibm.msg.client.wmq.internal.WMQQueueBrowser.getEnumeration(WMQQueueBrowser.java:166)
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.ibm.msg.client.jms.internal.JmsQueueBrowserImpl.getEnumeration(JmsQueueBrowserImpl.java:200)
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.ibm.mq.jms.MQQueueBrowser.getEnumeration(MQQueueBrowser.java:110)
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.splunk.modinput.jms.JMSModularInput$MessageReceiver.browseQueue(Unknown Source)
02-09-2016 08:41:42.197 -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)
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py" Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2017' ('MQRC_HANDLE_NOT_AVAILABLE').
02-09-2016 08:41:42.197 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/jms_ta/bin/jms.py"        at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:223)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Feb 2016 13:47:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-Unable-to-read-IBM-Websphere-MQ-with/m-p/273854#M31855</guid>
      <dc:creator>jgbricker</dc:creator>
      <dc:date>2016-02-09T13:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: JMS Messaging Modular Input: Unable to read IBM Websphere MQ with error "call failed with compcode '2' ('MQCC_FAILED') reason '2017' ('MQRC_HANDLE_NOT_AVAILABLE')"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-Unable-to-read-IBM-Websphere-MQ-with/m-p/273855#M31856</link>
      <description>&lt;P&gt;From the error it looks like you've run out of available handles. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.tro.doc/q040900_.htm"&gt;http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.tro.doc/q040900_.htm&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/1539826/wsmq-queue-limit"&gt;http://stackoverflow.com/questions/1539826/wsmq-queue-limit&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Are you seeing any errors on the mq sever?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 14:46:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-Unable-to-read-IBM-Websphere-MQ-with/m-p/273855#M31856</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2016-02-09T14:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: JMS Messaging Modular Input: Unable to read IBM Websphere MQ with error "call failed with compcode '2' ('MQCC_FAILED') reason '2017' ('MQRC_HANDLE_NOT_AVAILABLE')"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-Unable-to-read-IBM-Websphere-MQ-with/m-p/273856#M31857</link>
      <description>&lt;P&gt;Edited the inputs.conf configuration:&lt;BR /&gt;
[jms://queue/DEVSplunkQueue]&lt;BR /&gt;
browse_mode = all&lt;BR /&gt;
browse_queue_only = 1&lt;BR /&gt;
durable = 0&lt;BR /&gt;
index = jms&lt;BR /&gt;
index_message_header = 1&lt;BR /&gt;
index_message_properties = 1&lt;BR /&gt;
init_mode = jndi&lt;BR /&gt;
jms_connection_factory_name = DEVSplunkCF&lt;BR /&gt;
jndi_initialcontext_factory = com.sun.jndi.fscontext.RefFSContextFactory&lt;BR /&gt;
jndi_provider_url = file:/opt/splunk/etc/apps/jms_ta/local/&lt;BR /&gt;
sourcetype = mq&lt;BR /&gt;
strip_newlines = 1&lt;/P&gt;

&lt;H1&gt;commented out the below and added a different value (two lines down)&lt;/H1&gt;

&lt;H1&gt;browse_frequency = -1&lt;/H1&gt;

&lt;P&gt;browse_frequency = 60&lt;BR /&gt;
disabled = 0&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:46:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-Unable-to-read-IBM-Websphere-MQ-with/m-p/273856#M31857</guid>
      <dc:creator>jgbricker</dc:creator>
      <dc:date>2020-09-29T08:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: JMS Messaging Modular Input: Unable to read IBM Websphere MQ with error "call failed with compcode '2' ('MQCC_FAILED') reason '2017' ('MQRC_HANDLE_NOT_AVAILABLE')"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-Unable-to-read-IBM-Websphere-MQ-with/m-p/273857#M31858</link>
      <description>&lt;P&gt;I had a similar situation before, and thanks for this post, I modified the browse_frequency from -1 to 60, then it works and I start seeing event coming in from MQ to Splunk. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 03:53:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-Unable-to-read-IBM-Websphere-MQ-with/m-p/273857#M31858</guid>
      <dc:creator>wcflam</dc:creator>
      <dc:date>2018-11-24T03:53:55Z</dc:date>
    </item>
  </channel>
</rss>

