On 4/24/07, Steve Waldman <swaldman@...> wrote:
> To may shame, there are serious issues re using c3p0 in JBoss 4.
> JBoss 4 really wants DataSources to be JCA-managed resource adapters.
> That's coming in the next major version of c3p0, but (more shame) a
> pressing project is preventing much short-term motion on that. This
> is very high on the list of c3p0-issue I want to fix. I want c3p0 to
> be very application server friendly, but it's not there yet, at least
> not for jboss 4.
Thanks for your help. I will use the standard JCA datasources
delivered with JBoss then.
> p.s. do you get messages/warnings in your jboss logs when it tries to
> deploy the c3p0 DataSource?
No, JBoss deploys those datasources without any warning, I see only:
2007-04-23 10:22:07,679 INFO
[com.mchange.v2.c3p0.mbean.C3P0PooledDataSource] Bound C3P0
PooledDataSource to name 'java:XXX'. Starting...
2007-04-23 10:22:07,704 INFO
[com.mchange.v2.c3p0.PoolBackedDataSource] Initializing c3p0 pool...
com.mchange.v2.c3p0.ComboPooledDataSource@...[ ... ]