Home > Global Settings > Advanced Settings > System Level Settings > Service Instance

Service Instance

These settings can be found under Global Settings > Advanced Settings for module Service:

Properties Description
Client TLS Cert must matches the Client ID If configured as TRUE, Client ID must be equal to CN of TLS client authentication certificate for each service request. The default parameter values are:
  • CLIENT_SSL_CERT_CN_MUST_MATCH_CLIENT_ID = FALSE
Database connections settings
In ADSS Server Service settings, database connection can be re-configured so that the connections can be reused when future requests to the database are required. The default parameter values are:
  • CONNECTION_POOL_QUERY_TIMEOUT = 180
    Number of seconds a query will wait for the database to return the results before terminating the connection.

  • ENABLE_DB_CONNECTION_COUNTER = FALSE
    Used to display the database connections details of logs. To enable logging, uncomment the "File Appenders for Temporary c3p0" appender in service/log.properties file as well.
  • DATABASE_MONITORING_INTERVAL = 1
    Time interval after which the database monitoring thread check the database aliveness.
  • hibernate.c3p0.minPoolSize = 40
    Minimum number of connections a pool will maintain at any given time for ADSS Server Core instance.

  • hibernate.c3p0.maxPoolSize = 1000
    Maximum number of Connections a pool will maintain at any given time for ADSS Server Core instance.

  • hibernate.c3p0.maxIdleTime = 900
    Seconds a connection can remain pooled but unused before being discarded. Zero means idle connections never expire.

  • hibernate.c3p0.acquireIncrement = 10
    Determines how many connections at a time c3p0 will try to acquire when the pool is exhausted

  • hibernate.c3p0.checkoutTimeout = 600000
    The number of milliseconds a client calling getConnection() will wait for a connection to be checked-in or acquired when the pool is exhausted. Zero means wait indefinitely. Setting any positive value will cause the getConnection() call to time-out and break with an SQLException after the specified number of milliseconds.
For more details, follow the link: http://www.mchange.com/projects/c3p0/

See also