On Fri, May 24, 2013 at 01:07:59AM -0700, Karlos wrote: > I tried to enable JPA according to the documentation > https://wiki.jasig.org/display/CASUM/JpaTicketRegistry, but I'm experiencing > some problems with CAS. > > When I start Cas I get the following error: > > ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] - <HHH000319: Could not get > database metadata> > java.sql.SQLException: Connections could not be acquired from the underlying > database! > at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106) > at > com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529) > at > com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
Check this out: http://stackoverflow.com/questions/2166460/c3p0-pool-cannot-establish-a-coonection-how-to-debug-this -- ----------------------- Alberto Cabello Sánchez [email protected] -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
