ibm-mq

Websphere Liberty profile - transacted Websphere MQ connection factory

☆樱花仙子☆ 提交于 2020-01-02 04:47:07
问题 Trying to get my Liberty profile server to create a transacted jmsConnectionFactory to my instance of Websphere message queue. Liberty profile v 8.5.5.5 Websphere MQ 7.x I've tried to change the jmsQueueConnectionFactory to jmsXAQueueConnectionFactory but it does not help -> Then it seems to just ignore it and doesn't connect to the MQ server.xml <?xml version="1.0" encoding="UTF-8"?> <server description="new server"> <!-- Enable features --> <featureManager> <feature>wmqJmsClient-1.1<

Getting error : WebSphere MQ reason code 2538?

随声附和 提交于 2020-01-02 04:01:23
问题 I have WebSphere MQ and WebSphere Message Broker installed on Linux and when I execute mqsicreateexecutiongroup I get an error saying: BIP1046E: Unable to connect with the queue manager (Could not connect to queue manager 'NSPZPAI1' (MQ reason code 2538)). When I search for this reason code I understand that it is a host not available error . Can somebody please tell me how to resolve this error? When I run a runmqlsr command I always end up in a hang. Can somebody tell me how to start a

ClassCastException: javax.naming.Reference cannot be cast to javax.jms.ConnectionFactory

▼魔方 西西 提交于 2020-01-02 02:20:36
问题 I wrote a Java program to connect to Websphere MQ to publish messages. I created a JNDI namespace, connection factory, destinations, and queue manager in Websphere MQ Explore. When I am running my program it is showing ClassCastException for type casting from string to ConnectionFactory . Here is my code. Can anyone help resolve this problem. JNDIUtil.java package com.tradefinance.jms.util; //JMS classes import javax.jms.JMSException; import javax.jms.ConnectionFactory; import javax.jms

Putting Message in Websphere MQ via C# has different data length than manually putting the same message

ぐ巨炮叔叔 提交于 2020-01-02 02:19:26
问题 MQMessage queueMessage = new MQMessage(); queueMessage.WriteString(strInputMsg); queueMessage.Format = MQC.MQFMT_STRING; MQPutMessageOptions queuePutMessageOptions = new MQPutMessageOptions(); Queue.Put(queueMessage, queuePutMessageOptions); Using C#, with the above code, when I input the message into the queue, the data length of the message is 3600. When I manually input the message into the queue by right clicking the queue and selecting Put Test Message option, the data length of the

Server binding mode to connect Websphere MQ7 without WAS installed on the same server

限于喜欢 提交于 2020-01-01 15:32:20
问题 I've being trying to setup my java application that connects to a local queue manager in MQ7 without a WebSphere Application Server installed on my machine in binding mode. Without specifying the host in the .bindings file, running my application will throw an java exception somewhere along the lines of: com.ibm.msg.client.jms.DetailedIllegalStateException: JMSWMQ0018: Failed to connect to queue manager 'TBUKKKNN' with connection mode 'Client' and host name ''. Check the queue manager is

Server binding mode to connect Websphere MQ7 without WAS installed on the same server

折月煮酒 提交于 2020-01-01 15:32:08
问题 I've being trying to setup my java application that connects to a local queue manager in MQ7 without a WebSphere Application Server installed on my machine in binding mode. Without specifying the host in the .bindings file, running my application will throw an java exception somewhere along the lines of: com.ibm.msg.client.jms.DetailedIllegalStateException: JMSWMQ0018: Failed to connect to queue manager 'TBUKKKNN' with connection mode 'Client' and host name ''. Check the queue manager is

MQJMS2013 invalid security authentication

旧街凉风 提交于 2020-01-01 09:48:08
问题 I am trying to connect to IBM Websphere MQ Server from IBM Websphere Application Server. I am getting the following error: MQJMS2013: invalid security authentication supplied for MQQueueManager What I understand is, this is because of invalid security credentials by WAS while connecting to MQ Manager. I have tried different combination of providing the MQ admin password e.g. Provide J2C authentication to MQ Connection Factory. Provide MQ admin username and password to Queues. Providing Blank

Spring Configuration for JMS (Websphere MQ - SSL, Tomcat, JNDI, Non IBM JRE)

谁说胖子不能爱 提交于 2019-12-31 12:59:48
问题 Background: I have a relatively old application that uses Websphere MQ for messaging. It runs on WAS (Websphere Application Server) and uses MDBs (Message Driven Beans). I was successfully able to replace all MDBs using Spring Integration - JMS. My next step is try to see if I can port it out of WAS so that it can run on any other servlet container with a non-IBM JRE (I am trying: apache tomcat). Note that securing channels using SSL is a requirement. I prefer using JNDI. End Goal: To

Difference between queue manager and message broker

十年热恋 提交于 2019-12-31 10:23:09
问题 What is the difference between a Websphere Message Broker and a Queue Manager. I guess the queue manager puts messages in the queue, takes messages out of the queue, moves messages to backout queues etc. So what is the job of the broker? Does it sit between the publisher and the Queue Manager or between the consumer and the Queue Manager? 回答1: Websphere MQ is a software which uses the AMQ(Asynchronous messaging protocol) . You can achieve asynchronous messaging between your applications via

Difference between queue manager and message broker

时间秒杀一切 提交于 2019-12-31 10:23:07
问题 What is the difference between a Websphere Message Broker and a Queue Manager. I guess the queue manager puts messages in the queue, takes messages out of the queue, moves messages to backout queues etc. So what is the job of the broker? Does it sit between the publisher and the Queue Manager or between the consumer and the Queue Manager? 回答1: Websphere MQ is a software which uses the AMQ(Asynchronous messaging protocol) . You can achieve asynchronous messaging between your applications via