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 » Channel Exit Prevents Listener Starting Channel

Post new topic  Reply to topic
 Channel Exit Prevents Listener Starting Channel « View previous topic :: View next topic » 
Author Message
RobP
PostPosted: Fri Nov 23, 2007 9:20 am    Post subject: Channel Exit Prevents Listener Starting Channel Reply with quote

Newbie

Joined: 08 Nov 2007
Posts: 6

Good day,

I have a very simple test environment on a windows box. I have one QM with a local queue and a reciever channel and i have a second QM with a remote queue definition, transmission queue and sender channel. These communicate fine normally.

I am testing a Channel Message exit on the reciever channel. It does the very simple task of changing the persistence on the incoming message.
When the exit is specified for the Channel, the listener does not automatically start the channel when the sender attempts to connect (as it would without the exit specified). However if i manually start the reciever channel (using MQExplorer) the messages flow freely (with the exit doing as it should).

I am trying to understand why specifying the exit prevents the channel from being automatically started and whether this can be rectified.

I did do some searching around the web and forums, but found nothing pertaining to this (though it always seems hard to ask the right question to get the answer you want)

Thanks in advance
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Sat Nov 24, 2007 12:16 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

by no means am I an 'exit' specialist, but it does sound like the exit has something to do with it...

what platform are you running on and which version(s) of MQ are involved?
did you develop this exit yourself?
is it working somewhere else?

for starters...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Nigelg
PostPosted: Mon Nov 26, 2007 12:20 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

The AMQERR??.LOG file on the RCVR side should contain an error msg detailing why the channel failed to start.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Mon Nov 26, 2007 5:04 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Yep, I use the MS0R security exit and it works. This has something to do with this specific exit. Check the error log on the receive and see if it says anything about paths.

In UNIX, when you create the QMGR the default path stanzas will be added with a '/' at the end of the path and it should not be there. It caused my exits not to start unless I fully qualified the path.
_________________
Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3
Back to top
View user's profile Send private message AIM Address
RobP
PostPosted: Tue Nov 27, 2007 1:33 pm    Post subject: Reply with quote

Newbie

Joined: 08 Nov 2007
Posts: 6

Apologies for my belated response,

I am ashamed to say i think it was a school-boy error on my part. I think i mistakenly had the receiver channel in a Stopped state at random points when testing. If I'm not mistaken the listener wouldn't start the channel from this state. I did check it with and without the exit multiple times and it appeared to only have problems when the exit was in use, but i suspect the sequence of commands i issued each time were the same, resulting in this apparent fault with the exit. coming to it afresh today with clearer thoughts of what I'm doing and i see consistent behavior both with and without the exit and all's well in MQ land

Short Answer, user error.

Thank you for your help and I'm sorry for wasting your time.
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 » Channel Exit Prevents Listener Starting 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.