Can you confirm psql connectivity between the data base and the Java
application server (i.e. CAS)?
CL / SERRANO GALVACHE 56
BLOQUE ABEDUL PLANTA 4
+34 917 56 84 94
The activity of email inboxes can be systematically tracked by colleagues,
business partners and third parties. Turn off automatic loading of images
to hamper it.
2018-04-04 13:17 GMT+00:00 Aghil krishna <aghilkris...@gmail.com>:
> Hi All,
> I'm trying to integrate CAS server with my exiting client projects. I'm
> facing database connection timeout issue.
> CAS Version : 4.2.1
> Database : PostgreSql
> In cas.properties,
>> # == Basic database connection pool configuration ==
>> # Maximum amount of time to wait in ms for a connection to become
>> # available when the pool is exhausted
>> # Amount of time in seconds after which idle connections
>> # in excess of minimum size are pruned.
>> # Number of connections to obtain on pool exhaustion condition.
>> # The maximum pool size is always respected when acquiring
>> # new connections.
>> # == Connection testing settings ==
>> # Period in s at which a health query will be issued on idle
>> # connections to determine connection liveliness.
>> # Query executed periodically to test health
>> database.pool.connectionHealthQuery=select 1
>> # == Database recovery settings ==
>> # Number of times to retry acquiring a _new_ connection
>> # when an error is encountered during acquisition.
>> # Amount of time in ms to wait between successive aquire retry attempts.
>> # == PDS User record fetch query == #
>> cas.jdbc.authn.query.sql=select * from user where username = ?
> After entering login credential from login page, I'm getting the below
> 2018-04-04 17:35:58,718 ERROR [org.jasig.cas.authentication.
> PolicyBasedAuthenticationManager] - <CustomDatabaseAuthenticationHandler:
> SQL exception while executing query for testusername (Details: Could not
> get JDBC Connection; nested exception is java.sql.SQLException: An
> attempt by a client to checkout a Connection has timed out.)>
> Please update me what has to be done to resolve this.
> Note : The same cas server setup is working with mysql database but not in
> postgresql .
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
You received this message because you are subscribed to the Google Groups "CAS
To unsubscribe from this group and stop receiving emails from it, send an email
To view this discussion on the web visit