java Websphere MQ 7.0 + jars 与 5.3 和 6.0 MQSeries 服务器兼容吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2823243/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Websphere MQ 7.0 + jars compatible with 5.3 and 6.0 MQSeries servers?
提问by avinash
I tried connecting jms client with 5.3 / 6.0 MQseries client jars to 7.0+ server, but it threw follwoing exception
我尝试将 jms 客户端与 5.3 / 6.0 MQseries 客户端 jars 连接到 7.0+ 服务器,但它抛出了以下异常
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2423
at com.ibm.mq.MQQueueManager.sequentialConstruct(MQQueueManager.java:904)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:865)
at com.ibm.mq.MQSPIQueueManager.<init>(MQSPIQueueManager.java:83)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2009)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1496)
at com.ibm.mq.jms.MQQueueAgentThread.setup(MQQueueAgentThread.java:306)
at com.ibm.mq.jms.MQQueueAgentThread.run(MQQueueAgentThread.java:1672)
at java.lang.Thread.run(Thread.java:570)
I do understand from http://www.ibm.com/developerworks/websphere/library/techarticles/0704_xu/0704_xu.htmlthat it's not possible to use previous version client libs. But my question is are these latest client libs backward compatible with 5.3 / 6.0 servers ?
我从http://www.ibm.com/developerworks/websphere/library/techarticles/0704_xu/0704_xu.html了解到无法使用以前版本的客户端库。但我的问题是这些最新的客户端库是否与 5.3 / 6.0 服务器向后兼容?
回答by T.Rob
V6.0 Yes. V5.3, not so much. The problem here is the 5.3 libs and servers. They were never tested nor intended to be compatible with v7 components because v5.3 was end-of-life well before v7 was released.
V6.0 是的。V5.3,没那么多。这里的问题是 5.3 库和服务器。它们从未经过测试,也不打算与 v7 组件兼容,因为 v5.3 早在 v7 发布之前就已终止使用。
The v6 clients are compatible with the v7 server and vice-versa and you would be able to open a PMR if you found issues. The manual for v7 clients states that they are compatible with supportedlevels of WMQ server, which includes only v6 and v7 (see this linkfor details).
v6 客户端与 v7 服务器兼容,反之亦然,如果发现问题,您可以打开 PMR。v7 客户端的手册指出它们与支持的 WMQ 服务器级别兼容,其中仅包括 v6 和 v7(有关详细信息,请参阅此链接)。
Word to the wise, do your development on v7 because v6 is end-of-life as of September 2011. This will save you from having to upgrade again in a year. The v5.3 QMgrs should be updated to v7 as soon as time allows. Among other issues are that there are security vulns that were discovered after v5.3 went EOL so no patches were ever produced to address them at v5.3. If security is an issue for your app, you need to be at 6.0.2.9 or 7.0.1.1.
告诉明智的人,在 v7 上进行开发,因为 v6 已于 2011 年 9 月终止。这将使您不必在一年内再次升级。v5.3 QMgrs 应该在时间允许的情况下尽快更新到 v7。其他问题包括在 v5.3 停产后发现了一些安全漏洞,因此在 v5.3 中没有发布补丁来解决这些漏洞。如果您的应用存在安全问题,则您需要使用 6.0.2.9 或 7.0.1.1。
You can download the fix packs and clients here if you need them:
如果需要,您可以在此处下载修订包和客户端:
Recommended Fixes for WebSphere MQ
SupportPac MQC7: WebSphere MQ V7 Clients
WMQ v7.1 trial download
WebSphere MQ
SupportPac MQC7 的推荐修复:WebSphere MQ V7 客户端
WMQ v7.1 试用版下载
UPDATE March 13, 2011- IBM recently published a Technoteclarifying their support statement. According to the Technote:
2011年3 月 13 日更新- IBM 最近发布了一份技术说明,澄清了他们的支持声明。根据技术说明:
WebSphere MQ V7.0 queue managers and clients interoperate with queue managers and clients from any previous level of the WebSphere MQ or MQSeries products.
WebSphere MQ V7.0 队列管理器和客户端与来自任何先前级别的 WebSphere MQ 或 MQSeries 产品的队列管理器和客户端进行互操作。

