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 » MQ 7.0 and WAS 6.1 connection

Post new topic  Reply to topic
 MQ 7.0 and WAS 6.1 connection « View previous topic :: View next topic » 
Author Message
shavo25
PostPosted: Mon Mar 23, 2009 7:34 pm    Post subject: MQ 7.0 and WAS 6.1 connection Reply with quote

Apprentice

Joined: 16 Feb 2009
Posts: 29

I have an enterprise application (JEE1.4) running on WAS 6.1. I followed this tutorial:
http://www.ibm.com/developerworks/websphere/techjournal/0505_woolf/0505_woolf.html -- Make WebSphere MQ the JMS provider for applications deployed in WebSphere Application Server.

Now when i launch my j2ee client i can send/publish messages to the queue/topic and mdb prints out the messages to the log.

But when i stop the listener port for topic, send in a message and start the listener port again, i assume that my durable subscriber mdb will print out the message, but i am getting some weird excpetions around connecting to the queue manager on MQ.

Message : com.ibm.msg.client.jms.DetailedInvalidDestinationException: JMSWMQ2002: Failed to get a message from destination 'SYSTEM.MANAGED.NDURABLE.49C1DF6F03FF0020'. WebSphere MQ classes for JMS attempted to perform an MQGET; however WebSphere MQ reported an error. Use the linked exception to determine the cause of this error.
Class : class com.ibm.msg.client.jms.DetailedInvalidDestinationException
Caused by [1] --> Message : com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2052' ('MQRC_Q_DELETED').

In my admin console >> environment variables WAS_LIBS_DIR is pointing to the correct folder, inside that directory, i have my WMQ lib folder with three jars:
com.ibm.mq.jar, com.ibm.mqjms.jar and dhbcore.jar.

Should i overwrite these jar files with the ones from websphere MQ 7.0?

Or why is it that the queue seems to have been been deleted?

Actually another thing when i try in my admin console to test a connection to my websphere MQ server, i get the error:
*WebSphere MQ server Websphere MQ connection test failed for WebSphere MQ queue manager SHANEMGR. CWSJP0019E: An attempt to connect to WebSphere MQ using the information that is provided by the WebSphere MQ Server bus member SHANEMGR resulted in a connection to a WebSphere MQ queue manager running on version Unknown - 700 0x2bc on platform MQPL_WINDOWS_NT. This configuration is not supported. Destinations that are assigned to the WebSphere MQ Server bus member are not accessible..
*

Is this why i need the WMQ 7.0 jar files or is websphere application server 6.1 not compatiable with MQ 7.0?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Mar 23, 2009 8:30 pm    Post subject: Reply with quote

Grand High Poobah

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

What is wrong with the picture of a durable subscriber going against a temporary queue or a dynamic queue?
_________________
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 » MQ 7.0 and WAS 6.1 connection
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.