简体   繁体   English

适用于jBoss EAP 6.1的jBPM 6模块

[英]jBPM 6 modules for jBoss EAP 6.1

I'm attempting to install jBPM 6 on jBoss EAP 6.1. 我正在尝试在jBoss EAP 6.1上安装jBPM 6。 The example applications that I've been working off of don't use modules and instead seem to bundle all of the required libraries into the /lib folder. 我一直在研究的示例应用程序不使用模块,而是将所有必需的库捆绑到/ lib文件夹中。

Has anyone successfully installed jBPM 6 using modules? 有人使用模块成功安装了jBPM 6吗? I've attempted to create a module containing basically the JARs referenced by the example applications, but it seems that some of the persistence classes are not in my classpath. 我试图创建一个基本上包含示例应用程序所引用的JAR的模块,但是似乎某些持久性类不在我的类路径中。

When using the standard persistence.xml that has 使用具有以下内容的标准persistence.xml

<mapping-file>META-INF/JBPMorm.xml</mapping-file>
<mapping-file>META-INF/Taskorm.xml</mapping-file>

The system does not find either of the XML files. 系统找不到任何一个XML文件。 If I manually create them, they crash on each named query noting that the objects were not mapped. 如果我手动创建它们,它们将在每个命名查询中崩溃,并指出未映射对象。

From this I'm guessing that the persistence JARs are not on the classpath at all. 由此,我猜测持久性JAR根本不在类路径上。 Does anyone have any ideas? 有人有什么想法吗?

As per this thread , it seems that there should be a way to do this via the <include> tag, however it doesn't seem to work currently. 根据该线程 ,似乎应该有一种方法可以通过<include>标记执行此操作,但是当前似乎无法使用。 I modified my build scripts to keep bundling the required jars in the /lib folder as per previous versions of jBoss and it is working correctly now. 我修改了我的构建脚本,以保持在捆绑需要的jar /lib的文件夹中每JBOSS的早期版本和现在工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM