41 lines
2.0 KiB
XML
41 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Context>
|
|
|
|
<!-- maxTotal: Maximum number of database connections in pool. Make sure you
|
|
configure your mysqld max_connections large enough to handle
|
|
all of your db connections. Set to -1 for no limit.
|
|
-->
|
|
|
|
<!-- maxIdle: Maximum number of idle database connections to retain in pool.
|
|
Set to -1 for no limit. See also the DBCP documentation on this
|
|
and the minEvictableIdleTimeMillis configuration parameter.
|
|
-->
|
|
|
|
<!-- maxWaitMillis: Maximum time to wait for a database connection to become available
|
|
in ms, in this example 10 seconds. An Exception is thrown if
|
|
this timeout is exceeded. Set to -1 to wait indefinitely.
|
|
-->
|
|
|
|
<!-- username and password: MySQL username and password for database connections -->
|
|
|
|
<!-- driverClassName: Class name for the old mm.mysql JDBC driver is
|
|
org.gjt.mm.mysql.Driver - we recommend using Connector/J though.
|
|
Class name for the official MySQL Connector/J driver is com.mysql.jdbc.Driver.
|
|
-->
|
|
|
|
<!-- url: The JDBC connection url for connecting to your MySQL database.
|
|
-->
|
|
|
|
<Resource name="jdbc/dsCHN_eai" auth="Container" type="javax.sql.DataSource"
|
|
maxTotal="20" maxIdle="10" maxWaitMillis="10000"
|
|
username="eai" password="eaiadmin" driverClassName="org.postgresql.Driver"
|
|
url="jdbc:postgresql://localhost:5432/eai"/>
|
|
<Resource name="jdbc/dsCHN_fep" auth="Container" type="javax.sql.DataSource"
|
|
maxTotal="20" maxIdle="10" maxWaitMillis="10000"
|
|
username="fep" password="fepadmin" driverClassName="org.postgresql.Driver"
|
|
url="jdbc:postgresql://localhost:5432/fep"/>
|
|
<Resource name="jdbc/dsIMA_imaeai" auth="Container" type="javax.sql.DataSource"
|
|
maxTotal="20" maxIdle="10" maxWaitMillis="10000"
|
|
username="eai" password="eaiadmin" driverClassName="org.postgresql.Driver"
|
|
url="jdbc:postgresql://localhost:5432/eai"/>
|
|
</Context> |