3 Replies Latest reply on Oct 30, 2006 9:17 AM by Ronald van Kuijk

    Hibernate Connection Lost

    Bill Luo Newbie

      I have a strange problem. I developed some web-services (AXIS-based). DB using mysql 5.0.26.

      In jbpm start kit, it works stable. The service works for more than 1 month never down.

      Then I deployed to Geronimo 1.1, after several hours (more than 8). The connection seems lost. The error message as below:
      soapenv:Server.userException] org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.persistence.JbpmPersistenceException: couldn't commit hibernate session}

      I use below code to initailize jbpm for each servive:

      JbpmConfiguration jconf = JbpmConfiguration.getInstance();
      JbpmContext jContext = jconf.createContext();

      Could somebody give me some suggestions? Thanks...