문제

I'm attempting to install jBPM 6 on jBoss EAP 6.1. 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.

Has anyone successfully installed jBPM 6 using modules? 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.

When using the standard persistence.xml that has

<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. 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. 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. 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top