You have a J2EE application that runs fine with WebSphere Application Server 6.1 with Bindings transport type for the connection factory.
You migrate your application server from Version 6.1 to 7.0.0.x and the migration logs do not show any problems.
When you run the application you see this error in the SystemErr.log:
... SystemErr R com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2298'.
... SystemErr R MQJE001: Completion Code '2', Reason '2298'.
You use the "mqrc 2298" command to find out the short name for this reason code:
2298 0x000008fa MQRC_FUNCTION_NOT_SUPPORTED
You are using an MQ 126.96.36.199 queue manager or earlier.
You capture the JMS trace in WebSphere Application Server as mentioned in the following technote 1199176
:Enabling JMS trace for releases of WebSphere Application Server V5.0 and V6.0
Note: Even though the title does not explicitly include WAS 7, the same instructions for WAS 6 apply to WAS 7.
The trace log shows that the version of the MQ Resource Adapter that is being used is 188.8.131.52:
[10/9/09 2:46:12:890 EDT] 0000005f WMQRAClientIn < getVersion
(com.ibm.ws.wmqra.registration.WMQRAClientInstall) [:/6c8a6c8a] Exit
[10/9/09 2:47:00:928 EDT] 00000000 < UOW=
[:/75ea75ea] org=IBM prod=WebSphere component=Application Server
However, the following technote (1248089) indicates that the version of the MQ Resource Adapter that is shipped with WebSphere Application 7.0.0.x is different (such as: WAS 184.108.40.206 is MQ RA 220.127.116.11):
Which version of MQ is shipped with WebSphere Application Server
The following entry in the trace shows the reason code 2298:
[10/9/09 2:54:54:009 EDT] 00000015 R UOW= source=SystemErr org=IBM
prod=WebSphere component=Application Server thread=[WebContainer : 0]
10/09/09 02:54:54:009 EDT (ERR,1):
MQException caught! Completion code 2 Reason code 2298
Thus, part of the problem seems that the error "function not supported" is due to the use of an older version of the MQ Resource Adapter (18.104.22.168) instead of the latest one (22.214.171.124)
In addition, the bindings transport type is not supported when working with an MQ 126.96.36.199 (or earlier) queue manager when using WebSphere Application Server 7, as mentioned in the technote (1316899):
Information about using the WebSphere MQ messaging provider for WebSphere Application Server Version 7.0
The minimum version of MQ should be 188.8.131.52.
Resolving the problem
There are 2 parts to the solution:
+++ Part 1: Upgrade the WebSphere MQ Queue Manager to v184.108.40.206 or later
The MQ Refresh Packs (CSDs) and Fix Packs are available from our MQ support web site:
In the section "Download" in this web site, click on "Recommended Fixes".
You will be taken to another web page where you can select the desired version:
IBM WebSphere MQ Version 6.0
Then follow the prompts for the desired operating system.
Finally, you can select the desired package to download.
While you are at the web page that has the download material, you can take a look at the corresponding README file to see the cumulative history of all the changes for all the fix packs until the present one.
The installation instructions are available in the corresponding manual:
"MQ Quick Beginnings for <platform>".
To get a copy of this manual (in PDF format), you can visit the Library web page for WebSphere MQ:
WebSphere MQ library
You can also consult the online MQ Information Center V6 at:
+++ Part 2: Adjusting the WebSphere MQ resource adapter configuration when migrating profiles
There is a known problem in which an out of date WebSphere MQ Resource Adapter ends up being the one in use on a system updated to a later WebSphere Application Server fix pack. This is because the WebSphere Application Server 220.127.116.11 profile management tool unpacked the WebSphere MQ Resource Adapter into the profile, which is subsequently not updated when a WebSphere Application Server fix pack is later applied.
It is necessary to perform the steps mentioned below in order to ensure that the most up-to-date version of the WebSphere MQ Resource Adapter is used:
WebSphere Application Server Version 7
[Fix Pack 1 or later]
Adjusting the WebSphere MQ resource adapter configuration when migrating profiles between maintenance level 18.104.22.168 and later levels
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.