Will a web flow that uses
work if the database connection pool is manged by tomcat (in GlobalNamingResources of server.xml) and retrieved by spring using JNDI, or is it required that the dataSource be a spring managed bean of typeCode:<persistence-context/>?Code:org.apache.commons.dbcp.BasicDataSource
I am currently using a Tomcat managed pool and after completion of every flow (after the commit), there is always one db connection that becomes unusable and eventually I run out of connections. I am trying to determine if I am not managing Transactions correctly or if Spring Web Flow might not work with a persistence-context unless it uses a spring managed dbcp.
Anyone know if this SHOULD work with Tomcat managed pool?


Reply With Quote
