Author |
Message
|
sara |
Posted: Wed Oct 31, 2007 7:45 am Post subject: "Remote channel unknown AMQ4080" |
|
|
Newbie
Joined: 31 Oct 2007 Posts: 9
|
Hi,
I'm trying to go through the "Sending message on a remote queue"-tutorial, but fails when I'm trying to ping the local channel. I've done every step in the tutorial.
I get error: "Remote channel unknown AMQ4080"
Does anyone know what to do?
please help
Regards,
Sara |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Oct 31, 2007 8:16 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Check the case of the channel name. WMQ is case sensitive. |
|
Back to top |
|
 |
sara |
Posted: Thu Nov 01, 2007 12:32 am Post subject: |
|
|
Newbie
Joined: 31 Oct 2007 Posts: 9
|
Thanks for your reply. But that was not it, I've copy/pasted the name.
One thing though is that the receiver channel is inactive and when I try to start the sender channel (message says it's ok) it gets a blue symbol (Alert. The object's status is indeterminate). I don't know if this has an impact. The queue managers is up and running on both sides.
I've tried to send postcards between these two machines and this works fine, but then channels are created automatically (cluster-channels) so the connection between the machines seems to be ok.
Any other suggestions? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 01, 2007 2:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What is the type of your channel pair?
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
sara |
Posted: Thu Nov 01, 2007 2:38 am Post subject: |
|
|
Newbie
Joined: 31 Oct 2007 Posts: 9
|
Receiver - Sender channels |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 01, 2007 2:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You did not specify the version of MQ. As 5.3 is out of Support I will assume we are talking about 6.0. I hope you're on the latest support pack because 6.0.0.0 is not a really good version.
As well what is the size of the message put to the remote queue?
What xmitq is the channel using?
What is the max msg size on the dlq, xmitq, & channel?
What is the max msg size of the receiving chl & dest queue, dlq?
Have you tried to ping the channel when it is not running?
Have you tried to telnet to the channel's conname settings? _________________ MQ & Broker admin |
|
Back to top |
|
 |
sara |
Posted: Thu Nov 01, 2007 4:40 am Post subject: |
|
|
Newbie
Joined: 31 Oct 2007 Posts: 9
|
I'm using 6.0 trial version, in which I assume the latest support pack was included.
I tried to write "Hello world" in my message, so it is very small.
It is default size on the channels, queues and queue managers: 4194304
It is when I'm trying to ping the receiver channel that I get the error: "Remote channel unknown AMQ4080"
No, I've not tried to telnet the channel.
I've only followed the tutorial step buy step. It is no problem to put a message on the remote q, but it is not transfered to the local (receiver q).
In the end, I want to set up a client-server connection, but in the tutorial it says that I should have set up a remote connection first. Is that necessary? |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Nov 01, 2007 5:08 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
sara wrote: |
In the end, I want to set up a client-server connection, but in the tutorial it says that I should have set up a remote connection first. Is that necessary? |
If all you want is the client-server connection, you can start by creating a SVRCONN channel, using an MQSERVER environment variable, and running one of the samples (amqsputC, amqsgetC).
You don't need to do the qmgr-qmgr remote connection.
Code: |
C:\>strmqm pubsub.qmgr
WebSphere MQ queue manager 'pubsub.qmgr' starting.
5 log records accessed on queue manager 'pubsub.qmgr' during the log replay phase.
Log replay for queue manager 'pubsub.qmgr' complete.
Transaction manager state recovered for queue manager 'pubsub.qmgr'.
WebSphere MQ queue manager 'pubsub.qmgr' started.
C:\>start runmqlsr -t tcp -p 1414 -m pubsub.qmgr
C:\>set MQSERVER=SYSTEM.DEF.SVRCONN/tcp/localhost
C:\>amqsputc SYSTEM.DEFAULT.LOCAL.QUEUE
Sample AMQSPUT0 start
target queue is SYSTEM.DEFAULT.LOCAL.QUEUE
as a client
Sample AMQSPUT0 end
C:\> |
|
|
Back to top |
|
 |
sara |
Posted: Thu Nov 01, 2007 6:00 am Post subject: |
|
|
Newbie
Joined: 31 Oct 2007 Posts: 9
|
It works!!! Thanks a lot!
It must have been the
set MQSERVER=SYSTEM.DEF.SVRCONN/tcp/localhost
that did it.
I had created the MQSERVER as an environment variable earlier, but it was not changed by this command, so it has to be something wrong with that one.
Thanks again!  |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Nov 01, 2007 6:32 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It might not have been in effect for the shell you were starting your program from. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|