Websphere 6.1 to 7.0 JmqiObject and JmsQueue missing

一个人想着一个人 提交于 2019-12-14 03:48:42

问题


I am trying to migrate an application from Websphere 6.1 to 7.0

I noticed that many of the ibm MQ/JMS classes have changed/disappeared =)

In particular, I am getting errors on

com.ibm.msg.client.jms.JmsQueue com.ibm.mq.jmqi.JmqiObject

it is saying "...cannot be resolved. It is indirectly referenced from required .class files"

Does anyone know what I can do to get this to compile?

thanks


回答1:


Hard to say exactly from the description so I'll provide some general pointers that may be of help.

The WMQ JMS and Java support was completely rewritten in V7 to use a common JMQI layer. This will affect the jar files that are referenced as well as the CLASSPATH and a few other things.

If you have bundled the WMQ jar files into your application, you will want to delete them and reference the ones installed with WAS instead.

If you used MDB listeners, you will need to switch to Activation Specs.

For more info, see the Integration of WebSphere MQ classes for JMS with WebSphere Application Server section in the WMQ V7 Migration manual and the CLASSPATH settings from the Environment section in the WMQ V7 Using Java manual.

The WebSphere Application Server V7 Migration Guide does not address WMQ in depth but it does have pointers to additional migration resources such as IBM Education Assistant as well as specific application and profile migration advice.



来源:https://stackoverflow.com/questions/5215486/websphere-6-1-to-7-0-jmqiobject-and-jmsqueue-missing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!