2 Replies Latest reply on Nov 5, 2002 4:43 PM by kbittler

    Messaging gateway error

    302199
      Could anyone help me with following problem:

      I have configured MGW (9.2, W2000) with sample scripts (sample1_adm_setup etc.).
      Target (MQ) queue is 'default'
      When I'm starting MGW agent it produces this record into log:

      (...)
      2002-07-31 09:04:06 MGW Engine 0 434
      Bad native queue DESTQ@MQLINK
      oracle.mgw.common.GatewayException: [800] MQSeries queue manager, QM_plpc0230, 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: MQJE001: Completion Code 2, Reason 2195
           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)
      2002-07-31 09:04:06 MGW Engine 0 434
      Bad native queue DESTQ@MQLINK
      2002-07-31 09:04:06 MGW PNotifier 2 TRACE PipeNotifier
      AdminUtil: done priming connection. Op time = 6209
      2002-07-31 09:04:06 MGW PNotifier 3 TRACE PipeNotifier
      Waiting for notification.

      (...)

      Have anyone had such problem and maybe solved it?

      Regards,

      Tomek Bednarczyk
        • 1. re:Messaging gateway error
          203904
          Hello,

          I am hitting same problem as you have some time back. Was wondering if you have solution that you could pass to me to get my messaging agent working. Following is error I got
          2002-10-19 22:38:14 MGW Engine 0 1
          Agent is initializing...
          2002-10-19 22:38:14 MGW MQD 0 LOG
          Creating MQSeries messaging link:
          link : MQLINK
          queue manager : QM_mal01_00086
          channel : TO_QM_mal01_00086
          host : 169.254.212.14
          port : 1414
          user :
          connections : 1
          inbound logQ :
          outbound logQ : destq
          2002-10-19 22:38:14 MGW AQD 0 LOG
          Creating AQ messaging link:
          link : oracleMgwAq
          database :
          user : MGWAGENT
          connections : 1
          inbound logQ : sys.mgw_recv_log
          outbound logQ : sys.mgw_send_log
          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)
          2002-10-19 22:38:28 MGW Engine 0 434
          Bad native queue DEFAULT@MQLINK
          2002-10-19 22:38:28 MGW Engine 0 LOG
          Initialization failures for SUB_AQ2MQ
          2002-10-19 22:38:28 MGW Engine 0 422
          Errors occured during recovering subscriber SUB_AQ2MQ
          oracle.mgw.common.GatewayException: [435] Initialization failures for SUB_AQ2MQ
               at oracle.mgw.engine.Worker.recoverJob(Worker.java:709)
               at oracle.mgw.engine.Worker.myRun(Worker.java:89)
               at oracle.mgw.engine.ManagedThr.run(ManagedThr.java:58)

          Any help would be really helpful
          • 2. re: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.

            Tomasz: Do you mean that you have created a queue on your MQSeries queue manager with the name 'default', and that is what you are specifying in your MGW configuration? If so, this should work. If not, I'm not sure what that statement means.