tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54235] tomcat jdbc pool stackoverflow error used with spring
Date Wed, 01 May 2013 13:25:46 GMT

--- Comment #2 from Arjen van der Meijden <> ---
Do you have autowire in Spring enabled? If so, it'll inject a
'dataSource'-object in the setDataSource-property of your

Its a bit weird that the object has a setDataSource-method at all, but you can
fairly easily fix it by setting autowire="no" on the particular pool, like so:

<bean id="dataSource" class="org.apache.tomcat.jdbc.pool.DataSource"
destroy-method="close" autowire="no">

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message