MQSeries CSIException:JMSCS0002,但对于公共服务而言,类路径看起来还可以

编程入门 行业动态 更新时间:2024-10-24 11:26:04
本文介绍了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.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,但对于公共服务而言,类路径看起来还可以

本文发布于:2023-11-17 02:59:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1608563.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:还可以   公共服务   路径   MQSeries   CSIException

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!