1 Reply Latest reply on Feb 26, 2008 12:48 PM by Pete Muir

    Persists EJB from a jBPM process

    Christian Wolter Newbie

      Dear all,
      I am using JBoss 4.2.0, JBPM-JPDL 3.2, and SEAM 2.0.0.GA
      I would like to perist an entity bean after the completion of a jBPM task. The process and its state a persisted as intendend. When it comes to perists the EJB by an entity manager i got an exception:

      Cannot open connection     at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx

      cannot open connection at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException

      I assume this is related to a wrong datasource configuration that look like:


      what must I do to perists the ejb in the right way, and how to I link this ejb (i.e. its ID) with the business process instance?

      Thanks in advance, if you need more information let me know.