openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans J. Prueller" <>
Subject WARNING: Connection not closed by caller - messages produced by OpenJPA?
Date Wed, 28 Mar 2007 18:47:39 GMT
Hi together,

I succeeded in integrating OpenJPA into our J2EE1.4 container, running
side-by-side within the same JTA transactions as
container managed EJB2.1 CMP entity beans.

The lookup/creation of the EntityManager instances is synchronizing with
the JTA TXs as you suggested some weeks ago
on this list.

After having a test server up and running for some days, we are
encountering lots of those messages:

WARNING: Connection not closed by caller

Suddenly (some hours later), a transactions fails:

2007-03-27 14:57:07,097 : WARNING :  Logger.log :    Conflict with
2007-03-27 14:57:07,113 : WARNING :  Logger.log :    Current Tx is
2007-03-27 14:57:07,144 : WARNING :  Logger.log :    You should not
modify the bean without a transactional context

2007-03-27 14:57:07,160 : SEVERE :  Logger.log :    system exception in
business method:javax.ejb.EJBException: Conflict writing entity bean

Somehow this HAS to be related to the OpenJPA integration, but the
server was up for at least a day and running fine until above error
occured. Any idea how this bad conflict could be caused? 


View raw message