Skip to content

Instantly share code, notes, and snippets.

@sbose78
Created May 22, 2013 06:06
Show Gist options
  • Save sbose78/5625572 to your computer and use it in GitHub Desktop.
Save sbose78/5625572 to your computer and use it in GitHub Desktop.
Files to be added.
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/udhc-eclipse-tomcat6" docBase="udhc-eclipse-tomcat6" reloadable="true" crossContext="true">
<Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
maxActive="20" maxIdle="5"
username="root" password="qwerty"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/udhc_local_db" />
<Resource name="jdbc/awsDB" auth="Container" type="javax.sql.DataSource"
testWhileIdle="true"
maxActive="30"
maxIdle="5"
maxWait="3000"
removeAbandoned="true"
logAbandoned="false"
removeAbandonedTimeout="3"
timeBetweenEvictionRunsMillis="300000"
username="sbose78" password="XXXXXXXXX"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://udhc-amazXXXXXXXXXn6.ap-northeast-1.rds.amazonaws.com:3306/health?autoReconnect=true" />
</Context>
database_host=localhost
database_port=3306
database_user=root
database_password=qwerty
database_database=udhc_local_db
[email protected]
admin_password=somepassword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment