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 Installation/Configuration Support » setting channel

Post new topic  Reply to topic
 setting channel « View previous topic :: View next topic » 
Author Message
rohini_raut
PostPosted: Wed Apr 02, 2003 11:02 am    Post subject: setting channel Reply with quote

Newbie

Joined: 02 Apr 2003
Posts: 6

Hi there,

I am new to mqseries. I am trying to set intercommunication between 2 queuemanager on same server on windows 2000 os.
I am trying to set channel for remote queueing but it is not working, it is showing me retrying status. what should I write in conname option.

Please help.

Thanks
Rohini
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Apr 02, 2003 11:11 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Rohini:

Not sure what all you have defined and what all you haven't defined.
Need more information
How many qmgrs, are they on same box or different box etc.

If you are new then you should definitely look at this thread.

http://www.mqseries.net/phpBB2/viewtopic.php?t=6802

In the conname you should give the IP address and port
Like localhost(1414) or
10.10.20.165(1414)
etc

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sree
PostPosted: Wed Apr 02, 2003 4:36 pm    Post subject: Reply with quote

Novice

Joined: 12 Mar 2003
Posts: 19

I guess you have defined 2 Qmgrs. if so, their listener must run on different ports. so, the connection property to your channels should be like this.

Channel1 = localhost(1414)
Channel2 = localhost(1415)

Assuming your Qmgrs are running on 1414 and `1415 ports.
_________________
Thank you.

sree
Back to top
View user's profile Send private message
rohini_raut
PostPosted: Thu Apr 03, 2003 11:18 am    Post subject: Reply with quote

Newbie

Joined: 02 Apr 2003
Posts: 6

thank you,

Now I have set conname to localhost(1415) and now channel is showing running status.
But I am facing new problem. I am not able to put message on remote queue.
I am trying to use first steps Api exerciser to put message on remote queue.
HEre is the scenario.

QM1
remotequeuedef1 --- pointing to LocalQueue1 on Qm2.
transmissionqueue1
Channelqm1toqm2 --- sender (which is in running state)

Qm2
LocalQueue1
Channelqm1toqm2 --- receiver
In Api exercise I am connecting to QM1 and then try to open to remotequeuedef1 but getting this reason code MQRC_option_not_valid_for_type (2045).

IS anything wrong with this method to put message on remote queue?
How should I put message on remote queue?

Please help
Rohini
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Apr 03, 2003 11:33 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Rohini:

Your setup is just fine.

API Exerciser has some defaults (for open options) and you have to reset them.

API Exerciser -> MQCONN ->
(after you are connected to QMGR)

Select Queues -> check Advanced mode -> MQOPEN ->
1. Under Input Options uncheck MQOO_INPUT_AS_Q_DEF
2. Check MQOO_OUTPUT

That should take care of it.

See this thread if you have problems.
http://www.mqseries.net/phpBB2/viewtopic.php?t=2507&highlight=2045

Use the search button above and search for "2045" for extensive inputs.



You can do one another thing also
on a command prompt you can issue the following command:

amqsput remotequeuedef1 QM1

(the syntax is
amqsput <queue name> <qmgr name> )


-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
meekings
PostPosted: Thu Apr 03, 2003 12:40 pm    Post subject: Reply with quote

Voyager

Joined: 28 Jun 2001
Posts: 86
Location: UK, South West

I know this is a little pedantic, but ... 1414 is the only port officially assigned for MQ (see http://www.iana.org/assignments/port-numbers). If you have more than one qm on a box, its listener should really be on one of the dynamic ports in the range 49152 through 65535.

Does "anal-retentive" have a hyphen?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rohini_raut
PostPosted: Fri Apr 04, 2003 11:27 am    Post subject: Reply with quote

Newbie

Joined: 02 Apr 2003
Posts: 6

thanks vennela
it is working now

Rohini
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » setting channel
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.