MQSeries CSIException:JMSCS0002,但对于公共服务而言,类路径看起来还可以 [英] MQSeries CSIException: JMSCS0002 but classpath looks ok for commonservices

查看:108
本文介绍了MQSeries CSIException:JMSCS0002,但对于公共服务而言,类路径看起来还可以的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试从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.mq.commonservices.jar,com.ibm.msg.client.commonservices.jar和com.ibm.msg.client.commonservices.j2se.jar

But both my compile and run classpaths include com.ibm.mq.commonservices.jar, com.ibm.msg.client.commonservices.jar, and com.ibm.msg.client.commonservices.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.client.commonservices.CSIException: JMSCS0002
at com.ibm.msg.client.commonservices.workqueue.PIWorkQueueManager.enqueueItem(PIWorkQueueManager.java:67)
at com.ibm.msg.client.commonservices.workqueue.WorkQueueManager.enqueue(WorkQueueManager.java:225)
at com.ibm.msg.client.commonservices.workqueue.WorkQueueManager.enqueue(WorkQueueManager.java:194)
at com.ibm.msg.client.wmq.common.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,但对于公共服务而言,类路径看起来还可以的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