ibm-mq

How are Websphere MQ messages stored to allow persistence?

跟風遠走 提交于 2020-01-03 18:01:08
问题 Are Websphere MQ messages stored in a database or filesystem? Can I configure it to use MySQL? 回答1: WebSphere MQ persistence is always a local filesystem for distributed platforms. On the mainframe there is the possibility of using a DB2 database in a Sysplex with a Coupling Facility but for everything else it is a filesystem. Also, there is no local persistence for WebSphere MQ clients. Only the queue manager will persist messages. In the WebSphere family, WebSphere Application Server's

Never ending periodic recovery of heuristic participants

早过忘川 提交于 2020-01-03 08:10:07
问题 For days our log has been full of this message 2018-06-15 12:19:23 WARN [com.arjuna.ats.arjuna] (Periodic Recovery) Transaction 0:ffff0a983f1e:1f3aa2ff:5a09aa02:d1c08c has 1 heuristic participant(s)! 2018-06-15 12:19:23 WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016037: Could not find new XAResource to use for recovering non-serializable XAResource XAResourceRecord < resource:null, txid:< formatId=131077, gtrid_length=46, bqual_length=36, tx_uid=0:ffff0a983f1e:1f3aa2ff:5a09aa02

Get channel table file from remote server

落花浮王杯 提交于 2020-01-03 03:26:05
问题 I'm trying to set ccdturl with the ccdt file which located in a remote server. I tried to set ccdt url using ftp but it does not work out. Does anyone know what is the correct way to set url for ccdt file in remote server? Thanks! I tried: String channelTablePath = "ftp://user@host:/path-to-ccdt-file"; Url url = new URL(channelTablePath ); connectionFactory.setCCDTURL(url); The error that I get is: Exception in thread "main" javax.jms.JMSException: JMSWMQ2020: Failed to connect to queue

Error 2035 ('MQRC_NOT_AUTHORIZED') from HermesJMS to MQ8

左心房为你撑大大i 提交于 2020-01-03 03:07:07
问题 I am accessing an MQ8 server using HermesJms. The latter has the following configuration: However, when I am trying to "Discover" via the relevant option provided by Hermes, I get an 2035 with the following message appearing on the queue manager error logs: AMQ9557: Queue Manager User ID initialization failed for 'pkaramol'. EXPLANATION: The call to initialize the User ID 'pkaramol' failed with CompCode 2 and Reason 2035. Note that pkaramol is my local OS user I am logged in as, in the linux

Finding XMIT Queue Depth using WebSphere MQ Classes for .Net

妖精的绣舞 提交于 2020-01-02 20:27:41
问题 I want to get the Queue Depth for a Transmission Queue ( XMIT queue) using WebSphere MQ Classes for .Net , can someone kindly help me giving a specific link/Pseudocode or .Net Classes/API to identify the XMIT queue depth. I have gone through the .Net API but didn't find any info on XMIT queue. 回答1: You can use the MQ .NET PCF interface to query queue attributes. Below is the sample code snippet. Note: MQ .NET PCF interface is undocumented interface and may not be supported. You will need to

Finding XMIT Queue Depth using WebSphere MQ Classes for .Net

陌路散爱 提交于 2020-01-02 20:26:03
问题 I want to get the Queue Depth for a Transmission Queue ( XMIT queue) using WebSphere MQ Classes for .Net , can someone kindly help me giving a specific link/Pseudocode or .Net Classes/API to identify the XMIT queue depth. I have gone through the .Net API but didn't find any info on XMIT queue. 回答1: You can use the MQ .NET PCF interface to query queue attributes. Below is the sample code snippet. Note: MQ .NET PCF interface is undocumented interface and may not be supported. You will need to

Get queues depth from java code

最后都变了- 提交于 2020-01-02 16:16:30
问题 Can anyone help in doing the code in java of getting the depth of the queues. We are having 4 queues in IBM WebSphere MQ and inside them there are messages. I want to write a jsp to read the queue names and their depth while running the report. How do I do that? Can anyone help in getting the full solution because I don't know what to do 回答1: I doens't think there is a way to retrieve the queue depth using JMS. You can however use MQ Series specific Java API to retrieve this information. Here

Saving and restoring Queue Manager

≯℡__Kan透↙ 提交于 2020-01-02 14:55:18
问题 I need to install a fresh copy of Websphere MQ Server on a Windows machine. However, the queue manager and other details need to be migrated from the Websphere MQ Server which is in place on another system. Of what I could gather from my excavations from the internet is that there exists a support pac(MS03) from IBM which provides with the functionality. The executable being saveqmgr.exe for MQ versions upto 7.0 and dmpmqcfg for MQ 7.1 on Windows platform. My question is: what should be the

Load balancing issue while connecting to IBM MQ using JMS + CCDT file

亡梦爱人 提交于 2020-01-02 08:17:21
问题 We are trying to connect to IBMMQ using CCDT file and JMS configuration. We are able to connect to it but we have an issue here: since we are using spring to set connection factory with CCDT file, this is initialized once at the start of the application, but unfortunately it picks only one queue manager at a time,i.e it sends all the messages to same queue manager and it does not load balance. Though i observed, if i manually set the CCDT file before every request then its able to load

Load balancing issue while connecting to IBM MQ using JMS + CCDT file

☆樱花仙子☆ 提交于 2020-01-02 08:17:20
问题 We are trying to connect to IBMMQ using CCDT file and JMS configuration. We are able to connect to it but we have an issue here: since we are using spring to set connection factory with CCDT file, this is initialized once at the start of the application, but unfortunately it picks only one queue manager at a time,i.e it sends all the messages to same queue manager and it does not load balance. Though i observed, if i manually set the CCDT file before every request then its able to load