Skip to content
forumbyr edited this page Jul 14, 2014 · 2 revisions

$TOMCAT_HOME/webapps/rdap/WEB-INF/classes/jdbc.properties

For test purpose, the first 4 properties - 'jdbc.url.hostPort','jdbc.url.dbName','jdbc.username','jdbc.password' must be configured.

(lines start with '#' are comments)

#jdbc url host and port.
#MUST change $MYSQL_HOST_OR_IP to Mysql host or ip
jdbc.url.hostPort=jdbc:mysql://$MYSQL_HOST_OR_IP:3306/
#database name
jdbc.url.dbName=rdap
#value change to jdbc username
jdbc.username=**
#value change to jdbc password
jdbc.password=**
#jdbc url params
jdbc.url.params=useUnicode=true&characterEncoding=UTF-8
# jdbc driver class name
jdbc.driverClassName=com.mysql.jdbc.Driver
#jdbc max pool size
jdbc.maxPoolSize=100
#jdbc min pool size
jdbc.minPoolSize=3