yep looks close i reverted currently because was too aggressive
the issue is mainly it is quite easy to clean xaresources map but caches is harder to clean with current code *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/15 AndyG <[email protected]> > Breaks my app. > > 2012-11-15 16:54:45,078 WARN > [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ejbd 5) SQL Error: 0, > SQLState: null > 2012-11-15 16:54:45,078 ERROR > [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ejbd 5) Connection does > not have a registered XAResource jdbc:postgresql://[url removed], > PostgreSQL > Native Driver > 2012-11-15 16:54:45,081 ERROR > [com.orprovision.spectrum.storage.bean.server.PreferencesFactoryImpl] (ejbd > 5) hasPreferences > javax.persistence.PersistenceException: > org.hibernate.exception.GenericJDBCException: Could not open connection > > It looks very similar to this (But I am using Sun JDK 1.6.36): > https://issues.apache.org/jira/browse/DBCP-356 > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Re-jira-Closed-OPENEJB-1937-commons-dbcp-doesn-t-clean-its-transactionregistry-maps-tp4658631p4658632.html > Sent from the OpenEJB Dev mailing list archive at Nabble.com. >
