<?xml version="1.0" encoding="UTF-8"?>
<Context>
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
    <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
    <Environment name="spring.config.location" value="file:/opt/tomcat/rdap/rdap.properties" type="java.lang.String"/>
    <Resource name="registrydb" auth="Container" 
               type="javax.sql.DataSource" 
               driverClassName="org.postgresql.Driver" 
               url="jdbc:postgresql://127.0.0.1:5432/registry" 
               username="postgres" 
               password="*******" 
               maxTotal="185"
               initialSize="10"
               minIdle="10"
               maxIdle="20"
               maxWaitMilis="15000"
               defaultReadOnly="false"
               defaultAutoCommit="true"
               timeBetweenEvictionRunsMillis="30000"
               minEvictableIdleTimeMillis="60000"
               testOnBorrow="true"
               testWhileIdle="true"
               validationQuery="SELECT 1"
               validationQueryTimeout="3"
               removeAbandonedOnBorrow="true"
               removeAbandonedOnMaintenance="true"
               removeAbandonedTimeout="300"
               logAbandoned="true" />
</Context>