Changed context file to example file

This commit is contained in:
Ziver Koc 2017-01-20 14:23:02 +01:00
parent 1835a850f6
commit e02e2cdfbe

View file

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This file should modified and copied to /etc/tomcat7/Catalina/localhost/Zallery.xml -->
<Context>
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<Environment type="java.lang.String" name="WEBSITE_NAME" value="Gallery" />
<Environment type="java.lang.String" name="WEBSITE_URL" value="http://example.com/zallery/" />
<Environment type="java.lang.String" name="SMTP_HOST" value="127.0.0.1" />
<Environment type="java.lang.String" name="DATA_PATH" value="C:\\data" />
<Resource
name="jdbc/mysql"
auth="Container"
type="javax.sql.DataSource"
username="main"
password="ZL5CU5qzbx4MzEnA"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://koc.se:3306/main"
maxActive="8"
maxIdle="4"
validationQuery="SELECT 1"
testOnBorrow="true" />
</Context>