Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with com

Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2531' ('MQRC_PUBSUB_INHIBITED').

        at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:204)

        ... 39 more

 

Solution:

ALTER QMGR PSMODE(ENABLED)

 

/opt/mqm/bin/dspmqaut -m DHKL010RBP -t qmgr -p wasadm

 

setmqaut -m DHKL010RBP -n SYSTEM.BASE.TOPIC -t topic -p wasadm +sub +pub

setmqaut -m DHKL010RBP -t qmgr -p wasadm -all +connect +inq +setall +dsp +setid

 

setmqaut -m DHKL010RBP -t queue -n SYSTEM.CLUSTER.TRANSMIT.QUEUE -p wasadm -all +browse +get +inq +passall +put +setall +dsp +setid

猜你喜欢

转载自buralin.iteye.com/blog/2387126