Open jboss-gpe opened 11 years ago
BZ for this found here: https://bugzilla.redhat.com/show_bug.cgi?id=1012939
pretty close to being done. two remaining issues:
1) the MDB audit log consumer has dependencies on jbpm libraries (obviously). will do so with JBoss modules dependencies
2) this error in the bpm-core-* jvm now that core and bam persistence has been split: Caused by: java.lang.IllegalArgumentException: Named query not found: getProcessInstancesByDeploymentId at org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:601) at org.jbpm.shared.services.impl.JbpmServicesPersistenceManagerImpl.queryWithParameters(JbpmServicesPersistenceManagerImpl.java:521) at org.jbpm.shared.services.impl.JbpmServicesPersistenceManagerImpl.queryWithParametersInTransaction(JbpmServicesPersistenceManagerImpl.java:446)
I am also facing same issue. Have you find any resolution of this?
inject JMS AuditLogger (from org.jbpm.process.audit.AuditLoggerFactory) into ksession for asynch messaging as transport for BAM events from process engine.
the other AuditLogger implementation is JPA based. for each deploymentUnit, selection of the AuditLogger type should be configurable.
BAM event consumer should be deployed separately from the process engine and persist BAM events to it's own dedicated database.