cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting error MQJE001 with RC 2035 when connection to queue manager v 8.0.0.4 on aix

John_Kelly2
Guide

Pluging connecting to Quemanager on AIX getting the followeing errors:

2017-08-03 10:32:42 SEVERE [MQQueueChannelMonitorUpdated@Dev  MQ Queue Channel Monitor Updated_0] setup method: com.ibm.mq.headers.MQExceptionWrapper exception occured. Reason Code = 2035; Error code = ; Message = 'MQJE001: Completion Code '2', Reason '2035'.'; Stacktrace is 'com.ibm.mq.headers.MQExceptionWrapper: MQJE001: Completion Code '2', Reason '2035'.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.ibm.mq.headers.MQDataException.getMQDataException(MQDataException.java:302)
at com.ibm.mq.headers.pcf.PCFAgent.open(PCFAgent.java:570)
at com.ibm.mq.headers.pcf.PCFAgent.open(PCFAgent.java:478)
at com.ibm.mq.headers.pcf.PCFAgent.connect(PCFAgent.java:251)
at com.ibm.mq.headers.pcf.PCFAgent.<init>(PCFAgent.java:188)
at com.ibm.mq.headers.pcf.PCFMessageAgent.<init>(PCFMessageAgent.java:133)
at com.dynatrace.plugin.MQQueueChannelMonitorUpdated.setup(MQQueueChannelMonitorUpdated.java:313)
at com.dynatrace.diagnostics.sdk.UserPluginManager.a(SourceFile:674)
at com.dynatrace.diagnostics.sdk.UserPluginManager.a(SourceFile:470)
at com.dynatrace.diagnostics.sdk.UserPluginManager.b(SourceFile:383)
at com.dynatrace.diagnostics.sdk.UserPluginManager.executePlugin(SourceFile:274)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:50)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:26)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.a(SourceFile:190)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.a(SourceFile:413)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.execute(SourceFile:337)
at com.dynatrace.diagnostics.schedule.SchedulerJob.a(SourceFile:101)
at com.dynatrace.diagnostics.schedule.SchedulerJob.work(SourceFile:92)
at com.dynatrace.diagnostics.schedule.SchedulerJob.executeJobInfo(SourceFile:240)
at com.dynatrace.diagnostics.schedule.QuartzJob.execute(SourceFile:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at com.dynatrace.diagnostics.schedule.QuartzThreadPool$WorkerThread.run(SourceFile:781)
'
2017-08-03 10:32:42 WARNING [UserPluginManager@Dev MQ Queue Channel Monitor Updated_0] com.ibm.mq.headers.MQExceptionWrapper - MQJE001: Completion Code '2', Reason '2035'.
com.ibm.mq.headers.MQExceptionWrapper: MQJE001: Completion Code '2', Reason '2035'.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.ibm.mq.headers.MQDataException.getMQDataException(MQDataException.java:302)
at com.ibm.mq.headers.pcf.PCFAgent.open(PCFAgent.java:570)
at com.ibm.mq.headers.pcf.PCFAgent.open(PCFAgent.java:478)
at com.ibm.mq.headers.pcf.PCFAgent.connect(PCFAgent.java:251)
at com.ibm.mq.headers.pcf.PCFAgent.<init>(PCFAgent.java:188)
at com.ibm.mq.headers.pcf.PCFMessageAgent.<init>(PCFMessageAgent.java:133)
at com.dynatrace.plugin.MQQueueChannelMonitorUpdated.setup(MQQueueChannelMonitorUpdated.java:313)
at com.dynatrace.diagnostics.sdk.UserPluginManager.a(SourceFile:674)
at com.dynatrace.diagnostics.sdk.UserPluginManager.a(SourceFile:470)
at com.dynatrace.diagnostics.sdk.UserPluginManager.b(SourceFile:383)
at com.dynatrace.diagnostics.sdk.UserPluginManager.executePlugin(SourceFile:274)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:50)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:26)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.a(SourceFile:190)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.a(SourceFile:413)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.execute(SourceFile:337)
at com.dynatrace.diagnostics.schedule.SchedulerJob.a(SourceFile:101)
at com.dynatrace.diagnostics.schedule.SchedulerJob.work(SourceFile:92)
at com.dynatrace.diagnostics.schedule.SchedulerJob.executeJobInfo(SourceFile:240)
at com.dynatrace.diagnostics.schedule.QuartzJob.execute(SourceFile:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at com.dynatrace.diagnostics.sch...
2017-08-03 10:35:05 WARNING [MQQueueChannelMonitorUpdated@Mainframe MQ Test Queue Channel Monitor Updated_0] getQueueProperties method: pcfCmd command: skip response. Response object is PCFMessage:

Ok mainframe connection without authentication works fine,

This connection from DT 7.0 and MQ Channel plugin version 0.9.1.25 to Quemanger on aix 7.2 running mq 8.0.0.4

Confirm id we are using is in mqm group. confirmed channel name. confirm ports are open.

Tried without authentication as well with no luck. Can someone help?

1 REPLY 1

jerry_lobenstei
Dynatrace Advisor
Dynatrace Advisor

Hey John,

One of the reasons for it could be permissions. Can you confirm you have the right privileges on the QueueManager (setmqaut) , then on the channel enable the user with you are connecting to MQ to authorize as explained here:

https://stackoverflow.com/questions/12108372/issue....