Hi folks,
Has anyone a functional snippets of resources.xml where a datasource is
configured to be pooled using c3p0 ?
I just tried to setup c3p0 for my datasources, but I am getting a NPE.
Here is what looks like my datasource config :
<Resource
id="jdbc/com.optosecurity.report.datasource.migration.progression"
type="javax.sql.DataSource"
class-name="com.mchange.v2.c3p0.ComboPooledDataSource">
jdbcDriver = com.mysql.jdbc.Driver
jdbcUrl = jdbc:mysql://localhost:3306/foo
userName = bar
password = zee
JtaManaged = true
# ...
</Resource>
Thanks in advance !
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Datasource-pooled-using-c3p0-tp4677115.html
Sent from the TomEE Users mailing list archive at Nabble.com.