<?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>question Re: nifi disabled controller-services and ConsumeJMS failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115406#M78200</link>
    <description>&lt;P&gt;Andy, that is a great news!&lt;/P&gt;&lt;P&gt;If you don't mind, would you please post your working configuration here (masking user/password or course), so others can benefit from your experience.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2017 02:44:57 GMT</pubDate>
    <dc:creator>ozhurakousky</dc:creator>
    <dc:date>2017-02-24T02:44:57Z</dc:date>
    <item>
      <title>nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115391#M78185</link>
      <description>&lt;P&gt;When I use Nifi connect to IBM MQ,  nifi disabled controller-services and ConsumeJMS failed.&lt;/P&gt;&lt;P&gt;I got the following error:&lt;/P&gt;&lt;P&gt;ConsumeJMS - null ConsumeJMS - null failed to process session due to java.lang.IllegalStateException: Cannot invoke method public abstract javax.jms.ConnectionFactory org.apache.nifi.jms.cf.JMSConnectionFactoryProviderDefinition.getConnectionFactory() on Controller Service with identifier 57fa0ec2-015a-1000-1377-c1374f9dd1c1 because the Controller Service is disabled: java.lang.IllegalStateException: Cannot invoke method public abstract javax.jms.ConnectionFactory org.apache.nifi.jms.cf.JMSConnectionFactoryProviderDefinition.getConnectionFactory() on Controller Service with identifier 57fa0ec2-015a-1000-1377-c1374f9dd1c1 because the Controller Service is disabled&lt;/P&gt;&lt;P&gt;nifi Error log:&lt;/P&gt;&lt;P&gt;2017-02-20 05:32:21,023 ERROR [Timer-Driven Process Thread-5] o.apache.nifi.jms.processors.ConsumeJMS ConsumeJMS - null ConsumeJMS - null failed to process session due to java.lang.IllegalStateException: Cannot invoke method public abstract javax.jms.ConnectionFactory org.apache.nifi.jms.cf.JMSConnectionFactoryProviderDefinition.getConnectionFactory() on Controller Service with identifier 57fa0ec2-015a-1000-1377-c1374f9dd1c1 because the Controller Service is disabled: java.lang.IllegalStateException: Cannot invoke method public abstract javax.jms.ConnectionFactory org.apache.nifi.jms.cf.JMSConnectionFactoryProviderDefinition.getConnectionFactory() on Controller Service with identifier 57fa0ec2-015a-1000-1377-c1374f9dd1c1 because the Controller Service is disabled
