Author |
Message
|
anuppc |
Posted: Mon Feb 16, 2004 11:29 am Post subject: Urgent : Channel Communication |
|
|
 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 |
|
 |
JasonE |
Posted: Mon Feb 16, 2004 11:51 am Post subject: |
|
|
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 |
|
 |
anuppc |
Posted: Mon Feb 16, 2004 1:01 pm Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Mon Feb 16, 2004 2:07 pm Post subject: |
|
|
 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 |
|
 |
anuppc |
Posted: Tue Feb 17, 2004 5:41 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Tue Feb 17, 2004 6:11 am Post subject: |
|
|
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 |
|
 |
JasonE |
Posted: Tue Feb 17, 2004 3:13 pm Post subject: |
|
|
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 |
|
 |
anuppc |
Posted: Wed Feb 18, 2004 11:10 am Post subject: |
|
|
 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 |
|
 |
JasonE |
Posted: Wed Feb 18, 2004 12:11 pm Post subject: |
|
|
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 |
|
 |
anuppc |
Posted: Wed Feb 18, 2004 12:33 pm Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Wed Feb 18, 2004 12:56 pm Post subject: |
|
|
 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 |
|
 |
mq_developer |
Posted: Wed Feb 18, 2004 3:30 pm Post subject: |
|
|
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 |
|
 |
|