Hi! Alberto: I check: - The java.policy is the default in tomcat 6. - I can conect to casdb with casuser from external (pg_hba.conf is good). - I create a java jdbc conexion and work fine.
Any Idea?. Thank's for your help. 2013/5/24 Alberto Cabello Sánchez <albe...@unex.es> > 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 > albe...@unex.es > > -- > You are currently subscribed to cas-user@lists.jasig.org as: > kjlore...@gmail.com > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user