0 Replies Latest reply on Jun 6, 2018 6:21 AM by Sagar Vinayak

    Need help in deployement of EAR file getting error : Unable to build EntityManagerFactory

    Sagar Vinayak Newbie

      I am trying to deploy an EAR file on Jboss EAP 6.4 Server , but its giving me the below error

       

      Error Trace :

      {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear/jbpmframework-0.0.1-SNAPSHOT.jar#org.jbpm.task\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear/jbpmframework-0.0.1-SNAPSHOT.jar#org.jbpm.task\": javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory

          Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory

          Caused by: org.hibernate.HibernateException: Errors in named queries: TasksAssignedAsPotentialOwner, UnescalatedDeadlines, TasksAssignedAsRecipient, TasksAssignedAsTaskStakeholder, TasksAssignedAsPotentialOwnerByGroup, TasksByStatusByProcessIdByTaskName, TasksAssignedAsExcludedOwner, ArchivedTasks, TasksAssignedAsBusinessAdministrator, TasksByStatusByProcessId, SubTasksAssignedAsPotentialOwner, TaskByWorkItemId, TasksAssignedAsPotentialOwnerByStatusWithGroups, TasksOwned, TasksAssignedAsPotentialOwnerWithGroups, TasksByStatusSince, GetSubTasksByParentTaskId, TasksAssignedAsTaskInitiator, TasksAssignedAsPotentialOwnerByStatus, TasksByStatus"}}}}

       

      Detailed Server Log :

      14:53:56,505 ERROR [org.quartz.impl.jdbcjobstore.JobStoreTX] (ServerService Thread Pool -- 224) Couldn't rollback jdbc connection. You cannot rollback during a managed transaction!: java.sql.SQLException: You cannot rollback during a managed transaction!

      at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.jdbcRollback(BaseWrapperManagedConnection.java:1113)

      at org.jboss.jca.adapters.jdbc.WrappedConnection.rollback(WrappedConnection.java:779)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_67]

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_67]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_67]

      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_67]

      at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73) [quartz-2.1.5-twiked.jar:]

      at com.sun.proxy.$Proxy267.rollback(Unknown Source)

      at org.quartz.impl.jdbcjobstore.JobStoreSupport.rollbackConnection(JobStoreSupport.java:3652) [quartz-2.1.5-twiked.jar:]

      at org.quartz.impl.jdbcjobstore.JobStoreSupport.doCheckin(JobStoreSupport.java:3277) [quartz-2.1.5-twiked.jar:]

      at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3870) [quartz-2.1.5-twiked.jar:]

      at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.initialize(JobStoreSupport.java:3855) [quartz-2.1.5-twiked.jar:]

      at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:678) [quartz-2.1.5-twiked.jar:]

      at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:526) [quartz-2.1.5-twiked.jar:]

      at org.quartz.impl.StdScheduler.start(StdScheduler.java:143) [quartz-2.1.5-twiked.jar:]

      at org.sample.quartzservice.impl.JbpmQuartzServiceImpl.init(JbpmQuartzServiceImpl.java:49) [jbpm-quartz-framework-0.0.1-SNAPSHOT.jar:]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_67]

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_67]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_67]

      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_67]

      at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:96) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.as.ee.component.ComponentInstantiatorInterceptor.processInvocation(ComponentInstantiatorInterceptor.java:76) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:280) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:367) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:66) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:70) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:162) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:135) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:90) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:122) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:137) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_67]

      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,267 ERROR [org.quartz.impl.jdbcjobstore.JobStoreTX] (ServerService Thread Pool -- 224) ClusterManager: Error managing cluster: Couldn't commit jdbc connection. You cannot commit during a managed transaction!: org.quartz.JobPersistenceException: Couldn't commit jdbc connection. You cannot commit during a managed transaction! [See nested exception: java.sql.SQLException: You cannot commit during a managed transaction!]

      at org.quartz.impl.jdbcjobstore.JobStoreSupport.commitConnection(JobStoreSupport.java:3674) [quartz-2.1.5-twiked.jar:]

      at org.quartz.impl.jdbcjobstore.JobStoreSupport.doCheckin(JobStoreSupport.java:3275) [quartz-2.1.5-twiked.jar:]

      at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3870) [quartz-2.1.5-twiked.jar:]

      at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.initialize(JobStoreSupport.java:3855) [quartz-2.1.5-twiked.jar:]

      at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:678) [quartz-2.1.5-twiked.jar:]

      at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:526) [quartz-2.1.5-twiked.jar:]

      at org.quartz.impl.StdScheduler.start(StdScheduler.java:143) [quartz-2.1.5-twiked.jar:]

      at org.sample.quartzservice.impl.JbpmQuartzServiceImpl.init(JbpmQuartzServiceImpl.java:49) [jbpm-quartz-framework-0.0.1-SNAPSHOT.jar:]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_67]

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_67]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_67]

      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_67]

      at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:96) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.as.ee.component.ComponentInstantiatorInterceptor.processInvocation(ComponentInstantiatorInterceptor.java:76) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:280) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:367) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:66) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:70) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

      at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:162) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:135) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:90) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:122) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:137) [jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54) [jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_67]

      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: java.sql.SQLException: You cannot commit during a managed transaction!

      at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:1068)

      at org.jboss.jca.adapters.jdbc.WrappedConnection.commit(WrappedConnection.java:758)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_67]

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_67]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_67]

      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_67]

      at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73) [quartz-2.1.5-twiked.jar:]

      at com.sun.proxy.$Proxy267.commit(Unknown Source)

      at org.quartz.impl.jdbcjobstore.JobStoreSupport.commitConnection(JobStoreSupport.java:3672) [quartz-2.1.5-twiked.jar:]

      ... 42 more

       

       

      14:53:58,285 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 224) Scheduler JbpmQuartzInstance_$_CHDSEZ400562D1528277032029 started.

      14:53:58,051 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksAssignedAsPotentialOwner: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity potentialOwners where t.archived = 0 and potentialOwners.id = :userId and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,554 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: UnescalatedDeadlines: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.jbpm.task.query.DeadlineSummary( t.id, d.id, d.date) from Task t, Deadline d where t.archived = 0 and (d in elements( t.deadlines.startDeadlines ) or d in elements( t.deadlines.endDeadlines ) ) and d.escalated = 0 order by d.date]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,557 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksAssignedAsRecipient: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity recipients where t.archived = 0 and recipients.id = :userId and recipients in elements ( t.peopleAssignments.recipients ) and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,561 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksAssignedAsTaskStakeholder: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity taskStakeholder where t.archived = 0 and taskStakeholder.id = :userId and taskStakeholder in elements ( t.peopleAssignments.taskStakeholders ) and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,564 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksAssignedAsPotentialOwnerByGroup: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity potentialOwners where t.archived = 0 and potentialOwners.id = :groupId and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,570 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksByStatusByProcessIdByTaskName: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.actualOwner as actualOwner left join t.taskData.createdBy as createdBy left join t.subjects as subject left join t.descriptions as description left join t.names as name where t.archived = 0 and t.taskData.processInstanceId = :processInstanceId and name.shortText = :taskName and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.status in (:status) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,574 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksAssignedAsExcludedOwner: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity excludedOwners where t.archived = 0 and excludedOwners.id = :userId and excludedOwners in elements ( t.peopleAssignments.excludedOwners ) and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,577 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: ArchivedTasks: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name where t.archived = 1 and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,580 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksAssignedAsBusinessAdministrator: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity businessAdministrator where t.archived = 0 and businessAdministrator.id = :userId and businessAdministrator in elements ( t.peopleAssignments.businessAdministrators ) and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,587 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksByStatusByProcessId: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.actualOwner as actualOwner left join t.taskData.createdBy as createdBy left join t.subjects as subject left join t.descriptions as description left join t.names as name where t.archived = 0 and t.taskData.processInstanceId = :processInstanceId and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.status in (:status) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,856 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: SubTasksAssignedAsPotentialOwner: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity potentialOwners where t.archived = 0 and t.taskData.parentId = :parentId and potentialOwners.id = :userId and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,876 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TaskByWorkItemId: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select t from Task t where t.archived = 0 and t.taskData.workItemId = :workItemId]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,879 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksAssignedAsPotentialOwnerByStatusWithGroups: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity potentialOwners where t.archived = 0 and ( potentialOwners.id = :userId or potentialOwners.id in (:groupIds) ) and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.status in (:status) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,883 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksOwned: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name where t.archived = 0 and t.taskData.actualOwner.id = :userId and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,887 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksAssignedAsPotentialOwnerWithGroups: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity potentialOwners where t.archived = 0 and ( potentialOwners.id = :userId or potentialOwners.id in (:groupIds) ) and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,890 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksByStatusSince: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name where t.archived = 0 and t.taskData.status = :status and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.expirationTime is null and t.taskData.activationTime < :since]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,897 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: GetSubTasksByParentTaskId: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name where t.archived = 0 and t.taskData.parentId = :parentId and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,900 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksAssignedAsTaskInitiator: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity taskInitiator where t.archived = 0 and taskInitiator.id = :userId and taskInitiator = t.peopleAssignments.taskInitiator and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,905 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksAssignedAsPotentialOwnerByStatus: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name, OrganizationalEntity potentialOwners where t.archived = 0 and potentialOwners.id = :userId and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.status in (:status) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,912 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 222) HHH000177: Error in named query: TasksByStatus: org.hibernate.hql.internal.ast.QuerySyntaxException: Task is not mapped [select new org.kie.api.task.model.TaskSummary( t.id, t.taskData.processInstanceId, name.text, subject.text, description.text, t.taskData.status, t.priority, t.taskData.skipable, actualOwner, createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime, t.taskData.processId, t.taskData.processSessionId) from Task t left join t.taskData.createdBy as createdBy left join t.taskData.actualOwner as actualOwner left join t.subjects as subject left join t.descriptions as description left join t.names as name where t.archived = 0 and t.taskData.status = :status and ( name.language = :language or t.names.size = 0 ) and ( subject.language = :language or t.subjects.size = 0 ) and ( description.language = :language or t.descriptions.size = 0 ) and t.taskData.expirationTime is null]

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:93) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:325) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3544) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3433) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:250) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:104) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:79) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:168) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:1086) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:523) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      14:53:58,946 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 222) MSC000001: Failed to start service jboss.persistenceunit."WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear/jbpmframework-0.0.1-SNAPSHOT.jar#org.jbpm.task": org.jboss.msc.service.StartException in service jboss.persistenceunit."WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear/jbpmframework-0.0.1-SNAPSHOT.jar#org.jbpm.task": javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:103) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1]

      Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:925)

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900)

      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76)

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

      ... 4 more

      Caused by: org.hibernate.HibernateException: Errors in named queries: TasksAssignedAsPotentialOwner, UnescalatedDeadlines, TasksAssignedAsRecipient, TasksAssignedAsTaskStakeholder, TasksAssignedAsPotentialOwnerByGroup, TasksByStatusByProcessIdByTaskName, TasksAssignedAsExcludedOwner, ArchivedTasks, TasksAssignedAsBusinessAdministrator, TasksByStatusByProcessId, SubTasksAssignedAsPotentialOwner, TaskByWorkItemId, TasksAssignedAsPotentialOwnerByStatusWithGroups, TasksOwned, TasksAssignedAsPotentialOwnerWithGroups, TasksByStatusSince, GetSubTasksByParentTaskId, TasksAssignedAsTaskInitiator, TasksAssignedAsPotentialOwnerByStatus, TasksByStatus

      at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:532)

      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799)

      at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96)

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)

      ... 9 more

       

       

      14:54:00,481 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear")]) - failure description: {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear/jbpmframework-0.0.1-SNAPSHOT.jar#org.jbpm.task\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear/jbpmframework-0.0.1-SNAPSHOT.jar#org.jbpm.task\": javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory

          Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory

          Caused by: org.hibernate.HibernateException: Errors in named queries: TasksAssignedAsPotentialOwner, UnescalatedDeadlines, TasksAssignedAsRecipient, TasksAssignedAsTaskStakeholder, TasksAssignedAsPotentialOwnerByGroup, TasksByStatusByProcessIdByTaskName, TasksAssignedAsExcludedOwner, ArchivedTasks, TasksAssignedAsBusinessAdministrator, TasksByStatusByProcessId, SubTasksAssignedAsPotentialOwner, TaskByWorkItemId, TasksAssignedAsPotentialOwnerByStatusWithGroups, TasksOwned, TasksAssignedAsPotentialOwnerWithGroups, TasksByStatusSince, GetSubTasksByParentTaskId, TasksAssignedAsTaskInitiator, TasksAssignedAsPotentialOwnerByStatus, TasksByStatus"}}

      14:54:00,513 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear" was rolled back with the following failure message:

      {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear/jbpmframework-0.0.1-SNAPSHOT.jar#org.jbpm.task\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear/jbpmframework-0.0.1-SNAPSHOT.jar#org.jbpm.task\": javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory

          Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory

          Caused by: org.hibernate.HibernateException: Errors in named queries: TasksAssignedAsPotentialOwner, UnescalatedDeadlines, TasksAssignedAsRecipient, TasksAssignedAsTaskStakeholder, TasksAssignedAsPotentialOwnerByGroup, TasksByStatusByProcessIdByTaskName, TasksAssignedAsExcludedOwner, ArchivedTasks, TasksAssignedAsBusinessAdministrator, TasksByStatusByProcessId, SubTasksAssignedAsPotentialOwner, TaskByWorkItemId, TasksAssignedAsPotentialOwnerByStatusWithGroups, TasksOwned, TasksAssignedAsPotentialOwnerWithGroups, TasksByStatusSince, GetSubTasksByParentTaskId, TasksAssignedAsTaskInitiator, TasksAssignedAsPotentialOwnerByStatus, TasksByStatus"}}

      14:54:00,651 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 223) JBAS011403: Stopping Persistence Unit Service 'WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear#org.jbpm.persistence.jpa'

      14:54:00,649 WARN  [org.sample.quartzservice.impl.JbpmQuartzServiceImpl] (ServerService Thread Pool -- 219) Shutting down quartz scheduler

      14:54:00,649 INFO  [org.jboss.web] (ServerService Thread Pool -- 220) JBAS018224: Unregister web context: /webapp

      14:54:00,608 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 224) JBAS011403: Stopping Persistence Unit Service 'WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear#com.mccamish.alphaservices'

      14:54:00,607 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 218) JBAS011403: Stopping Persistence Unit Service 'WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear#com.mccamish.alphaservices.task.notification'

      14:54:00,607 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 222) JBAS011403: Stopping Persistence Unit Service 'WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear#com.mccamish.nbf'

      14:54:00,701 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 219) Scheduler JbpmQuartzInstance_$_CHDSEZ400562D1528277032029 shutting down.

      14:54:01,313 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 219) Scheduler JbpmQuartzInstance_$_CHDSEZ400562D1528277032029 paused.

      14:54:01,313 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 222) JBAS011403: Stopping Persistence Unit Service 'WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear/webapp-0.0.1-SNAPSHOT.war#com.mccamish.alphaservices'

      14:54:01,528 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 219) Scheduler JbpmQuartzInstance_$_CHDSEZ400562D1528277032029 shutdown complete.

      14:54:01,649 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016009: Stopping weld service for deployment WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear

      14:54:02,305 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015974: Stopped subdeployment (runtime-name: jbpmframework-0.0.1-SNAPSHOT.jar) in 1792ms

      14:54:02,335 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015974: Stopped subdeployment (runtime-name: jbpm-quartz-framework-0.0.1-SNAPSHOT.jar) in 1822ms

      14:54:46,862 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015974: Stopped subdeployment (runtime-name: webapp-0.0.1-SNAPSHOT.war) in 46349ms

      14:54:47,688 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear (runtime-name: WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear) in 47175ms

      14:54:47,783 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.deployment.subunit."WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear"."jbpmframework-0.0.1-SNAPSHOT.jar".component.ProcessManagementService.VIEW."org.sample.jbpmservice.ProcessManagementLocal".LOCAL (missing) dependents: [service jboss.deployment.subunit."WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear"."jbpmframework-0.0.1-SNAPSHOT.jar".component.ProcessManagementService.START]

            service jboss.naming.context.java.comp."WorkflowFramework_4.0-0.0.1-SNAPSHOT".jbpmframework.ProcessManagementService (missing) dependents: [service jboss.deployment.subunit."WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear"."jbpmframework-0.0.1-SNAPSHOT.jar".component.ProcessManagementService.START]

      JBAS014777:   Services which failed to start:      service jboss.persistenceunit."WorkflowFramework_4.0-0.0.1-SNAPSHOT.ear/jbpmframework-0.0.1-SNAPSHOT.jar#org.jbpm.task"