1 Reply Latest reply on Nov 5, 2002 4:46 PM by kbittler

    Bad native queue, Messaging Gateway error

    203904
      I am trying to set up AQ with MQ after setting up everything I get following error.

      I have no clue how to resolve this at this point. Any help is really needed. I am running
      Oracle 9i release 2, My messaging agent is running and reachable buy keeps throwing this error
      in log file.
      2002-10-19 22:38:14 MGW Engine 0 7
      Queue DEFAULT@MQLINK has been registered.
      2002-10-19 22:38:14 MGW Engine 0 9
      Propagation Schedule SCH_AQ2MQ has been added.
      2002-10-19 22:38:14 MGW Engine 0 13
      MGW subscriber SUB_AQ2MQ has been created.
      2002-10-19 22:38:14 MGW Engine 0 18
      MGW subscriber SUB_AQ2MQ has been activated.
      2002-10-19 22:38:14 MGW Engine 0 13
      MGW subscriber SUB_AQ2MQ(MGWUSER.SRCQ --> DEFAULT@MQLINK) has been created.
      2002-10-19 22:38:14 MGW Engine 0 2
      Agent is up and running.
      2002-10-19 22:38:28 MGW Engine 0 434
      Bad native queue DEFAULT@MQLINK
      oracle.mgw.common.GatewayException: [800] MQSeries queue manager, QM_mal01_00086, creation failed
           at oracle.mgw.common.MgwUtil.GatewayException(MgwUtil.java:424)
           at oracle.mgw.drivers.mq.MQOPHandle.<init>(MQOPHandle.java:60)
           at oracle.mgw.drivers.mq.MQLink.checkAdminConn(MQLink.java:312)
           at oracle.mgw.drivers.mq.MQLink.registerDestination(MQLink.java:372)
           at oracle.mgw.engine.DestMgr.getForeignDest(DestMgr.java:49)
           at oracle.mgw.engine.JobData.init(JobData.java:163)
           at oracle.mgw.engine.Worker.recoverJob(Worker.java:708)
           at oracle.mgw.engine.Worker.myRun(Worker.java:89)
           at oracle.mgw.engine.ManagedThr.run(ManagedThr.java:58)

      [Linked-exception]
      com.ibm.mq.MQException: Message catalog not found
           at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:171)
           at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:228)
           at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:245)
           at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
           at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:150)
           at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:666)
           at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:615)
           at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:436)
           at oracle.mgw.drivers.mq.MQOPHandle.<init>(MQOPHandle.java:56)
           at oracle.mgw.drivers.mq.MQLink.checkAdminConn(MQLink.java:312)
           at oracle.mgw.drivers.mq.MQLink.registerDestination(MQLink.java:372)
           at oracle.mgw.engine.DestMgr.getForeignDest(DestMgr.java:49)
           at oracle.mgw.engine.JobData.init(JobData.java:163)
           at oracle.mgw.engine.Worker.recoverJob(Worker.java:708)
           at oracle.mgw.engine.Worker.myRun(Worker.java:89)
           at oracle.mgw.engine.ManagedThr.run(ManagedThr.java:58)
        • 1. re:Bad native queue, Messaging Gateway error
          kbittler
          Makarand: The last stack trace in the log file indicates that the MQSeries error strings have not been included in the CLASSPATH specified in mgw.ora. On Solaris, for example, you would add /opt/mqm/java/lib to the CLASSPATH setting. Once you have done this, it will be easier to discover the source of the error.