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 » JMS MQConnection Failed

Post new topic  Reply to topic
 JMS MQConnection Failed « View previous topic :: View next topic » 
Author Message
Araia
PostPosted: Sun Nov 27, 2011 4:44 pm    Post subject: JMS MQConnection Failed Reply with quote

Newbie

Joined: 27 Nov 2011
Posts: 1

Hi Friends,

I have develop desktop java application with RCP plugin, from this application i want to send message to remote queue manager on server A(192.168.62.134).I have check the connection, the connection is establish. But while i send the message i get this error :

This message error:com.ibm.msg.client.jms.DetailedIllegalStateException: JMSWMQ0018: Failed to connect to queue manager 'QM.INTERFACE.A' with connection mode 'Client' and host name '192.168.62.134'. Check the queue manager is started and if running in client mode, check there is a listener running. Please see the linked exception for more information.

This is my code :

MQQueueConnectionFactory cf = new MQQueueConnectionFactory();
cf.setHostName("192.168.62.134");
cf.setPort(1414);
cf.setTransportType(1);
cf.setQueueManager("QM.INTERFACE.A");
cf.setChannel("SYSTEM.DEF.SVRCONN");
MQConnection connection = (MQConnection)cf.createQueueConnection();

Can anyone advice or give the clue to fix this issue??
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Nov 27, 2011 10:17 pm    Post subject: Reply with quote

Grand High Poobah

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

What is the linked exception?
Do not use system.def.svrconn channel. Create one for the application
_________________
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 » JMS MQConnection Failed
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.