com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2540'.

Oracle Community | johnb-Oracle | 4 years ago
  1. 0

    Oracle Messaging Gateway (to MQ) Configuration Issue

    Oracle Community | 4 years ago | johnb-Oracle
    com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2540'.
  2. 0

    Messaging gateway error

    Oracle Community | 1 decade ago | 302199
    com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2195
  3. 0

    Bad native queue, Messaging Gateway error

    Oracle Community | 1 decade ago | 203904
    com.ibm.mq.MQException: Message catalog not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java. How to connect to a remote Websphere MQ through a remote channel?

    Stack Overflow | 1 year ago | Andrew
    com.ibm.mq.MQException: MQJE001: Completion code '2', Reason'2058'.
  6. 0

    Does MQSeries 5.1 for AIX support JDK 1.2.2 ?

    Google Groups | 2 decades ago | lee_w...@my-deja.com
    com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2058

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.ibm.mq.jmqi.JmqiException

      CC=2;RC=2540;AMQ9520: Channel not defined remotely. [3=channel1]

      at com.ibm.mq.jmqi.remote.impl.RemoteConnection.analyseErrorSegment()
    2. com.ibm.mq
      MQQueueManager.<init>
      1. com.ibm.mq.jmqi.remote.impl.RemoteConnection.analyseErrorSegment(RemoteConnection.java:3752)
      2. com.ibm.mq.jmqi.remote.impl.RemoteConnection.receiveTSH(RemoteConnection.java:2659)
      3. com.ibm.mq.jmqi.remote.impl.RemoteConnection.initSess(RemoteConnection.java:1020)
      4. com.ibm.mq.jmqi.remote.impl.RemoteConnection.connect(RemoteConnection.java:713)
      5. com.ibm.mq.jmqi.remote.impl.RemoteConnectionSpecification.getSessionFromNewConnection(RemoteConnectionSpecification.java:400)
      6. com.ibm.mq.jmqi.remote.impl.RemoteConnectionSpecification.getSession(RemoteConnectionSpecification.java:299)
      7. com.ibm.mq.jmqi.remote.impl.RemoteConnectionPool.getSession(RemoteConnectionPool.java:164)
      8. com.ibm.mq.jmqi.remote.api.RemoteFAP.jmqiConnect(RemoteFAP.java:1578)
      9. com.ibm.mq.jmqi.remote.api.RemoteFAP.jmqiConnect(RemoteFAP.java:1208)
      10. com.ibm.mq.ese.jmqi.InterceptedJmqiImpl.jmqiConnect(InterceptedJmqiImpl.java:351)
      11. com.ibm.mq.ese.jmqi.ESEJMQI.jmqiConnect(ESEJMQI.java:337)
      12. com.ibm.mq.MQSESSION.MQCONNX_j(MQSESSION.java:923)
      13. com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:235)
      14. com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:588)
      15. com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:630)
      16. com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:106)
      17. com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:205)
      18. com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:911)
      19. com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:799)
      20. com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:750)
      21. com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:157)
      22. com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:757)
      22 frames
    3. oracle.mgw.drivers
      MQLink.registerDestination
      1. oracle.mgw.drivers.mq.MQOPHandle.<init>(MQOPHandle.java:92)
      2. oracle.mgw.drivers.mq.MQOPHandleFactory.createOPHandle(MQOPHandleFactory.java:58)
      3. oracle.mgw.drivers.OPHandlePool.getHandle(OPHandlePool.java:133)
      4. oracle.mgw.drivers.mq.MQLink.registerDestination(MQLink.java:384)
      4 frames
    4. oracle.mgw.engine
      ManagedThr.run
      1. oracle.mgw.engine.DestMgr.getForeignDest(DestMgr.java:54)
      2. oracle.mgw.engine.JobData.init(JobData.java:233)
      3. oracle.mgw.engine.Worker.recoverJob(Worker.java:1086)
      4. oracle.mgw.engine.Worker.myRun(Worker.java:98)
      5. oracle.mgw.engine.ManagedThr.run(ManagedThr.java:58)
      5 frames