在尝试从MQSeries 7.5客户端连接到7.5本地服务器时,我得到了CSIException:JMSCS0002,当我在IBM代码中查找错误时会说:
In trying to connect from an MQSeries 7.5 client to a 7.5 local server I'm getting a CSIException: JMSCS0002 which when I look up the error in the IBM codes says:
JMSCS0002 由于CommonServices尚未初始化,因此无法完成呼叫.
JMSCS0002 The call could not be completed because CommonServices has not been initialized.
CommonServices是一个内部组件,需要在启动时进行初始化,但失败了.
CommonServices is an internal component and needs to be initialized at startup but has failed.
检查安装和类路径设置是否正确.
Check that the installation and classpath setup is correct.
但是我的编译和运行类路径都包括com.ibm.mqmonservices.jar,com.ibm.msg.clientmonservices.jar和com.ibm.msg.clientmonservices.j2se.jar
But both my compile and run classpaths include com.ibm.mqmonservices.jar, com.ibm.msg.clientmonservices.jar, and com.ibm.msg.clientmonservices.j2se.jar
我正在使用Oracle JDK 1.6.我尝试使用WS MQ Java,但这没什么区别.
I'm was using Oracle JDK 1.6. I tried using the WS MQ java but it made no difference.
任何帮助表示赞赏.谢谢.
Any help appreciated. Thanks.
Caused by: com.ibm.msg.clientmonservices.CSIException: JMSCS0002 at com.ibm.msg.clientmonservices.workqueue.PIWorkQueueManager.enqueueItem(PIWorkQueueManager.java:67) at com.ibm.msg.clientmonservices.workqueue.WorkQueueManager.enqueue(WorkQueueManager.java:225) at com.ibm.msg.clientmonservices.workqueue.WorkQueueManager.enqueue(WorkQueueManager.java:194) at com.ibm.msg.client.wmqmon.internal.WMQThreadPool.enqueue(WMQThreadPool.java:91)推荐答案
我一直在使用来自已卸载的MQSeries 7.5 Client的jar文件,因为我想确保所使用的功能仅适用于Java提供的jar免费的客户端许可证.根据IBM文档,使用已卸载的jar是有问题的.
I had been using jar files from an uninstalled MQSeries 7.5 Client because I wanted to make sure that the functionality I was using would work just with the jars provided by the free client license. According to IBM documentation taking uninstalled jars is problematic.
当我从已安装的服务器试用版切换到jar时,一切正常.
When I switched to the jars from the installed server trial then things works ok.
更多推荐
MQSeries CSIException:JMSCS0002,但对于公共服务而言,类路径看起来还可以
发布评论