[jboss-user] [jBPM] - Re: Errors in named queries: TasksAssignedAsPotential Owner

ramkijbpm do-not-reply at jboss.com
Tue Mar 20 16:31:50 EDT 2012


ramkijbpm [https://community.jboss.org/people/ramkijbpm] created the discussion

"Re: Errors in named queries: TasksAssignedAsPotential Owner"

To view the discussion, visit: https://community.jboss.org/message/725175#725175

--------------------------------------------------------------
this is completely wrong. It cannot work if you remove the TaskOrm.xml having all those namedQueries. if you remove you will get the following exception,
Caused By: 
javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to find XML mapping file in classpath: META-INF/Taskorm.xml


I get this very same exception about namedQueries in Weblogic. Is there any good solution to this below problem? It really is very painful!!! Is JBPM compatible to weblogic server?


Caused By: 
org.hibernate.HibernateException: Errors in named queries: TasksAssignedAsPotentialOwner, UnescalatedDeadlines, TasksAssignedAsTaskStakeholder, TasksAssignedAsRecipient, TasksAssignedAsPotentialOwnerByGroup, TasksAssignedAsExcludedOwner, TasksAssignedAsBusinessAdministrator, SubTasksAssignedAsPotentialOwner, ProcessInstancesWaitingForEvent, TaskByWorkItemId, TasksOwned, TasksAssignedAsPotentialOwnerWithGroups, GetSubTasksByParentTaskId, TasksAssignedAsTaskInitiator

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/725175#725175]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120320/66730ab0/attachment-0001.html 


More information about the jboss-user mailing list