eclipse-ee4j / eclipse-ee4j/genericmessagingra

Creation of Durable Subscriber in IBM MQ fails

Open
#10 5 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
Component: core ERR: Assignee Priority: Major Type: Bug
Dominant language
Java
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Using IBM MQ 6.0\. Generic RA is deployed in the application server and a web
application is also deployed. The EJB in the application creates a durable
subscriber. The appropriate topic connection factory and topics are defined in
IBM MQ.

The following code throws an exception sometimes -
createDurableSubscriber(topic, "genra15")

where 'genra15' is the client id value. The same is specified while creating the
topic connection factory in IBM MQ.

The code was working fine. When it failed I decreased the length of the client
id value. It passed initially and then started failing again.

The error message is :

javax.enterprise.system.stream.err|_ThreadID=19;|com.ibm.mq.jms.BrokerCommandFailedException:
Broker
command failed: MQRCCF_SUBSCRIPTION_LOCKED Reason code 3156
at com.ibm.mq.jms.MQBrokerSubscriptionEngine.openDurableSubscription(MQB
rokerSubscriptionEngine.java:1294)
at com.ibm.mq.jms.MQMigrateSubscriptionEngine.openDurableSubscription(MQ
MigrateSubscriptionEngine.java:547)
at com.ibm.mq.jms.MQSession.createDurableSubscriber(MQSession.java:5365)
at com.ibm.mq.jms.MQSession.createDurableSubscriber(MQSession.java:5185)
at com.sun.genericra.outbound.SessionAdapter.createDurableSubscriber(Ses
sionAdapter.java:308)
at com.sun.ejte.j2ee.genericra.test15.ejb.GenericRA15Bean.receiveTextMes
sage(GenericRA15Bean.java:116)

Seems to be an IBM MQ issue -
[http://www-1.ibm.com/support/docview.wss?uid=swg21116114](http://www-1.ibm.com/support/docview.wss?uid=swg21116114)
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[current]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.