ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQJE018: Protocol error - unexpected segment type received

Post new topic  Reply to topic
 MQJE018: Protocol error - unexpected segment type received « View previous topic :: View next topic » 
Author Message
MQ_adi
PostPosted: Tue Jun 23, 2009 8:59 am    Post subject: MQJE018: Protocol error - unexpected segment type received Reply with quote

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
View user's profile Send private message
WMBDEV1
PostPosted: Tue Jun 23, 2009 9:10 am    Post subject: Reply with quote

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
View user's profile Send private message
MQ_adi
PostPosted: Tue Jun 23, 2009 9:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Jun 23, 2009 2:01 pm    Post subject: Re: MQJE018: Protocol error - unexpected segment type receiv Reply with quote

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
View user's profile Send private message
MQ_adi
PostPosted: Wed Jun 24, 2009 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message
WMBDEV1
PostPosted: Wed Jun 24, 2009 12:12 am    Post subject: Reply with quote

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
View user's profile Send private message
MQ_adi
PostPosted: Thu Jun 25, 2009 7:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQJE018: Protocol error - unexpected segment type received
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.