Author |
Message
|
krisrock |
Posted: Wed Oct 31, 2007 8:57 am Post subject: channel start problem |
|
|
Acolyte
Joined: 11 Sep 2007 Posts: 65
|
When i create a new channel, server connection channel
and when I try to start it
I get
AMQ8227: Channel not found
What can be the reason for this.
This is windows OS |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Oct 31, 2007 9:11 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Server connection channels are used by clients. You don't start them. What are you trying to do? |
|
Back to top |
|
 |
krisrock |
Posted: Wed Oct 31, 2007 10:04 am Post subject: |
|
|
Acolyte
Joined: 11 Sep 2007 Posts: 65
|
I created a new queuemanager...
created listener..
started the listener..
created channel...
Then when i try to start the channel I get this error sayin
channel not found |
|
Back to top |
|
 |
SAFraser |
Posted: Wed Oct 31, 2007 10:13 am Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
I think..... what bower is asking is, what are you trying to accomplish? As he said, you don't start server conn channels. They are instantiated when a client connects.
Do you have a client that you want to connect to this queue manager? If so, establish a connection from the client and the server conn will start itself. Or are you trying to create a channel to another MQ server (in which case, you have chosen the incorrect channel type).
All very confusing, I know.
Shirley |
|
Back to top |
|
 |
krisrock |
Posted: Wed Oct 31, 2007 11:01 am Post subject: |
|
|
Acolyte
Joined: 11 Sep 2007 Posts: 65
|
i have created queue managers on a windows server.
I created a server connection channel there...
When i try to start the channel i am not able to do it
MQ Explorer is on the same box |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Oct 31, 2007 11:06 am Post subject: |
|
|
Guest
|
SVRCONN channels start when a client application makes a connection to the channel, NOT by a start command. |
|
Back to top |
|
 |
SAFraser |
Posted: Wed Oct 31, 2007 11:08 am Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
bower wrote:
Quote: |
Server connection channels are used by clients. You don't start them. What are you trying to do? |
I wrote:
Quote: |
What are you trying to accomplish? As he said, you don't start server conn channels. They are instantiated when a client connects.
|
You can't do what you are trying to do, and we don't understand why you want to do it. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Oct 31, 2007 11:42 am Post subject: |
|
|
Guest
|
krisrock is a newbie (no offense). I'd guess he's just trying things out.
Channels are different. They aren't objects in the usual sense of queue or process objects. Channels become channels when started. Starting a channel causes the MQCD (channel definition) to be launched into the channel status table.
For SVRCONN channels, it's the client connection that starts the channel. The start command doesn't start a SVRCONN channel. |
|
Back to top |
|
 |
SAFraser |
Posted: Wed Oct 31, 2007 11:47 am Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
I know, I figure he is just beginning his MQ journey. I'd like to try and help him, I hope he posts a little more about what he is trying out. Maybe he'd like to see a connection from his client to his server, or maybe he actually has two queue managers. That's what I was trying to get from him.
Oh my gosh, did I sound grouchy? Has my personality changed since I got to be a "master"? I'm going to stop posting so much. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Oct 31, 2007 12:39 pm Post subject: |
|
|
Guest
|
Quote: |
Oh my gosh, did I sound grouchy? |
Not grouchy. Perhaps a wee bit impatient, but encouraging at the same time. :) |
|
Back to top |
|
 |
krisrock |
Posted: Wed Oct 31, 2007 4:41 pm Post subject: |
|
|
Acolyte
Joined: 11 Sep 2007 Posts: 65
|
Okie...here i am...
I will explain the full issue.
There is a windows box(server) with WebSphere MQ 6.0 installed in it.
I created a queue manager.
I started the queuemanager.
Then I ran runmqsc quemanager
I defined the listener and started it.
I defined the channel and tried to start it. CHLTYPE(SVRCONN)
I got the message CHANNEL NOT FOUND
I started the MQEXPLORER on same machine. I added the queuemanager.
The channel status on explorer is "inactive"
What does this mean?
IBM asked me to install fix pack 2.2 which didnt resolve the issue.
I am a newbie...I am out to the masters for help.
thanks in advance |
|
Back to top |
|
 |
SAFraser |
Posted: Wed Oct 31, 2007 7:24 pm Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
krisrock,
There are many types of channels. svrconn is just one type. Other types are client conn, sender, receiver and others, too.
You have created a svrconn channel on an MQServer installation. A svrconn channel cannot be "started" with a command. It is not that type of channel. FixPack 2.2 will not help, because it is not broken! This is the expected behavior for a svrconn channel.
When you get a channel that is working, what do you want to do next? Do you want to send a message to another queue manager? If yes, then you need a sender channel, not a svrconn. With a sender, you will also need some other objects, too.
- OR -
When you get a channel that is working, do you want to send a message from an MQClient to this MQServer? If yes, then you need to set a variable on the Client and send a message from MQClient to MQServer. When you send from the Client, the svrconn channel that you created will start on its own (as it is designed to do).
Have you had a chance to look at the MQ Intercommunications Manual yet? This will help you understand the different ways that MQ can send and receive messages. If you look in our Links forum on this site, there are some posts that have links to the MQ Manuals.
If you can tell us what you want to do after you have a working channel, we can help guide you to the correct channel type. Hope this helps!
Shirley |
|
Back to top |
|
 |
krisrock |
Posted: Thu Nov 01, 2007 9:04 am Post subject: |
|
|
Acolyte
Joined: 11 Sep 2007 Posts: 65
|
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Nov 01, 2007 12:05 pm Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Hmmm, kind of sounds like you are wondering why the channel did not start when you connected with MQ Explorer.
When MQ Explorer is on the same machine, the connection normally is BINDING and not a client connection. So, it will not start the SVRCONN. You can Show the local QMGR again and then when you connect it will start the SVRCONN.
I do that to test settings on SVRCONN channels.
Personally, I do not like the SHOW/HIDE/REMOVE terminology. I wish the product folks would have taken the lead from the DB2 folks and called it Catalog/UnCatalog.
imho _________________ 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 |
|
 |
bruce2359 |
Posted: Thu Nov 01, 2007 12:54 pm Post subject: |
|
|
Guest
|
Quote: |
and called it Catalog/UnCatalog |
A rose by any other name...
Catalog/Uncatalog have other meanings in the z/OS environment. |
|
Back to top |
|
 |
|