tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54235] tomcat jdbc pool stackoverflow error used with spring
Date Wed, 01 May 2013 13:25:46 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54235

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

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message