srikant vege [
https://community.jboss.org/people/srikanthvege1] created the discussion
"JBPM 5.3 : Getting org.hibernate.HibernateException: Errors in named queries:
ProcessInstancesWaitingForEvent Exception"
To view the discussion, visit:
https://community.jboss.org/message/736217#736217
--------------------------------------------------------------
Hi,
I have downloaded jbpm 5.3 & drools 5.4 version and deployed in JBOSS AS 7.0.2 server.
When I logged into the JBPM console with krisv/krisv, I am getting the below exception
while getting the tasks for the user krisv (
http://10.2.76.25:8080/gwt-console-server/rs/tasks/krisv
http://10.2.76.25:8080/gwt-console-server/rs/tasks/krisv). Please help me on resolving
this issue.
org.hibernate.HibernateException: Errors in named queries:
ProcessInstancesWaitingForEvent
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:407)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
org.jbpm.integration.console.StatefulKnowledgeSessionUtil.createOrLoadStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:263)
org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:154)
org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127)
org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131)
org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25)
org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:51)
org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26)
org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19)
org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72)
org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/736217#736217]
Start a new discussion in jBPM Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]