Idea Details

Add MQ Agent Support for zOS

Last activity 09-29-2015 06:28 PM
Michael Ball's profile image
01-12-2015 01:16 PM

Currently the MQ Agent can only connect to zOS Queue Managers as a Unix or Windows client. A connection initiated from zOS does not work. Any attempt to connect from zOS to the queue manager results in a 2012 MQRC_ENVIRONMENT_ERROR. Please enhance the current MQ Agent to support connecting from zOS as well as Windows and Unix.

 

1/12/15 01:14:38 PM EST [ERROR] [com.wily.powerpack.websphereMQ.agent.MQMonitor.TracerDriverThread] MQMonitor: For configuration instance [deleted] and the drivers(namelist,cluster) an error occured in sending query to MQ. The target MQ ([deleted]) may be down.  Reason code 2012 MQRC_ENVIRONMENT_ERROR

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

        at com.ibm.mq.MQSESSION.getConnectionRequestInfo(MQSESSION.java:2230)

        at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:888)

        at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:780)

        at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:729)

        at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:177)

        at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:745)

        at com.wily.powerpack.websphereMQ.agent.MQMonitor.TracerDriverThread.instantiateMQQueueManager(TracerDriverThread.java:275)

        at com.wily.powerpack.websphereMQ.agent.MQMonitor.MQClusterQMState.checkIsPlatformZOS(MQClusterQMState.java:297)

        at com.wily.powerpack.websphereMQ.agent.MQMonitor.TracerDriverThread.run(TracerDriverThread.java:384)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

        at java.lang.Thread.run(Thread.java:784)

1/12/15 01:14:38 PM EST [WARN] [com.wily.powerpack.websphereMQ.agent.MQMonitor.trace.MQQMConnectionManager] MQQMConnectionManager.mqConnect(ConfigurationInstance, boolean) An MQException has occured. Reason Code: 2012 MQRC_ENVIRONMENT_ERROR while trying to connect to configuration instance

 

 

1/06/15 03:37:06 PM EST [DEBUG] [com.wily.powerpack.websphereMQ.agent.MQMonitor.trace.handshake.HandshakeConnector] HandshakeConnector.getQueueManager

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

        at com.ibm.mq.MQSESSION.getConnectionRequestInfo(MQSESSION.java:2230)

        at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:888)

        at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:780)

        at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:729)

        at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:177)

        at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:745)

        at com.wily.powerpack.websphereMQ.agent.MQMonitor.trace.handshake.HandshakeConnector.getQueueManager(HandshakeConnector.java:160)

        at com.wily.powerpack.websphereMQ.agent.MQMonitor.trace.handshake.HandshakeQM.establishHandshakeQM(HandshakeQM.java:54)

        at com.wily.powerpack.websphereMQ.agent.MQMonitor.trace.handshake.HandshakeWriter.run(HandshakeWriter.java:135)

1/06/15 03:37:06 PM EST [ERROR] [com.wily.powerpack.websphereMQ.agent.MQMonitor.trace.handshake.HandshakeQM] HandshakeQM.establishHandshakeQM Attempt #1. Pro

blem in getting connection to queue manager for handshake; host: 7.35.102.97, port: 1462. Going to sleep for 60000 milliseconds before trying again.

1/06/15 03:37:06 PM EST [WARN] [com.wily.powerpack.websphereMQ.agent.MQMonitor.trace.MQQMConnectionManager] MQQMConnectionManager.mqConnect(ConfigurationInst

ance, boolean) An MQException has occured. Reason Code: 2012 MQRC_ENVIRONMENT_ERROR while trying to connect to configuration instance ...


Comments

01-14-2015 10:50 AM

One option is to use Sysview which can natively monitor all MQ manages that run on z O/S and integrates into APM seamlessly.