tag:blogger.com,1999:blog-5702309079039458297.post4602411641017811169..comments2024-02-18T23:16:40.169-08:00Comments on Nandika's blog: How to configure IBM MQ 8 With WSO2 ESBnandikajayawardanahttp://www.blogger.com/profile/11920576746810295004noreply@blogger.comBlogger22125tag:blogger.com,1999:blog-5702309079039458297.post-35324098236007441302017-12-18T21:38:10.424-08:002017-12-18T21:38:10.424-08:00You need to use the jars from the git repo provide...You need to use the jars from the git repo provided by NandikaRiyafahttps://riyafa.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-48507738191027083632017-07-05T00:19:01.213-07:002017-07-05T00:19:01.213-07:00You might also need to disable connection auth
AL...You might also need to disable connection auth<br /><br />ALTER QMGR CHLAUTH(DISABLED) CONNAUTH(' ')<br />REFRESH SECURITY TYPE(CONNAUTH)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-72997049128282410732016-08-10T21:22:02.997-07:002016-08-10T21:22:02.997-07:00Hi Anushanth,
This error seems to be not bothering...Hi Anushanth,<br />This error seems to be not bothering anyway. I just neglected above error and restarted MQ application and did the next steps. Everything worked as expected.Anonymoushttps://www.blogger.com/profile/11840721268058317716noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-8954088885394851582016-02-17T12:36:06.683-08:002016-02-17T12:36:06.683-08:00Hi Nandika,
Thanks a lot for this post. I am new t...Hi Nandika,<br />Thanks a lot for this post. I am new to WSO2 and this post helped me a lot in setting up the initial JMS connection with WMQ 8. I was able to do the one way flow using this. However when I am trying to create a flow where I want to make a request to backend with WMQ 8, its not working though I can see the response in the reply to queue my flow is not picking it. In the logs I can see the below errors.<br />I was wondering if you can help me in this.<br /><br />Regards,<br />Gaurav<br /><br /><br />ERROR {org.apache.synapse.core.axis2.AsyncCallback} - com.ibm.mq.jms.MQSession cannot be cast to javax.jms.QueueSession {org.apache.synapse.core.axis2.AsyncCallback}<br />java.lang.ClassCastException: com.ibm.mq.jms.MQSession cannot be cast to javax.jms.QueueSession<br /> at org.apache.axis2.transport.jms.JMSUtils.createConsumer(JMSUtils.java:531)<br /> at org.apache.axis2.transport.jms.JMSSender.waitForResponseAndProcess(JMSSender.java:306)<br /> at org.apache.axis2.transport.jms.JMSSender.sendOverJMS(JMSSender.java:283)<br /> at org.apache.axis2.transport.jms.JMSSender.sendMessage(JMSSender.java:169)<br /> at org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112)<br /> at org.apache.axis2.engine.AxisEngine$TransportNonBlockingInvocationWorker.run(AxisEngine.java:626)<br /> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br /> at java.lang.Thread.run(Thread.java:745)Gaurav Tiwarihttps://www.blogger.com/profile/07687095668718242904noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-67779041167930964552016-01-31T11:48:33.345-08:002016-01-31T11:48:33.345-08:00Hi Nandika,
im getting an error at this step
REFR...Hi Nandika,<br />im getting an error at this step<br /><br />REFRESH SECURITY TYPE(CONNAUTH)<br /> 2 : REFRESH SECURITY TYPE(CONNAUTH)<br />AMQ8405: Syntax error detected at or near end of command segment below:-<br />REFRESH SECURITY TYPE(CONN<br /><br />AMQ8427: Valid syntax for the MQSC command:<br /><br /> REFRESH SECURITY [ (*) ]<br /> TYPE ( AUTHSERV | SSL )<br /><br />I'm using IBM MQ ver 7.5<br /><br />can u guid me with this?Anonymoushttps://www.blogger.com/profile/15041389523307837319noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-89177122937019927162016-01-30T03:11:38.220-08:002016-01-30T03:11:38.220-08:00Nandika, Can you share your axis2.xml file related...Nandika, Can you share your axis2.xml file related to this section?Indrajithhttps://www.blogger.com/profile/05709675737626884441noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-91624266409021849972015-10-26T22:17:30.389-07:002015-10-26T22:17:30.389-07:00fantastic job on writing this…
World Wide Busines...fantastic job on writing this…<br /><a href="http://www.dealnity.com/" rel="nofollow"> World Wide Business Directories of Manufacturers Exporters &Suppliers</a><br />Anonymoushttps://www.blogger.com/profile/05573543755571120000noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-36979597537606215502015-10-19T00:01:10.272-07:002015-10-19T00:01:10.272-07:00HI Nandika ,
In my environment JMS is not created...HI Nandika ,<br /><br />In my environment JMS is not created to connect to ESB to MQ Cluster.<br /><br />And how can we create using MQ Client and ESB to connect IBM MQ ClusterAnonymoushttps://www.blogger.com/profile/16453571538936792517noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-19780150524079772342015-10-13T08:54:23.172-07:002015-10-13T08:54:23.172-07:00Jeremiah did you ever figure this out? I am having...Jeremiah did you ever figure this out? I am having the same issues @Jeremiah JohnsonMichael Swensonhttps://www.blogger.com/profile/14949094513743224396noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-89582093630834438962015-10-12T11:50:26.302-07:002015-10-12T11:50:26.302-07:00This comment has been removed by the author.Michael Swensonhttps://www.blogger.com/profile/14949094513743224396noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-3398187784564682392015-08-17T11:39:11.191-07:002015-08-17T11:39:11.191-07:00I also wrote a simple JMS client that uses the jar...I also wrote a simple JMS client that uses the jar attached. I get a class not found exception on com.sun.jndi.fscontext.RefFSContextFactory. If I use the drivers that come with MQ8 my simple JMS client works fine. If I use those same MQ8 drivers with WSO2 I also get the above error. seems like dropins is stuck. I'm using puppet to build a wso2 install. I started the build from scratch and still get the above errors with MQ8 drivers and the ones attached to this article.Anonymoushttps://www.blogger.com/profile/15233106699811338391noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-8541318216712967392015-08-12T13:06:07.690-07:002015-08-12T13:06:07.690-07:00I get with MQ8:
Caused by: com.ibm.mq.MQException...I get with MQ8:<br /><br />Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '6114' ('MQRC_INSUFFICIENT_DATA').<br /> at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:209)<br /> ... 29 more<br />Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=6114<br /> at com.ibm.mq.ese.intercept.JmqiOpenInterceptorImpl.processExceptionAfterOpen(JmqiOpenInterceptorImpl.java:696)<br /> at com.ibm.mq.ese.intercept.JmqiOpenInterceptorImpl.afterSpiOpen(JmqiOpenInterceptorImpl.java:212)<br /> at com.ibm.mq.ese.jmqi.InterceptedJmqiImpl.spiOpen(InterceptedJmqiImpl.java:452)<br /> at com.ibm.mq.ese.jmqi.ESEJMQI.spiOpen(ESEJMQI.java:513)<br /> at com.ibm.msg.client.wmq.internal.WMQMessageProducer$SpiIdentifiedProducerShadow.initialise(WMQMessageProducer.java:762)<br /><br />I think that means the drivers are incompatible with MQ8. Any ideas? I also tried to use the jars that come with MQ8 (and also work with simple JMS client) but I get an error about missing MQQueueConnectionFactoryFactory.Anonymoushttps://www.blogger.com/profile/15233106699811338391noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-14149502814749014482015-08-11T17:55:12.390-07:002015-08-11T17:55:12.390-07:00Aug 11, 2015 2:53:38 AM MQAdapter setMQListener
IN...Aug 11, 2015 2:53:38 AM MQAdapter setMQListener<br />INFO: QS9ESG00:SG/QS9HV.GEBFORBR.TRADEFINANCE.IN:--------Start MQ setMQListener-<br />---------------<br />Aug 11, 2015 2:53:39 AM MQAdapter setMQListener<br />SEVERE: JMSWMQ2013: The security authentication was not valid that was supplied<br />for QueueManager 'QS9ESG00' with connection mode 'Client' and host name 'XISXXXXX(11416)'.<br />com.ibm.msg.client.jms.DetailedJMSSecurityException: JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'QS9ESG00' with connection mode 'Client' and host name 'XISXXXXX(11416)'.<br />Please check if the supplied username and password are correct on the QueueManager to which you are connecting.<br /> at com.ibm.msg.client.wmq.common.internal.Reason.reasonToException(Reason.java:514)<br /> at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:214)<br /> at com.ibm.msg.client.wmq.internal.WMQConnection.(WMQConnection.java:406)<br /> at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6865)<br /> at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(WMQConnectionFactory.java:6221)<br /> at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl._createConnection(JmsConnectionFactoryImpl.java:285)<br /> at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(JmsConnectionFactoryImpl.java:233)<br /> at com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(MQConnectionFactory.java:6016)<br /> at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:111)<br /> at MQAdapter.reqConnection(MQAdapter.java:84)<br /> at MQAdapter.setMQListener(MQAdapter.java:111)<br /> at MQAdapter.main(MQAdapter.java:550)<br />Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED').<br /> at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:202)<br /> ... 10 more<br />I have ALTER CHLAUTH(DISABLED) and refreshed the security, but still getting above exception. Believed, this issue is related with MQAdmin authentication.. ? <br />Perhaps, I am using old jta.jar, connector.jar & dhcore.jar for my standalone program to connect with MQ manager. pls suggest me, asap. vinayanshulhttps://www.blogger.com/profile/07097729968131252497noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-15432840866314063302015-08-04T05:09:32.096-07:002015-08-04T05:09:32.096-07:00I'm also getting the same exception:
2015-08-0...I'm also getting the same exception:<br />2015-08-04 14:57:01,549 [-] [pool-12-thread-1] INFO JMSListener JMS listener started<br />2015-08-04 14:57:01,550 [-] [pool-12-thread-1] DEBUG JMSEndpoint JMS destination type not given. default queue<br />2015-08-04 14:57:01,551 [-] [pool-12-thread-1] DEBUG JMSEndpoint JMS reply destination type not given. default queue<br />2015-08-04 14:57:01,565 [-] [pool-12-thread-1] DEBUG JMSUtils Creating a GenericConnection using credentials : (svctestgenmq/xxxxxx)<br />2015-08-04 14:57:03,005 [-] [pool-12-thread-1] ERROR JMSListener Unable to continue server startup as it seems the JMS Provider is not yet started. Please start the JMS provider now.<br />2015-08-04 14:57:03,006 [-] [pool-12-thread-1] ERROR JMSListener Connection attempt : 1 for JMS Provider failed. Next retry in 20 seconds<br /><br />My WSO2 and WMQ installations are on different machines. I disabled the channel authentication, but still getting the same error. Any idea about what could be the problem ?Aylinhttps://www.blogger.com/profile/15411088480000586002noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-56650585694387856642015-07-31T08:44:35.616-07:002015-07-31T08:44:35.616-07:00I've achieved this by implementing this guide ...I've achieved this by implementing this guide and the WMQ and WSO2ESB in the same machine, I want to do it remotely but I guess I need to learn WMQ deeply. If I find the config files I'll post then here so you can see, but It's pretty straighfordward.Rafael Cadenashttps://www.blogger.com/profile/16847854124089002391noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-64535224788024483702015-07-31T02:45:33.546-07:002015-07-31T02:45:33.546-07:00Very nice post!
How would you implement a proxy s...Very nice post!<br /><br />How would you implement a proxy service, not to consume, but to send messages to WMQ ?Aylinhttps://www.blogger.com/profile/15411088480000586002noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-51128016271778346152015-06-18T10:58:56.157-07:002015-06-18T10:58:56.157-07:00provider url is the local directory containing the...provider url is the local directory containing the .binding file you have generated<br /><br />Regards<br />Nandikanandikajayawardanahttps://www.blogger.com/profile/11920576746810295004noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-21322472716540742902015-06-17T13:55:04.750-07:002015-06-17T13:55:04.750-07:00Hey Nandika
I am struggling to find the value for...Hey Nandika<br /><br />I am struggling to find the value for provider.url when the MQ server is installed on the remote box.<br /><br />thanks<br />SamtaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-70905089336615951312015-04-15T16:58:40.347-07:002015-04-15T16:58:40.347-07:00Hello Nandika and thanks for your quick answer. I&...Hello Nandika and thanks for your quick answer. I'll take a look at it asap. So basically I need to configure channel security so I can connect remotely to MQ... I'll comeback here if needed.<br /><br />ThxRafael Cadenashttps://www.blogger.com/profile/16847854124089002391noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-51082576234054111462015-04-15T10:28:21.440-07:002015-04-15T10:28:21.440-07:00Hi Rafael,
The JMSListener unable to connect erro...Hi Rafael,<br /><br />The JMSListener unable to connect error occurs when the security configurations are not correct. In my scenario, I disabled the channel authentication using ALTER QMGR CHLAUTH(DISABLED). However, in your case, you will need to configure authentication properly for the MQ Server.<br /><br />Following video is a good starting point.<br /><br />https://www.youtube.com/watch?v=81zxSdwm4eknandikajayawardanahttps://www.blogger.com/profile/11920576746810295004noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-65381974286151774602015-04-15T07:39:14.290-07:002015-04-15T07:39:14.290-07:00Hello Nandika thanks for this post. Im trying to a...Hello Nandika thanks for this post. Im trying to achieve this by deploying ESB on my Machine and MQ on a Win 2012 server on the same network segment nonetheless when I start ESB I'm receiving the following errors:<br /><br />JMSListener Unable to continue server startup as it seems the JMS Provider is not yet started. Please start the JMS provider now.<br />ERROR JMSListener Connection attempt : 5 for JMS Provider failed. Next retry in 320 seconds<br /><br />What am I doing wrong ? Is this tutorial meant to be deployed both ESB and MQ on the same machine to make it work or Should I configure something else on the MQ side to make ESB establish remote connection ?<br /><br />Thanks in advance.<br />Rafael Cadenashttps://www.blogger.com/profile/16847854124089002391noreply@blogger.comtag:blogger.com,1999:blog-5702309079039458297.post-37260267473395315532015-03-29T04:59:26.701-07:002015-03-29T04:59:26.701-07:00Nice post. Will be very useful..!!Nice post. Will be very useful..!!hasithahttps://www.blogger.com/profile/04884409153060346465noreply@blogger.com