Glassfish to JBoss EAP 6 migration issue related to Seam/Jbpm and Hibernate

Solution Verified - Updated -


  • We are migrating Seam based application from Glassfish to JBoss EAP 6
  • We are facing following error
ERROR [stderr] (JbpmJobExecutor:X.X.X.X:1) Exception in thread "JbpmJobExecutor:X.X.X.X:1" java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session;
ERROR [stderr] (JbpmJobExecutor:X.X.X.X:1)  at org.jbpm.persistence.db.DbPersistenceService.getSession(
ERROR [stderr] (JbpmJobExecutor:X.X.X.X:1)  at org.jbpm.persistence.db.DbPersistenceService.getJobSession(
ERROR [stderr] (JbpmJobExecutor:X.X.X.X:1)  at org.jbpm.JbpmContext.getJobSession(
ERROR [stderr] (JbpmJobExecutor:X.X.X.X:1)  at org.jbpm.job.executor.JobExecutorThread.acquireJobs(
ERROR [stderr] (JbpmJobExecutor:X.X.X.X:1)  at


JBoss Enterprise Application Platform (EAP) 6.0 - Beta

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content