Author |
Message
|
RoshniMehta |
Posted: Mon Jun 16, 2008 3:23 am Post subject: Linked error:MQJE001: Completion Code 2, Reason 2162, Error |
|
|
Newbie
Joined: 16 Jun 2008 Posts: 5
|
Hi,
I am an SAP XI administrator. We have configured a connection with IBM MQSeries -- MQSeries sends messages and SAP XI accepts them.
Everything works fine until the MQSeries' queue manager is restarted.
We get the following error:
Channel error occured; detailed error description: JMS error:MQJMS2002: failed to get message from MQ queue. Linked error:MQJE001: Completion Code 2, Reason 2162, Error Code:MQJMS2002
We had to restart SAP's Java Engine to resolve the error.
I have googled for an answer and all I get is to apply a fix pack to Websphere MQ.
I have been told that IBM MQSeries and Websphere MQ are two different products. The installed MQSeries doesn't have any Java capabilities; runs on AIX
Is there any similar fix available for MQSeries.
regards,
Roshni |
|
Back to top |
|
 |
AkankshA |
Posted: Mon Jun 16, 2008 3:27 am Post subject: Re: Linked error:MQJE001: Completion Code 2, Reason 2162, Er |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
RoshniMehta wrote: |
I have been told that IBM MQSeries and Websphere MQ are two different products. The installed MQSeries doesn't have any Java capabilities; runs on AIX
|
Websphere is a suite of pdts provided by IBM...
There's only one pdt MQSeries which is included in websphere and provided by IBM
which version of mq are you on ?? _________________ Cheers |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 16, 2008 11:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Did you check this out?
2162 0x00000872 MQRC_Q_MGR_STOPPING
What is the expected behavior of XI in this case.
Does it try to reacquire the resource?
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
RoshniMehta |
Posted: Tue Jun 17, 2008 10:50 am Post subject: |
|
|
Newbie
Joined: 16 Jun 2008 Posts: 5
|
Hi Akanksha / fjb_saper,
Sorry for scaring you
Not sure about MQ's version. I need to contact the support person for that. I don't think it is a problem on MQ server. I guess something is wrong with the jms provider.
I will get back to you with details on MQ version.
The following jar files have been deployed in jms provider, so that SAP can connect with MQseries
● com.ibm.mq.jar
● com.ibm.mqbind.jar
● com.ibm.mqjms.jar
● connector.jar
This is how I understand the situation:
When the queue manager is shutting down, it sends out MQRC_Q_MGR_STOPPING status to all the open connections in the connection pool. The connections are not dropped. After queue manager comes up, any request on these stale connections ends with an error.
The jms provider should properly close these stale connections.
The fix I could find is this: http://www-1.ibm.com/support/docview.wss?uid=swg27007109
Please help me understand what is actually happening and which jar file needs an update.
regards,
Roshni |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jun 17, 2008 2:44 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
For the provider (MQ) to properly close the connections you need to specify (Fail if quiescing) on the connection factory settings.
This should return an error message to SAP XI JMS client and allow MQ to properly shutdown and restart. It now depends on whether SAP XI tries to reacquire new connections to the pool. Check pool purge policy for stale handles etc...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
RoshniMehta |
Posted: Wed Jun 18, 2008 9:54 am Post subject: MQSeries for AIX V5.2 |
|
|
Newbie
Joined: 16 Jun 2008 Posts: 5
|
Hi fjb_saper,
fjb_saper wrote: |
For the provider (MQ) to properly close the connections you need to specify (Fail if quiescing) on the connection factory settings. |
Does the connection factory reside on MQserver or would that be with the provider?
I could only find 2 error handling settings in XI. One specifies wait time after it finds a message with error and the other specifies wait time before a reconnect.
Found a note from SAP on this problem:
Provider continues to call the exception listeners of erroneous connections. The provider 'ping' of these connections continue to fail even after the queue comes up.
Any idea where these listeners are? When MQseries shuts down, would it leave the listeners on?
MQSeries for AIX V5.2 is being used.
Please let me know your thoughts on this. Appreciate your help.
regards,
Roshni |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 18, 2008 8:46 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I seriously hope the version you gave is the AIX version and not the MQ version
In the JNDI/JMS setup of the MQ connection factory in SAP XI make sure you have the attribute FAIL if Quiescing set up. (could be setup in the .bindings file used by XI JNDI)
If this is not set up properly you cannot bounce MQ while SAP XI is running because SAP XI will not allow you to close the connection it is holding on to...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
RoshniMehta |
Posted: Mon Jun 30, 2008 9:14 am Post subject: is upgrade a soln? |
|
|
Newbie
Joined: 16 Jun 2008 Posts: 5
|
Hello fjb_saper,
The MQseries version (in MQ box) is 5.2, but the MQ libraries in SAP XI box belong to MQseries 5.3. We have never messed with the configurations. We use the configurations that SAP has provided; which are properly tested. We are checking to see if a fix pack upgrade can solve this problem.
The jar files' (com.ibm.mq.jar, com.ibm.mq.jar, com.ibm.mqbind.jar) Implementation-Version is 5.300 - j530-L021008. I am not able to figure out the existing fix level based on this number.
Can the fix packs be downloaded directly for free? Is it easy to revert back to earlier fix pack?
regards,
Roshni |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 30, 2008 11:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
From what I see you might be at fixpack 08 which is a decent fixpack for MQ 5.3. To get a definitive information on the fixpack run dspmqver
Be advised that MQ 5.3 and MQ 5.2 are out of support and that you should have upgraded to MQ6.0.2.4
By the way all the jar files in <MQinstall>/java/lib should be on your classpath, not just the few you mentioned...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Jun 30, 2008 1:36 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 30, 2008 6:14 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Thanks for setting me straight. I thought it was 9 and 10...
Anyways decent ones I worked with were 06 and 11.
But in any case you should be using a V6.0.2.4 Client and server
:innocent _________________ MQ & Broker admin |
|
Back to top |
|
 |
RoshniMehta |
Posted: Fri Jul 04, 2008 5:48 am Post subject: Solved! |
|
|
Newbie
Joined: 16 Jun 2008 Posts: 5
|
Hi fjb_saper,
We could locate com.ibm.mq.jar and com.ibm.mqjms.jar files with fix pack 11. The update solved the problem
Thank you for helping me solve it.
regards,
Roshni |
|
Back to top |
|
 |
|