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 » General IBM MQ Support » Urgent : Channel Communication

Post new topic  Reply to topic
 Urgent : Channel Communication « View previous topic :: View next topic » 
Author Message
anuppc
PostPosted: Mon Feb 16, 2004 11:29 am    Post subject: Urgent : Channel Communication Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

Hi,

Iam trying to use channel to communicate between two queue managers. The 2 Queue Managers are on Windows boxes. There is a sender channel, remote queue definition and an associated transmission queue defined on Box 1. Box 2 has the local queue and the channel receiver.

Iam able to start the channels and pass the message from Box1 to Box2 only when i stop and restart the sender channel. If i dont do this... the message seems to be in the channel. When i browse the sender channel it shows channel state is running and message count is 1.

I thought that the message should be transferred transparently from box1 to box2 via the defined channel and finally onto the specified channel.

If anyone can let me know if i have to do something to get it to work, pls let me know..
tks
anup
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
JasonE
PostPosted: Mon Feb 16, 2004 11:51 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Ignoring clustering, If the channel state is inactive then it will only start if you manually start the channel or have triggering defined - See the intercomms guide for details on triggering channels.

But you state the channel is in running, then you stop and restart to get the message to flow - Are you sure runmqsc QM, dis chs(*) shows the state as running? Is there anything logged in the qmgr\QM\errors directories on either end when you get into this state? Any FDC's in the main errors directory?
Back to top
View user's profile Send private message
anuppc
PostPosted: Mon Feb 16, 2004 1:01 pm    Post subject: Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

yes it is in running state. i see this using the console to verify the status. it shows the channel is in running state. No error logs either.
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
vennela
PostPosted: Mon Feb 16, 2004 2:07 pm    Post subject: Reply with quote

Jedi Knight

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

Quote:
i see this using the console to verify the status

If you mean MQ Explorer, then maybe you need to refresh it to get the current status. MQ Explorer will not refresh automatically.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
anuppc
PostPosted: Tue Feb 17, 2004 5:41 am    Post subject: Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

well it works but...! i think it takes a while to pass the message from box1 to box2. well the machines are on the same network and i dont think it is a network prob. wonder why it takes a while to send the message. The message size is small too! is there any setting that i have to do at the channels?

the sender channel setting "non persistant message speed" is set to FAST by the way!
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Tue Feb 17, 2004 6:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

anuppc wrote:
i think it takes a while to pass the message from box1 to box2.

How do you know? That is, what are you doing to measure the time it takes for the message to go from one queue manager to another?

anuppc wrote:
the sender channel setting "non persistant message speed" is set to FAST by the way!

Have you read the Intercommunications manual to understand what that setting means?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JasonE
PostPosted: Tue Feb 17, 2004 3:13 pm    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

I'd have to emphasize Jeffs update - What are you measuring to see how quickly the message goes across the channel. MQ can handle messages quickly normally so I'd be surpised if it was slow unless there is another reason
Back to top
View user's profile Send private message
anuppc
PostPosted: Wed Feb 18, 2004 11:10 am    Post subject: Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

Hi,

well i dont think it still works actually. I found this in the intercommunication manual : "When you put messages on the remote queue defined at the source queue manager, they are stored on the transmission queue until the channel is started. When the channel has been started, the messages are sent to the target queue on the remote queue manager. "

In my case the channel both sender and receiver are in running state. The message still does not reach the target queue on the remote queue manager.

If i stop and restart the sender channel, then the msg goes to the remote queue! I found on the web some suggestion like : in the transmission queue -"Trigger" property we have to set the "Trigger Data" to the sender channel. I tried this too but no success.
The message is only delivered when the sender channel is restarted!!

My apologies if my queries sound naive!
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
JasonE
PostPosted: Wed Feb 18, 2004 12:11 pm    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

What platforms, versions, csds/fixpacks etc?

When you say the sender and receiver are running - If you go into runmqsc and issue dis chs(*) all, does your channel show as running?

I cant think of any obvious reason a running channel would not flow the message unless the previous batch had not been confirmed.
Back to top
View user's profile Send private message
anuppc
PostPosted: Wed Feb 18, 2004 12:33 pm    Post subject: Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

AMQ8417: Display Channel Status details.
CHANNEL(GAL1.TO.GAL4) XMITQ(TESTQM)
CONNAME(172.16.0.137(1895)) CURRENT
CHLTYPE(SDR) STATUS(RUNNING)
RQMNAME(TESTQM)

This is the result of dis chl(*)

by the way both the boxes are windows and has MQSeries 5.3 with CSD05
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
vennela
PostPosted: Wed Feb 18, 2004 12:56 pm    Post subject: Reply with quote

Jedi Knight

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

Can you post

dis chs(GAL1.TO.GAL4) all

Jason might be interested in whether the channel is INDOUBT or not etc

Maybe from both the boxes
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mq_developer
PostPosted: Wed Feb 18, 2004 3:30 pm    Post subject: Reply with quote

Voyager

Joined: 18 Feb 2002
Posts: 82

alrite here is a guess .. sometimes i have seen it happening , sender channel says running , but its actually retrying ... (yeah , it does lie some times )) , I am not sure why though , Any expert opinion ?? )

So look at your qmgr AMQERR* log , see are there any message receipt confirmation failed error message written ... ( both on the sender & receiver ) ... if so , that would explain why are your messages flowing thru when you do the restart of sender chl.. ( as you start the sender channel , message sequence number on the sender & receiver is reset to 1 ... )

So go ahead & post last few entries on your qmgr errors directory corresponding to the channel in question or confirm do you see any of the channel sequencing errors
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 » General IBM MQ Support » Urgent : Channel Communication
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.