26 lines
No EOL
873 B
XML
Executable file
26 lines
No EOL
873 B
XML
Executable file
<?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="username"
|
|
password="password"
|
|
driverClassName="com.mysql.jdbc.Driver"
|
|
url="jdbc:mysql://host:3306/database"
|
|
maxActive="8"
|
|
maxIdle="4"
|
|
validationQuery="SELECT 1"
|
|
testOnBorrow="true" />
|
|
|
|
</Context> |