org.apache.ode.bpel.iapi.ContextException: DbError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Jersey - Tomcat 6 + Jersey + Weld (Seam 3)
    via by Unknown author,
  • We upgraded Hibernate from version 3.1.3 to version 3.2.4. Creating the connection and transaction worked using 3.1.3 although when upgrading using Hibernate 3.2.4 it fails creating the transaction. org.hibernate.TransactionException: Unable to locate UserTransaction to check status at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:102) at org.hibernate.jdbc.JDBCContext.isTransactionInProgress(JDBCContext.java:187) at org.hibernate.impl.SessionImpl.isTransactionInProgress(SessionImpl.java:369) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:962) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at com.vangenechten.infrastructure.services.resources.WfDataDAO.getAllParentWfData(WfDataDAO.java:175) at com.vangenechten.infrastructure.services.service.WfDataServiceImpl.getAllParentWfData(WfDataServiceImpl.java: 161) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.getHowManyConfiguration(WorkflowProces sor.java:109) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.execute(WorkflowProcessor.java:57) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:113) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:98)
    via by Guy,
  • We upgraded Hibernate from version 3.1.3 to version 3.2.4. Creating the connection and transaction worked using 3.1.3 although when upgrading using Hibernate 3.2.4 it fails creating the transaction. org.hibernate.TransactionException: Unable to locate UserTransaction to check status at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:102) at org.hibernate.jdbc.JDBCContext.isTransactionInProgress(JDBCContext.java:187) at org.hibernate.impl.SessionImpl.isTransactionInProgress(SessionImpl.java:369) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:962) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at com.vangenechten.infrastructure.services.resources.WfDataDAO.getAllParentWfData(WfDataDAO.java:175) at com.vangenechten.infrastructure.services.service.WfDataServiceImpl.getAllParentWfData(WfDataServiceImpl.java: 161) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.getHowManyConfiguration(WorkflowProces sor.java:109) at com.vangenechten.workflow.cic.workflow.shark.service.WorkflowProcessor.execute(WorkflowProcessor.java:57) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:113) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:98)
    via by Guy,
    • org.apache.ode.bpel.iapi.ContextException: DbError at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:657) at org.apache.ode.store.ProcessStoreImpl.loadAll(ProcessStoreImpl.java:551) at org.apache.ode.axis2.ODEServer.init(ODEServer.java:197) at org.apache.ode.axis2.ODEServer.init(ODEServer.java:137) at org.apache.ode.axis2.hooks.ODEAxisServlet.init(ODEAxisServlet.java:53) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4425) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4738) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1080) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1003) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060) 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:759) 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:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.util.concurrent.ExecutionException: org.hibernate.TransactionException: Could not find UserTransaction in JNDI [java:comp/UserTransaction] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:655) ... 30 more Caused by: org.hibernate.TransactionException: Could not find UserTransaction in JNDI [java:comp/UserTransaction] at org.hibernate.transaction.JTATransactionFactory.getUserTransaction(JTATransactionFactory.java:173) at org.hibernate.transaction.JTATransactionFactory.createTransaction(JTATransactionFactory.java:149) at org.hibernate.jdbc.JDBCContext.registerSynchronizationIfPossible(JDBCContext.java:195) at org.hibernate.jdbc.JDBCContext.<init>(JDBCContext.java:99) at org.hibernate.impl.SessionImpl.<init>(SessionImpl.java:241) at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:605) at org.hibernate.context.JTASessionContext.buildOrObtainSession(JTASessionContext.java:152) at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:111) at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:622) at org.apache.ode.store.hib.DbConfStoreConnectionFactory.getConnection(DbConfStoreConnectionFactory.java:100) at org.apache.ode.store.hib.DbConfStoreConnectionFactory.getConnection(DbConfStoreConnectionFactory.java:45) at org.apache.ode.store.ProcessStoreImpl.getConnection(ProcessStoreImpl.java:662) at org.apache.ode.store.ProcessStoreImpl.access$500(ProcessStoreImpl.java:67) at org.apache.ode.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:829) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:113) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:152) at javax.naming.InitialContext.lookup(InitialContext.java:411) at org.hibernate.transaction.JTATransactionFactory.getUserTransaction(JTATransactionFactory.java:163) ... 17 more

    Users with the same issue

    Unknown visitor1 times, last one,