Bug 1055122 - Persistence.xml is missing orm file
Summary: Persistence.xml is missing orm file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ER1
: 6.0.1
Assignee: Kris Verlaenen
QA Contact: Jan Hrcek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-18 22:29 UTC by Kris Verlaenen
Modified: 2014-08-06 20:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:02:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.