Encountering "java.sql.SQLException: Connection is not associated with a managed connection" when using Spring DataSourceUtils in JBoss EAP
Issue
Encountering the below when using connections obtained from Spring's DataSourceUtils.getConnection(DataSource) API:
java.sql.SQLException: Connection is not associated with a managed connection.org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6@99999999
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7
- 6
- Spring Framework 4.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
