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 not starting

Post new topic  Reply to topic
 Channel not starting « View previous topic :: View next topic » 
Author Message
DragonFist
PostPosted: Mon Feb 09, 2004 1:22 pm    Post subject: Channel not starting Reply with quote

Acolyte

Joined: 11 Nov 2003
Posts: 52

Hi guys
I am trying to start a channel using runmqchl -c FMCQM.CL.TCP of type server connection. It is saying that the type of channel not suitable for action requested ( AMQ9502) and channel program ended abnormally (AMQ9999). I couldnt figure out wats the problem is . Also why its not suitable to start the channel. If anybody has faced this type of problem, please suggest me wats wrng with it. Any help would be appreciated.

Thx in advance
_________________
DragonFist
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Feb 09, 2004 1:33 pm    Post subject: Reply with quote

Jedi Knight

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

Quote:
runmqchl -c FMCQM.CL.TCP of type server connection

You CANNOT start a SVRCONN channel. When an application client connects to a queue manager, then a SVRCONN channel will be automatically started by the queue manager.

It would be helpful why you are trying to do this. Looks like that's a channel created by workflow. What kind of problem are you facing
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DragonFist
PostPosted: Mon Feb 09, 2004 2:11 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Nov 2003
Posts: 52

you got it right vennela. I am trying to connect to workflow thru this channel. I wrote a jms program to connect to this qmanager(FMCQM) and put an xml message on EXEXMLINPUTQ. It is showing that it is connecting at the program level and putting the message on it. But when I go to the Queue and check the message its not there. So I am kinda confused here and tried to start the channel thinking its inactive thats y its not putting the message on the queue.
Wat I m trying to do is to put a message on EXEXMLINPUTQ so that workflow picksup up the message using UPES and start the process activity. I am a bit confused about the UPES concept too. Am i going right. Please let me know.. how to resolve this problem.
_________________
DragonFist
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Feb 09, 2004 2:34 pm    Post subject: Reply with quote

Jedi Knight

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

Your PUT is done successfully. Do not bother to start the SVRCONN channel.

Quote:
But when I go to the Queue and check the message its not there.

It will not be. Because as soon as you put a message to workflow's EXEXMLINPUTQ, it will be picked up by workflow and do whatever it needs to do.

There are two types of messages that you can put to workflow's EXEXMLINPUTQ
1. XML messages to create/start/suspend/terminate processes
2. XML messages that are replies to synchronous UPESs

There is a sample program out there on the repository for (1) above.

What is a UPES.
===========
A UPES is an MQ queue. You can setup an activity to be run by a UPES. When you do this, when the process come to that activity workflow (mind it not you) puts an XML message to that UPES queue. This message contains the data like process instance name I/P container data etc.

If you have defined the activity as an asynchronous activity, as soon as workflow PUTs the XML message the process goes to the next step. But if you have defined the UPES activity as a synchronous activity, workflow expects a reply. This reply you PUT to the EXEXMLINPUTQ

Quote:
how to resolve this problem.


There are couple of ways to know why your message is not able to do what you are intending to do.
1. Logon to the admin utility using fmcautil and while you keep it running send an XML message and the error will be spit out to the admin utilities console
2. Set the RESPONSE REQUIRED filed in the XML message to YES and set ReplyToQ and the error message will be sent to the ReplyToQ.
(look at the sample code if you don't know how to do this)

Hope things are clear.

Hope one of the moderators will move the post to the workflow forum so that you will get a better response.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DragonFist
PostPosted: Mon Feb 09, 2004 4:24 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Nov 2003
Posts: 52

Thanx venny,
the code u have provided did really saved my life. Everything is working fine. Once again thanx for clearing my doubts.
_________________
DragonFist
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 not starting
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.