Date Created: Fri 04-Feb-2011


    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')

Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

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

WebSphere Categories

Oracle WebLogic Categories

JBoss Categories

Other Categories