|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[b]MQ 2195 :Exception in thread "main" java.lang.N |
« View previous topic :: View next topic » |
Author |
Message
|
prk |
Posted: Fri Feb 10, 2006 6:41 am Post subject: [b]MQ 2195 :Exception in thread "main" java.lang.N |
|
|
Centurion
Joined: 17 Feb 2004 Posts: 102
|
We have 2 environements Dev and QA. There is a Java application that interacts between MQSeries and Maximo software. Everything is the same on both the servers. It works fine in Dev but in QA this is the error it throws out.
Any help would be greatly appreciated.
MQJE001: An MQException occurred: Completion Code 2, Reason 2195
MQJE007: IO error reading message data
MQJE001: An MQException occurred: Completion Code 2, Reason 2195
MQJE018: Protocol error - unexpected segment type received
MQJE001: An MQException occurred: Completion Code 2, Reason 2195
MQJE018: Protocol error - unexpected segment type received
MQ error occurred writing to message buffer. com.ibm.mq.MQException:
MQJE001: An
MQException occurred: Completion Code 2, Reason 2195
MQJE018: Protocol error - unexpected segment type received
E-mail Sent
Exception in thread "main" java.lang.NullPointerException
at mqmaximo.GS_Cal_MQSender.main(GS_Cal_MQSender.java:140) |
|
Back to top |
|
 |
EddieA |
Posted: Fri Feb 10, 2006 11:37 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Which happens first, the MQ error or the nullPointer.
If it's the nullPointer, then fix that.
If it's the MQ, then look in the MQ logs, as a 2195 (Unexpected Error) should create an FDC.
BTW. The code should really stop on the 1st error, and not just carry on blindly.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
prk |
Posted: Fri Feb 10, 2006 11:55 am Post subject: |
|
|
Centurion
Joined: 17 Feb 2004 Posts: 102
|
There is nothing in the MQ logs and no FDC's created. |
|
Back to top |
|
 |
mvic |
Posted: Fri Feb 10, 2006 2:41 pm Post subject: Re: [b]MQ 2195 :Exception in thread "main" java.la |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
prk wrote: |
MQJE001: An MQException occurred: Completion Code 2, Reason 2195
MQJE007: IO error reading message data
MQJE001: An MQException occurred: Completion Code 2, Reason 2195
MQJE018: Protocol error - unexpected segment type received |
Please ensure both client and server are at the latest fix pack - there is a hint here of a client-induced protocol error, which I have seen in the past, though not recently.
In any case, please do state what MQ version and fix pack client and server have installed.
There is also a hint of network connectivity problems. Does the app work for a while then fail? Does it fail immediately? Are there any firewalls or other active network components between client and server (IP sprayer?) that might disrupt or cancel long-lived network connections? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|