Author |
Message
|
MQ_adi |
Posted: Tue Jun 23, 2009 8:59 am Post subject: MQJE018: Protocol error - unexpected segment type received |
|
|
Novice
Joined: 03 Apr 2009 Posts: 13
|
Hi,
We are using MQ to send and receive documents asyncronously. We use MQ client to communicate with queue manager.
In our pre-prod enviroment I am getting following error message while putting XML in the input queue.
17:53:35,454 [ WebContainer : 2] ( Invoke.Rule_Connect_MQ.Action) ERROR 10.112.12.10|167.247.11.108|Rule-Connect-MQ.AIU-Int
erface-Docucorp-DocucorpConnector.Cm_ConnectDocucorp contact admin.Tuscano@AIG.com - couldn't contact queue manager 'QM_PEGA' on nod
e 10.112.12.10:1415: com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2195
MQJE018: Protocol error - unexpected segment type received
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2195
MQJE018: Protocol error - unexpected segment type received
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:302)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:27
6)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:296
)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:171)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:771)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:705)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:434)
What would be the cause and resolution of the problem? Let me know if any more inforamtion is required.
Thnx,
Adi |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Tue Jun 23, 2009 9:10 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
What version of the QM?
What version of the client?
What code base are you using to put the message?
Are there any other clues in the QM error logs? |
|
Back to top |
|
 |
MQ_adi |
Posted: Tue Jun 23, 2009 9:27 am Post subject: |
|
|
Novice
Joined: 03 Apr 2009 Posts: 13
|
Hi,
MQ Series verions is 6.0.2.3. That's the only error message that I could get from the application.
I don't have access to MQ logs, am trying to get it through system admin.
Thnx |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 23, 2009 2:01 pm Post subject: Re: MQJE018: Protocol error - unexpected segment type receiv |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
MQ_adi wrote: |
Reason 2195 |
For this you want the FDC file more than the logs. It'll be more use. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
MQ_adi |
Posted: Wed Jun 24, 2009 12:05 am Post subject: |
|
|
Novice
Joined: 03 Apr 2009 Posts: 13
|
Hi,
The problem is solved. it was basically to do with the way I was doing the API call.
Thnx |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Wed Jun 24, 2009 12:12 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
MQ_adi wrote: |
Hi,
The problem is solved. it was basically to do with the way I was doing the API call.
Thnx |
Care to elaborate for future readers? |
|
Back to top |
|
 |
MQ_adi |
Posted: Thu Jun 25, 2009 7:34 am Post subject: |
|
|
Novice
Joined: 03 Apr 2009 Posts: 13
|
Hi,
Sure.
I was calling MQ from a BPM application (PRPC/Pega). Internally it uses MQ java client. The ruleset version where I had defined rule to connect to MQ was incorrect. When I chnaged it to the correct ruleset version, it started working.
Thnx |
|
Back to top |
|
 |
|