JBoss Community

Unable to get jbpm 5.3 console working

created by Swaminathan Bhaskar in jBPM Development - View the full discussion

Hello;

 

I am trying to get the JBPM 5.3 console to work and running into the following issue. Any ideas - any help appreciated.

 

Jul 26, 2012 5:50:57 PM org.apache.catalina.core.ApplicationContext log

SEVERE: StandardWrapper.Throwable

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

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

    at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)

    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)

    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)

    at org.jbpm.task.servlet.HumanTaskServiceServlet.init(HumanTaskServiceServlet.java:105)

    at javax.servlet.GenericServlet.init(GenericServlet.java:212)

    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)

    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)

    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)

    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)

    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)

    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)

    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)

    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)

    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)

    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)

    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

    at org.apache.catalina.core.StandardService.start(StandardService.java:525)

    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:601)

    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Caused by: org.hibernate.HibernateException: Could not obtain BTM transaction manager instance

    at org.hibernate.transaction.BTMTransactionManagerLookup.getTransactionManager(BTMTransactionManagerLookup.java:50)

    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:367)

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

    at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)

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

    ... 31 more

Caused by: java.lang.ClassCastException: bitronix.tm.BitronixTransactionManager cannot be cast to javax.transaction.TransactionManager

    at org.hibernate.transaction.BTMTransactionManagerLookup.getTransactionManager(BTMTransactionManagerLookup.java:47)

    ... 35 more

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community