2017-02-20 05:32:21,025 ERROR [Timer-Driven Process Thread-5] o.apache.nifi.jms.processors.ConsumeJMS 
java.lang.IllegalStateException: Cannot invoke method public abstract javax.jms.ConnectionFactory org.apache.nifi.jms.cf.JMSConnectionFactoryProviderDefinition.getConnectionFactory() on Controller Service with identifier 57fa0ec2-015a-1000-1377-c1374f9dd1c1 because the Controller Service is disabled
at org.apache.nifi.controller.service.StandardControllerServiceProvider$1.invoke(StandardControllerServiceProvider.java:172) ~[nifi-framework-core-1.1.1.jar:1.1.1]
at com.sun.proxy.$Proxy139.getConnectionFactory(Unknown Source) ~[na:na]
at org.apache.nifi.jms.processors.AbstractJMSProcessor.buildTargetResource(AbstractJMSProcessor.java:190) ~[na:na]
at org.apache.nifi.jms.processors.AbstractJMSProcessor.onTrigger(AbstractJMSProcessor.java:134) ~[na:na]
at org.apache.nifi.jms.processors.ConsumeJMS.onTrigger(ConsumeJMS.java:57) ~[na:na]
at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) ~[nifi-api-1.1.1.jar:1.1.1]
at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1099) ~[nifi-framework-core-1.1.1.jar:1.1.1]
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136) [nifi-framework-core-1.1.1.jar:1.1.1]
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) [nifi-framework-core-1.1.1.jar:1.1.1]
at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132) [nifi-framework-core-1.1.1.jar:1.1.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_111]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_111]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_111]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]&lt;/P&gt;&lt;P&gt;JMSConnectionFactoryProvider settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12682-screenhunter-11-feb-20-0559.jpg" style="width: 821px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23099iCA09A8EAB52DAB6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12682-screenhunter-11-feb-20-0559.jpg" alt="12682-screenhunter-11-feb-20-0559.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ConsumeJMS settings&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12684-screenhunter-10-feb-20-0558.jpg" style="width: 826px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23100iB34753818D62B73C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12684-screenhunter-10-feb-20-0558.jpg" alt="12684-screenhunter-10-feb-20-0558.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any suggestion on how to solve this issue is appreciated.&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6376iF9AF7E6D26CAC1FC/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="screenhunter-10-feb-20-0558.jpg" title="screenhunter-10-feb-20-0558.jpg" /&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:00:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115391#M78185</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2019-08-19T11:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115392#M78186</link>
      <description>&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;Sorry to hear you're having some issues.&lt;/P&gt;&lt;P&gt;It appears this is a configuration issue. I just dug up some notes from when I was implementing it and it appears you have issues with ConnectionFactory configuration as well as some additional properties required by IBM that would need to be supplied as dynamic properties (see 'IBM specific properties as Dynamic Properties' below). Please see below and let me know. Would love ti help you put this matter to rest.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Processor (required properties):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Destination Name: &amp;lt;topic or queue name&amp;gt; (e.g., queue://MYQUEUE)&lt;/P&gt;&lt;P&gt;- Destination Type: QUEUE or TOPIC&lt;/P&gt;&lt;P&gt;- Session Cache size: 1 (read its doc for more details)&lt;/P&gt;&lt;P&gt;- Connection Factory service: &amp;lt;the name of the controller service for CF&amp;gt; (e.g., IBMMQ)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Controller Service (e.g., IBMMQ)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- MQ Connection Factory Implementation: &lt;EM&gt;com.ibm.mq.jms.MQConnectionFactory&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;- MQ Client Libraries path: &amp;lt;path to client JARs from UBM&amp;gt;&lt;/P&gt;&lt;P&gt;- Broker URI: &amp;lt;uri to MQ broker&amp;gt; (e.g., foo.bar:1234)&lt;/P&gt;&lt;P&gt;Then you would have to configure IBM specific properties as Dynamic Properties:&lt;/P&gt;&lt;P&gt;- channel: &amp;lt;name of the channel&amp;gt; (e.g., SYSTEM.ADMIN.SVRCONN)&lt;/P&gt;&lt;P&gt;- queueManager: &amp;lt;name of queue managere&amp;gt; (e.g., FOO)&lt;/P&gt;&lt;P&gt;- transportType: &amp;lt;identifier of the transport type&amp;gt; (make sure you put '1' as a value which states that TCP/IP will be used)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 21:46:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115392#M78186</guid>
      <dc:creator>ozhurakousky</dc:creator>
      <dc:date>2017-02-20T21:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115393#M78187</link>
      <description>&lt;P&gt;Also, keep in mind, you your provided connection factory impl is wrong since you lower-cased the last part while it supposed to be the usual camel-case - &lt;A href="https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.javadoc.doc/WMQJMSClasses/com/ibm/mq/jms/MQQueueConnectionFactory.html" target="_blank"&gt;https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.javadoc.doc/WMQJMSClasses/com/ibm/mq/jms/MQQueueConnectionFactory.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, the url beginning with 'http'. . . I do not believe that is correct. At least I've not seen a configuration like that. Anyway, please reach out to your MQ administrator to get proper values for the required properties.&lt;/P&gt;&lt;P&gt;Also, if you be so kind please include the error logs relevant to the controller service (CS). What you are attaching above is related to inability of processor to start which is understandable since it can not start due to the fact that dependent CS is disabled. The real question why the dependent CS is disabled, I mean we do know already that there is configuration issue, but he logs may shed some lights as to what those issues are.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 21:58:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115393#M78187</guid>
      <dc:creator>ozhurakousky</dc:creator>
      <dc:date>2017-02-20T21:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115394#M78188</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/410/ozhurakousky.html" nodeid="410"&gt;@ozhurakousky&lt;/A&gt;  Thank you very much for your advice.  It's very helpful for me.&lt;/P&gt;&lt;P&gt; After I modified the connection factory to com.ibm.mq.jms.MQQueueConnectionFactory and set the Destination Name to queue://NifiMQ/Q1,  I didn't see the controller-services issue.    I got another error:&lt;/P&gt;&lt;P&gt;2017-02-20 09:33:28,807 WARN [Timer-Driven Process Thread-8] o.a.n.c.t.ContinuallyRunProcessorTask 
