We are attempting to use c3p0 with ha-jdbc. Our application is "stand-alone": it does not live inside a j2ee container of any kind. It is "wired" with spring.
We can instantiate, configure, and wire instances of WrapperConnectionPoolDataSource and ha-jdbc and they seem to work in general.
But when we fire up a jconsole, we are not getting any beans from c3p0, as the documen tation promises in section 7.xi.
When we add a bean for com.mchange.v2.c3p0.management.ActiveManagementCoordinator, we get the C3P0Registry bean, but it reports there are no data sources.
But the data sources are there: the application generally works, and ha-jdbc is seeing and using the data sources.
Also, WrapperConnectionPoolDataSource's don't have a dataSourceName property, as implied by the section "Using C3P0Registry to get a reference to a DataSource" of the documentation. How will I be able to distinguish between the multiple connection pools if'n and when'n they get JMX mBeans?
Thank you in advance for any and all help with this.