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 » How to use SVRCONN channel auto-definition

Post new topic  Reply to topic
 How to use SVRCONN channel auto-definition « View previous topic :: View next topic » 
Author Message
kun.leeing
PostPosted: Sun Mar 01, 2009 8:45 pm    Post subject: How to use SVRCONN channel auto-definition Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

Hi, friends

I open the qmgr's channel auto-definition setting.

And then I make my app(JMS) connect to server using properties

Code:
cf.setStringProperty(WMQConstants.WMQ_HOST_NAME, hostname);
cf.setIntProperty(WMQConstants.WMQ_PORT, port);
cf.setStringProperty(WMQConstants.WMQ_CHANNEL, "mychannelname");
cf.setIntProperty(WMQConstants.WMQ_CONNECTION_MODE, WMQConstants.WMQ_CM_CLIENT);
cf.setStringProperty(WMQConstants.WMQ_QUEUE_MANAGER, queueManagerName);
cf.setIntProperty(WMQConstants.WMQ_BROKER_VERSION, WMQConstants.WMQ_BROKER_V1);   


And then MQ server really create a svrchannel by itself. And the channel's status is non-action. And its MCA is unset.
My app seems can not intercommunicate with it.

My app throws these error:

Quote:
Message : JMSWMQ0018: Failed to connect to queue manager 'QM_test' with
connection mode 'Client' and host name 'localhost'.
Class : class com.ibm.msg.client.jms.DetailedJMSException
Error Code : JMSWMQ0018
Explanation : null
User Action : 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.


What's the usage of channel auto-definition and how can I make my app communicate with MQ server by using the channel?

thanks.
Back to top
View user's profile Send private message Send e-mail
kun.leeing
PostPosted: Sun Mar 01, 2009 11:05 pm    Post subject: Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

Sorry, everybody.

I've solved this problem.

thanks.
Back to top
View user's profile Send private message Send e-mail
nareshm13
PostPosted: Fri Dec 07, 2012 1:28 am    Post subject: Reply with quote

Apprentice

Joined: 07 Dec 2012
Posts: 29

Please let me know how did you reslove it
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Dec 07, 2012 5:50 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

nareshm13 wrote:
Please let me know how did you reslove it


Any solution to this 3 year old problem will be on a different level of the software. Also the OP hasn't posted in here for 2 years.

Why not open a new thread describing your problem, what version you're using and what you have already tried to resolve it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
nareshm13
PostPosted: Fri Dec 07, 2012 5:55 am    Post subject: Reply with quote

Apprentice

Joined: 07 Dec 2012
Posts: 29

Sure i will
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 » How to use SVRCONN channel auto-definition
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.