org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6312: An exception occurred in the Java(tm) MQI.
The Java(tm) MQI has thrown an exception describing the problem. 
See the linked exception for further information.; nested exception is com.ibm.mq.jmqi.JmqiException: CC=2;RC=2495;AMQ8568: The native JNI library 'mqjbnd64' was not found. For a client installation this is expected. [3=mqjbnd64]&lt;/P&gt;&lt;P&gt;For development, I installed IBM MQ locally on my computer, and set the MQ Client Libraries path to C:/Program Files/IBM/WebSphere MQ/java/lib&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 22:50:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115394#M78188</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-20T22:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115395#M78189</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/410/ozhurakousky.html" nodeid="410"&gt;@ozhurakousky&lt;/A&gt;  For the confiugration of IBM  MQ,  I followed the instruction at &lt;A href="https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.mq.sce.doc/q123070_.htm"&gt;https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.mq.sce.doc/q123070_.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It should should have configured the parameters of the Nifi,  The only parameter that it skips is the channel.  any other configuration that I missed?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 00:03:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115395#M78189</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-21T00:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115396#M78190</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/410/ozhurakousky.html" nodeid="410"&gt;@ozhurakousky&lt;/A&gt;  Thank you very much for your help, I am fine tuning the settings and keep testing. It's in the right direction now, although I still have other issues.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 00:50:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115396#M78190</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-21T00:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115397#M78191</link>
      <description>&lt;P&gt;Andy, the error you see is due to the fact that the connection attempt is made over native transport protocol using JNI and the required native libraries are not present on the classpath. To avoid it you should rely on TCP transport type. NOTE: the dynamic property mentioned above '&lt;STRONG&gt;transportType&lt;/STRONG&gt;". It's values should be set to 1 (which denotes TCP).&lt;/P&gt;&lt;P&gt;Keep in mind that the other two properties described above (&lt;STRONG&gt;channel&lt;/STRONG&gt; and &lt;STRONG&gt;queueManager&lt;/STRONG&gt;) are also required&lt;/P&gt;&lt;P&gt;Also, the document you've provided describes JNDI configuration which we do not currently support.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 01:07:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115397#M78191</guid>
      <dc:creator>ozhurakousky</dc:creator>
      <dc:date>2017-02-21T01:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115398#M78192</link>
      <description>&lt;P&gt;Just in case you are not familiar with dynamic properties look for a '+' sign in the top right corner of the configuration window for CS. Click on the '+' and enter the name of the property (i.e., transportType) and then value of '1'.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 01:11:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115398#M78192</guid>
      <dc:creator>ozhurakousky</dc:creator>
      <dc:date>2017-02-21T01:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115399#M78193</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/410/ozhurakousky.html" nodeid="410"&gt;@ozhurakousky&lt;/A&gt;  Thank you very much for spending time to helping me.   Do you have any information on how to setup IBM mq for Nifi? e.g.  how could I set up the SYSTEM.ADMIN.SVRCONN for channel or is it build-in already?  Do I need to create a transmission queue for the channel?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 23:21:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115399#M78193</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-21T23:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115400#M78194</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/410/ozhurakousky.html" nodeid="410" target="_blank"&gt;@ozhurakousky&lt;/A&gt;Thanks for the advice and your time. I had setup the processor as the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Controller Service&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12775-screenhunter-20-feb-21-1122.jpg" style="width: 745px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23094iE2C41A357C9E3B36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12775-screenhunter-20-feb-21-1122.jpg" alt="12775-screenhunter-20-feb-21-1122.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Processor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12776-screenhunter-24-feb-21-1148.jpg" style="width: 768px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23095i9624F30E1C2E0299/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12776-screenhunter-24-feb-21-1148.jpg" alt="12776-screenhunter-24-feb-21-1148.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For the  IBM MQ side&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)  I found the channel  &lt;/STRONG&gt;SYSTEM.ADMIN.SVRCONN&lt;STRONG&gt; , do I need to create a sender channel or it's already built in?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12777-screenhunter-22-feb-21-1146.jpg" style="width: 759px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23096i14AC54B7DC3E3A91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12777-screenhunter-22-feb-21-1146.jpg" alt="12777-screenhunter-22-feb-21-1146.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) I already have a listener for Nifi (localhost:1419)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12779-screenhunter-21-feb-21-1146.jpg" style="width: 956px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23097iAB282EAC418BC43C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12779-screenhunter-21-feb-21-1146.jpg" alt="12779-screenhunter-21-feb-21-1146.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3) I create a local queue Q1 (do I have to set it's Usage to transmission?)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12780-screenhunter-25-feb-21-1156.jpg" style="width: 714px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23098i5AD004429057B971/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12780-screenhunter-25-feb-21-1156.jpg" alt="12780-screenhunter-25-feb-21-1156.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4) I got the following error:&lt;/P&gt;&lt;PRE&gt;ConsumeJMS - JMSConsumer[destination:null; pub-sub:false;] ConsumeJMS - JMSConsumer[destination:null; pub-sub:false;] failed to process due to org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018: Failed to connect to queue manager 'NifiMQ' with connection mode 'Client' and host name 'localhost(1419)'.

