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:
<local-tx-datasource>
<jndi-name>orka_bankingDatasource</jndi-name>
<connection-url>jdbc:hsqldb:.</connection-url>
<driver-class>org.hsqldb.jdbcDriver</driver-class>
<user-name>sa</user-name>
<password></password>
</local-tx-datasource>
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.
Post the whole stack trace, you back ticks to enclose code, post the jpdl.