https://issues.apache.org/bugzilla/show_bug.cgi?id=54235

--- Comment #2 from Arjen van der Meijden <a...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to