Check the queue manager is started and if running in client mode, check there is a listener running. Please see the linked exception for more information.; nested exception is com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2540' ('MQRC_UNKNOWN_CHANNEL_NAME').; rolling back session: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018: Failed to connect to queue manager 'NifiMQ' with connection mode 'Client' and host name 'localhost(1419)'.

Check the queue manager is started and if running in client mode, check there is a listener running. Please see the linked exception for more information.; nested exception is com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2540' ('MQRC_UNKNOWN_CHANNEL_NAME').&lt;/PRE&gt;&lt;P&gt;Is there Any other configuration that I missed?  &lt;/P&gt;&lt;P&gt;Thanks a lot. &lt;A rel="user" href="https://community.cloudera.com/users/410/ozhurakousky.html" nodeid="410" target="_blank"&gt;@ozhurakousky&lt;/A&gt; I am really appreciated for your help and your time.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:00:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115400#M78194</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2019-08-19T11:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115401#M78195</link>
      <description>&lt;P&gt;What error are you getting now? Could you please post&lt;/P&gt;&lt;P&gt;Also, it appears form your configuration that your queue name is 'Q1' but in NiFi config you're using 'queue://NiFiMQ' instead of 'queue://Q1'&lt;/P&gt;&lt;P&gt;I am not MQ administrator and there is nothing specific to NiFi anyone on the MQ side needs to do. Do you have a plain Java program that is able to send/receive messages from MQ instance you have created. That would be the easiest way to debug. The information such as &lt;EM&gt;queue, channel, queueManager, transportType&lt;/EM&gt; and many other is provided by MQ administrators and have no relevance to NiFi.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 01:12:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115401#M78195</guid>
      <dc:creator>ozhurakousky</dc:creator>
      <dc:date>2017-02-22T01:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115402#M78196</link>
      <description>&lt;P&gt;Ok, based on your additional info that was just posted you are having a connection issue to localhost:1419&lt;/P&gt;&lt;P&gt;Have you explicitly change it from the default port of 1414? I know you have a config window that shows some kind of listener on on 1419, but I am not sure what that is. &lt;/P&gt;&lt;P&gt;In any event, you're definitely having networking issue so, let's try this and see if you can connect to either 1419 and 1414 via telnet. From the terminal window execute the following:&lt;/P&gt;&lt;P&gt;&amp;gt; telnet localhost 1419&lt;/P&gt;&lt;P&gt;Repeat the same for 1414&lt;/P&gt;&lt;P&gt;Let me know &lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 01:33:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115402#M78196</guid>
      <dc:creator>ozhurakousky</dc:creator>
      <dc:date>2017-02-22T01:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115403#M78197</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/410/ozhurakousky.html" nodeid="410"&gt;@ozhurakousky&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi Oleg,&lt;/P&gt;&lt;P&gt;I had re-installed IBM MQ and setting up the queue manager, Channel, listener, and queue.  &lt;/P&gt;&lt;P&gt;I will do more testing on Nifi and post the result.  Thanks a  lot&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 05:14:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115403#M78197</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-23T05:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115404#M78198</link>
      <description>&lt;P&gt;Yes, you can see there are two properties in &lt;EM&gt;ConsumeJMS&lt;/EM&gt; processor &lt;STRONG&gt;User Name&lt;/STRONG&gt; and &lt;STRONG&gt;Password&lt;/STRONG&gt;. So you can provide them there.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 05:50:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115404#M78198</guid>
      <dc:creator>ozhurakousky</dc:creator>
      <dc:date>2017-02-23T05:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115405#M78199</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/410/ozhurakousky.html" nodeid="410"&gt;@ozhurakousky&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hi Oleg,&lt;/P&gt;&lt;P&gt;I finally got the connection between Nifi and IBM MQ working now.  It's some configuration issue on MQ.&lt;/P&gt;&lt;P&gt;Thank you very much for your help and time.  I am very appreciated.&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 02:40:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115405#M78199</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-24T02:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115406#M78200</link>
      <description>&lt;P&gt;Andy, that is a great news!&lt;/P&gt;&lt;P&gt;If you don't mind, would you please post your working configuration here (masking user/password or course), so others can benefit from your experience.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 02:44:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115406#M78200</guid>
      <dc:creator>ozhurakousky</dc:creator>
      <dc:date>2017-02-24T02:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115407#M78201</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/410/ozhurakousky.html" nodeid="410"&gt;@ozhurakousky&lt;/A&gt;  of course,  I will post what I did on the IBM MQ here later today.  &lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 02:49:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115407#M78201</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-24T02:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: nifi disabled controller-services and ConsumeJMS failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115408#M78202</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/410/ozhurakousky.html" nodeid="410"&gt;@ozhurakousky&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Here is the steps to setup IBM MQ for the Nifi connection &lt;/P&gt;&lt;P&gt;1) Create queue manager myMQManager using MQ Explorer &lt;/P&gt;&lt;P&gt;2) create Channel and queue using the following commands&lt;/P&gt;&lt;P&gt;
