Bug 1055122

Summary: Persistence.xml is missing orm file
Product: [Retired] JBoss BPMS Platform 6 Reporter: Kris Verlaenen <kverlaen>
Component: Business CentralAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: jhrcek, lpetrovi, ravindra.tubati
Target Milestone: ER1   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:02:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kris Verlaenen 2014-01-18 22:29:49 UTC
The persistence.xml (in jboss-eap-6.1/standalone/deployments/business-central.war/WEB-INF/classes/META-INF) is missing an orm file:

<mapping-file>META-INF/TaskAuditorm.xml</mapping-file>

Version-Release number of selected component (if applicable): CR1

How reproducible:
When opening the task details, in the details section, click on the Logs section.  Exception in server log:

23:11:13,673 WARN  [org.jbpm.services.task.persistence.TaskTransactionInterceptor] (http-localhost.localdomain/127.0.0.1:8080-6) Could not commit session: java.lang.IllegalArgumentException: Named query not found: getAllTasksEvents
	at org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:601) [hibernate-entitymanager-4.2.0.SP1-redhat-1.jar:4.2.0.SP1-redhat-1]

Comment 3 Jan Hrcek 2014-02-18 12:31:17 UTC
Ok, verified with BPMS 6.0.1 ER1. The reference to META-INF/TaskAuditorm.xml has been added to business central's persistence.xml and there is no longer exception when going to task list, and view task details > Log section.