ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Reason Code 2019 on TopicSession.createSubscriber

Post new topic  Reply to topic
 Reason Code 2019 on TopicSession.createSubscriber « View previous topic :: View next topic » 
Author Message
bd_mq
PostPosted: Wed Apr 12, 2006 4:40 pm    Post subject: Reason Code 2019 on TopicSession.createSubscriber Reply with quote

Newbie

Joined: 12 Apr 2006
Posts: 4

In need of a fresh set of eyes...

I have a app using JMS with WMQ 6.0 as the JMS provider. WMQ is running on Red Hat EL. App uses client mode and both point-to-point and publish/suscribe. When app runs in Tomcat on Windows box, all is well. When app runs in WAS on separate Linux box, we get the below error at startup when trying to create the suscriber. App works in WAS on same Linux box when ActiveMQ is the JMS provider.

Code:
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2019
        at com.ibm.mq.MQSPIQueueManager.spiCancelDeferred(MQSPIQueueManager.java:182)
        at com.ibm.mq.jms.MQBrokerSubscriptionEngine.cancelDeferredMessage(MQBrokerSubscriptionEngine.java:2945)
        at com.ibm.mq.jms.MQBrokerSubscriptionEngine.openSubscription(MQBrokerSubscriptionEngine.java:433)
        at com.ibm.mq.jms.MQMigrateSubscriptionEngine.openSubscription(MQMigrateSubscriptionEngine.java:197)
        at com.ibm.mq.jms.MQSession.createTSubscriber(MQSession.java:4985)
        at com.ibm.mq.jms.MQTopicSession.createSubscriber(MQTopicSession.java:786)



Code:

User(mqm) Program(amqrmppa)
AMQ6125: An internal WebSphere MQ error has occurred.
AMQ6184: An internal WebSphere MQ error has occurred on queue manager



Based on other suggestions/postings, I've looked at various things from bugs in the code (objects being closed by other threads, etc.) to unsupported codesets between the systems. All with no luck.

Any pointers appreciated.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 12, 2006 7:21 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Do you have RFP 1 installed ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Apr 13, 2006 3:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Have you first confirmed that you can establish an plain MQ client connection from the Linux box?

What version of WAS are you running? Is it 6.x?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bd_mq
PostPosted: Thu Apr 13, 2006 9:31 am    Post subject: Reply with quote

Newbie

Joined: 12 Apr 2006
Posts: 4

I did confirm that I can establish a plain MQ client connection from the Linux box.

WAS is version 6.0.2.

RPF 1 is not installed. Will that help?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 13, 2006 9:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Depending on who you listen to, you may have to establish a connection to the default WAS 6 messaging, and bridge that to MQ.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bd_mq
PostPosted: Thu Apr 13, 2006 10:59 am    Post subject: Reply with quote

Newbie

Joined: 12 Apr 2006
Posts: 4

I believe I have found the problem.

I'm using WMQ 6 and WAS 6, but it looks like WAS 6 is shipped with WMQ 5.3 JAR files. A quick test confirmed. Now I just have to figure out to upgrade WAS 6 to support WMQ 6.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 13, 2006 2:10 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Now if you are connecting via a client connection there is a little feature with V6. You better use a JAAS principal and pass that for the connection or use the connect form:

conn = qcf.createConnection(usr,pwd);

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Reason Code 2019 on TopicSession.createSubscriber
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.