runmqsc myMQManager &lt;/P&gt;&lt;P&gt;def chl(myMQChannel) chltype(svrconn) replace &lt;/P&gt;&lt;P&gt;def chl(myMQChannel) chltype(clntconn) conname('localhost(1420)') QMNAME('myMQManager') replace &lt;/P&gt;&lt;P&gt;def ql(myMQqueue) &lt;/P&gt;&lt;P&gt;2) Grant necessary authorization for a user using MQ Explorer &lt;/P&gt;&lt;P&gt;2.1 Queue Manager Authorities Setting &lt;/P&gt;&lt;P&gt;right click your queue manager--&amp;gt;Object Authorities--&amp;gt;Add Role Based Authorities --&amp;gt;give the user access permission&lt;/P&gt;&lt;P&gt;2.2 Queue Authorities Setting &lt;/P&gt;&lt;P&gt;right click your queue--&amp;gt;Object Authorities--&amp;gt;Manage Authority Records--&amp;gt;Specific Profiles--&amp;gt; your queue--&amp;gt; Accumulated authorities--&amp;gt;setup your user Access Permission for the queue &lt;/P&gt;&lt;P&gt;3) After the configuration and setup your Nifi ConsumeJMS processor, you should be able connect to IBM MQ &lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 06:29:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-disabled-controller-services-and-ConsumeJMS-failed/m-p/115408#M78202</guid>
      <dc:creator>toandyliang</dc:creator>
      <dc:date>2017-02-25T06:29:22Z</dc:date>
    </item>
  </channel>
</rss>

