2003-10-06 16:23:49 +00:00
|
|
|
|
2003-10-06 00:37:12 +00:00
|
|
|
<Context path="/lex" docBase="/Users/travis/webapps/lex/build" debug="0" reloadable="true" crossContext="true">
|
2003-10-06 16:23:49 +00:00
|
|
|
|
|
|
|
<Resource name="jdbc/lex-datasource" scope="Shareable" type="javax.sql.DataSource"/>
|
|
|
|
<ResourceParams name="jdbc/lex-datasource">
|
|
|
|
<parameter>
|
|
|
|
<name>factory</name>
|
|
|
|
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
|
|
|
|
</parameter>
|
|
|
|
|
|
|
|
<!-- DBCP database connection settings -->
|
|
|
|
<parameter>
|
|
|
|
<name>url</name>
|
2003-10-30 00:05:39 +00:00
|
|
|
<value>jdbc:mysql://localhost/Lex?useUnicode=true&characterEncoding=UTF-8</value>
|
2003-10-06 16:23:49 +00:00
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>driverClassName</name>
|
|
|
|
<value>com.mysql.jdbc.Driver</value>
|
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>username</name>
|
|
|
|
<value>username</value>
|
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>password</name>
|
|
|
|
<value>password</value>
|
|
|
|
</parameter>
|
|
|
|
|
|
|
|
<!-- DBCP connection pooling options -->
|
|
|
|
<parameter>
|
|
|
|
<name>maxWait</name>
|
|
|
|
<value>5000</value>
|
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>maxIdle</name>
|
2003-10-22 14:25:16 +00:00
|
|
|
<value>7</value>
|
2003-10-06 16:23:49 +00:00
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>maxActive</name>
|
2003-10-22 14:25:16 +00:00
|
|
|
<value>15</value>
|
2003-10-06 16:23:49 +00:00
|
|
|
</parameter>
|
2003-12-21 16:51:08 +00:00
|
|
|
<parameter>
|
|
|
|
<name>removeAbandoned</name>
|
|
|
|
<value>true</value>
|
|
|
|
</parameter>
|
2003-10-06 16:23:49 +00:00
|
|
|
</ResourceParams>
|
|
|
|
|
|
|
|
<Resource name="jdbc/thdl-users-datasource" scope="Shareable" type="javax.sql.DataSource"/>
|
|
|
|
<ResourceParams name="jdbc/thdl-users-datasource">
|
|
|
|
<parameter>
|
|
|
|
<name>factory</name>
|
|
|
|
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
|
|
|
|
</parameter>
|
2003-10-06 00:37:12 +00:00
|
|
|
|
|
|
|
<!-- DBCP database connection settings -->
|
2003-10-06 16:23:49 +00:00
|
|
|
<parameter>
|
|
|
|
<name>url</name>
|
2004-01-07 20:54:45 +00:00
|
|
|
<value>jdbc:mysql://localhost/ThdlUser</value>
|
2003-10-06 16:23:49 +00:00
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>driverClassName</name>
|
2003-10-06 00:37:12 +00:00
|
|
|
<value>com.mysql.jdbc.Driver</value>
|
2003-10-06 16:23:49 +00:00
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>username</name>
|
|
|
|
<value>username</value>
|
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>password</name>
|
|
|
|
<value>password</value>
|
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>useUnicode</name>
|
|
|
|
<value>true</value>
|
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>characterEncoding</name>
|
|
|
|
<value>utf-8</value>
|
|
|
|
</parameter>
|
2003-10-06 00:37:12 +00:00
|
|
|
|
|
|
|
<!-- DBCP connection pooling options -->
|
2003-10-06 16:23:49 +00:00
|
|
|
<parameter>
|
|
|
|
<name>maxWait</name>
|
|
|
|
<value>5000</value>
|
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>maxIdle</name>
|
2003-10-22 14:25:16 +00:00
|
|
|
<value>7</value>
|
2003-10-06 16:23:49 +00:00
|
|
|
</parameter>
|
|
|
|
<parameter>
|
|
|
|
<name>maxActive</name>
|
2003-10-22 14:25:16 +00:00
|
|
|
<value>15</value>
|
2003-10-06 16:23:49 +00:00
|
|
|
</parameter>
|
2003-12-21 16:51:08 +00:00
|
|
|
<parameter>
|
|
|
|
<name>removeAbandoned</name>
|
|
|
|
<value>true</value>
|
|
|
|
</parameter>
|
2003-10-06 16:23:49 +00:00
|
|
|
</ResourceParams>
|
2003-10-06 00:37:12 +00:00
|
|
|
|
2003-10-06 16:23:49 +00:00
|
|
|
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs/access" prefix="lex_access_log." suffix=".txt" pattern="combined" resolveHosts="true"/>
|
2003-10-06 00:37:12 +00:00
|
|
|
</Context>
|
|
|
|
|