Skip to content

Instantly share code, notes, and snippets.

@canhnt
Last active December 31, 2015 14:46
Show Gist options
  • Save canhnt/26bf2848b5e16f9096c8 to your computer and use it in GitHub Desktop.
Save canhnt/26bf2848b5e16f9096c8 to your computer and use it in GitHub Desktop.
<Context>
<Manager pathname=”” />
<Parameter name=”repository-address” value=”rmi://127.11.6.129:15099/hipporepository” override=”false”/>
<Parameter name=”repository-directory” value=”${catalina.base}/../repository” override=”false”/>
<Parameter name=”start-remote-server” value=”false” override=”false”/>
<Parameter name=”check-username” value=”liveuser” override=”false”/>
<Resource name=”mail/Session” auth=”Container” type=”javax.mail.Session” mail.smtp.host=”localhost”/>
<Resource
name="jdbc/repositoryDS" auth="Container" type="javax.sql.DataSource"
maxTotal="20" maxIdle="10" initialSize="2" maxWaitMillis="10000"
testWhileIdle="true" testOnBorrow="false" validationQuery="SELECT 1"
timeBetweenEvictionRunsMillis="10000"
minEvictableIdleTimeMillis="60000"
username="hippo" password="hippocms"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://127.11.6.130:3306/cms?characterEncoding=utf8"/>
</Context>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment