Date Created: Fri 04-Feb-2011

Get my WebSphere MQ course here >> http://www.themiddlewareshop.com/products/


2540 (09EC) (RC2540): MQRC_UNKNOWN_CHANNEL_NAME

Error noticed in Java WebSphere MQ client application

Explanation
An MQCONN call was issued from a client to connect to a queue manager but the attempt to establish communication failed because the queue manager did not recognise the channel name.

Example
A client channel was created

DEFINE CHANNEL('CLIENT.TO.TEST.QUEUE') +
CHLTYPE( CLNTCONN ) +
CONNAME(192.168.0.171) +
DESCR('WebSphere MQ client connection to server') +
TRPTYPE( TCP ) +
QMNAME(TEST.QUEUE) +
REPLACE

Solution
Needed to add a channel from the server to the client e.g.

DEFINE CHANNEL('CLIENT.TO.TEST.QUEUE') +
CHLTYPE(SVRCONN) +
TRPTYPE(TCP) +
DESCR('Server connection to WebSphere MQ client')

Get my WebSphere MQ course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many leading brands around the world. Steve specialises in JEE, DevOps and Thought Leadership.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

Courses

  • WebSphere Courses

Articles

WebSphere Categories

Other Categories