0 Replies Latest reply on Aug 12, 2007 3:47 AM by Shubham Nagar

    jBPM + Hibernate "Could not flush sessions" problem

    Shubham Nagar Newbie

      Hi All

      We are using jBPM with Hibernate in a Seam 1.2.1 application and have come across this exception...Do we have any idea why this would occur? Has anybody else encountered this before?

      Regards
      Shubham

      2007-08-12 13:06:12,590 ERROR [STDERR] org.jbpm.persistence.JbpmPersistenceException: couldn't flush hibernate session
      2007-08-12 13:06:12,591 ERROR [STDERR] at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:189)
      2007-08-12 13:06:12,591 ERROR [STDERR] at org.jbpm.svc.Services.close(Services.java:211)
      2007-08-12 13:06:12,591 ERROR [STDERR] at org.jbpm.JbpmContext.close(JbpmContext.java:139)
      2007-08-12 13:06:12,591 ERROR [STDERR] at org.jboss.seam.core.Jbpm.installProcessDefinitions(Jbpm.java:239)
      2007-08-12 13:06:12,591 ERROR [STDERR] at org.jboss.seam.core.Jbpm.startup(Jbpm.java:66)
      2007-08-12 13:06:12,592 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-08-12 13:06:12,592 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      2007-08-12 13:06:12,592 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2007-08-12 13:06:12,592 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:615)
      2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
      2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
      2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
      2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
      2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1746)
      2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
      2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:145)
      2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.init.Initialization.init(Initialization.java:504)
      2007-08-12 13:06:12,592 ERROR [STDERR] at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
      2007-08-12 13:06:12,592 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
      2007-08-12 13:06:12,593 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
      2007-08-12 13:06:12,593 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
      2007-08-12 13:06:12,593 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
      2007-08-12 13:06:12,593 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
      2007-08-12 13:06:12,593 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)