jruleimportException:所选存档没有描述符。xml

发布于 2025-02-04 00:44:53 字数 238 浏览 2 评论 0原文

我已经在IBM ODM中创建了JAR文件。我将其用于DataStage应用程序中,从DataStage调用Rule应用。在这样做的同时,我会遇到错误。

jruleimoprtexception:所选存档“ filepath”不是有效的规则集存档。文件描述符。xml不能位于存档中。

我已经使用8.10版来创建决策服务。 DataStage使用8.8版本。

是由于矛盾的版本而造成错误,还是我创建了JAR文件错误的方式?

I have created JAR file from decision service in IBM ODM. I was using that into datastage application to call rule app from datastage. while doing that I am getting error.

JruleImoprtException: the selected archive "filePath" is not valid ruleset archive.the file descriptor.xml could not be located in the archive.

I have used 8.10 version to create decision service. Datastage is using 8.8 version.

Is it creating error because of the conflicting version or I have created jar file wrong way ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

难如初 2025-02-11 00:44:53

IBM已从8.10开始使用决策规则引擎来创建DSAR文件进行部署。该DSAR文件具有Archive.xml,可以指示Jrule连接器有关规则的信息。

在早期版本中 - 使用经典规则引擎创建规则项目,并且需要JAR文件才能部署该项目。在这些版本中,它具有Description.xml文件,其中包含有关项目参数的元数据。
截至目前,您可以切换到经典规则引擎选项,以创建包含Description.xml的JAR文件。它被弃用了,因此不建议。

在Eclipse->右键单击该项目 - >规则执行服务器 - >选择经典规则引擎。

IBM has moved to Decision service from 8.10 onwards that uses Decision rule engine to creates dsar file for deployment. This dsar file has archive.xml to instruct the Jrule connector about the information of the rules.

In earlier versions - Rule projects are created using classic rule engine and jar file is required to deploy the project. In those version it has description.xml file that contains the metadata about the projects parameters.
As of now, you can switch to Classic Rule Engine option to create a JAR file that includes the description.xml. It is deprecated so not advisable.

In Eclipse -> Right click on the project -> Rule Execution server -> Select classic rule engine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文