Red Hat Bugzilla – Bug 815744
jbpm-human-task.war doesn't contain some jars though they are not provided by every supported container (EWS)
Last modified: 2012-06-24 22:59:05 EDT
Description of problem:
jbpm-human-task.war doesn't contain several jars that are not provided by every
supported container (like EWS).
Following jars are missing:
- hibernate*.jars (core, entity-manager, annotations, common-annotations)
Steps to Reproduce:
1. Deploy jbpm-human-task.war to EWS.
2. Start EWS
3. NoClassDefFoundError will be thrown
The jars should be either included in lib dir of the jbpm-human-task.war (which may not be possible) or the documentation must specify what jars (and from) should
be copied to lib dir when deploying to EWS.
Necessary for supporting EWS, requesting blocker.
Will this be resolved by documenting this or by fixing this on the product side? Or do you need support from the engineering team to modify this in the product branch / at the community side as well? If so, could you recommend what needs to be done exactly?
I think we had better to specify how to add those jars in documentations.
Notice that by adding those jars would cause persistence error when deploy them to EAP based container.
And plus, it seems to me that it can't be deployable out of box without providing a detail steps how to configure the jbpm-human-task.war, business-central.war and gwt-console-server etcs when deploying them to EWS. That at least includes how to configure datasource and adding some support jars.
(In reply to comment #3)
> I think we had better to specify how to add those jars in documentations.
This is the same solution we've historically used for Guvnor. I think we could do it in this case as well - Lee?
I'm updating the instructions now. I'll post a link as soon as the updated instructions are online.
The fixed for this issue should be included in ER7. Please do verification on it.
The jbpm-human-task.war also needs slf4* and log4j* jars. As these jars are needed by all deployed wars, I suggest to copy them into tomcat's lib dir and not to have them in every WEB-INF/lib dir. For tomcat5 the lib dir is tomcat5/shared/lib and for tomcat6 its tomcat6/lib.
I just figured out that jbpm-human-task.war does not need persitence-api-1.0.jar, because jbmp-engine/lib dir contains also hibernate-jpa*.jar which contains same classes and it is definitely better co have that jar on classpath. This jar gets copied with other hibernate jars, so no need for extra copy.
Please verify them on ER8.
Closing as status already set to verified.