com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2195 MQJE018: Protocol error - unexpected segment type received

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Karl
, 1 year ago
MQJE001: An MQException occurred: Completion Code 2, Reason 2195 MQJE018: Protocol error - unexpected segment type received
via Stack Overflow by Laabidi Raissi
, 1 month ago
via Coderanch by Suresh Achary, 1 year ago
MQJE001: An MQException occurred: Completion Code 2, Reason 2059 MQJE013: Error accessing socket streams
via Stack Overflow by Suresh Telagareddi
, 7 months ago
MQJE001: An MQException occurred: Completion Code 2, Reason 2009 MQJE016: MQ queue manager closed channel immediately during connect Closure reason = 2009
via Stack Overflow by MQ Beginner
, 9 months ago
MQJE001: Completion Code '2', Reason '2393'.
via Stack Overflow by user1421183
, 2 years ago
MQJE001: Completion Code 2, Reason 2397
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.(MQManagedConnectionJ11.java:238)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:318)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:338)
at com.ibm.mq.StoredManagedConnection.(StoredManagedConnection.java:84)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:168)
at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:774)
at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:690)
at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:646)
at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:153)
at com.ibm.mq.MQQueueManager.(MQQueueManager.java:544)
at com.ibm.mq.MQSPIQueueManager.(MQSPIQueueManager.java:69)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2401)
at com.ibm.mq.jms.MQConnection.createQMXA(MQConnection.java:1783)
at com.ibm.mq.jms.MQQueueConnection.(MQQueueConnection.java:110)
at com.ibm.mq.jms.MQQueueConnection.(MQQueueConnection.java:67)
at com.ibm.mq.jms.MQXAQueueConnection.(MQXAQueueConnection.java:57)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQueueConnectionFactory.java:80)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.