Files
eapim-online/WebContent/META-INF/context-postgre-local.xml
T
Rinjae a1d74cf004 init
2025-09-05 19:06:22 +09:00

55 lines
2.9 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.
-->
<!-- MCC
<Resource name="jndi/DMCC_IIAAPP_N" auth="Container" type="javax.sql.DataSource"
maxTotal="10" maxIdle="10" maxWaitMillis="10000"
username="mci" password="mciadmin" driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://192.168.8.21:5433/mci"/>
-->
<Resource name="jndi/DMCC_IIAAPP_N" auth="Container" type="javax.sql.DataSource"
maxTotal="10" maxIdle="10" maxWaitMillis="10000"
username="mci" password="mciadmin" driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://192.168.8.21:5433/mci"/>
<!-- MCU -->
<!-- <Resource name="jndi/DMCU_IIAAPP_N" auth="Container" type="javax.sql.DataSource" -->
<!-- maxTotal="10" maxIdle="10" maxWaitMillis="10000" -->
<!-- username="IIUPKG" password="IIUPKG" driverClassName="oracle.jdbc.OracleDriver" -->
<!-- url="jdbc:oracle:thin:@//192.168.8.101:1521/hanacap"/> -->
<!-- EAI -->
<Resource name="jndi/DEAI_IICAPP_N" auth="Container" type="javax.sql.DataSource"
maxTotal="10" initialSize="10" maxIdle="10" maxActive="10" maxWaitMillis="10000"
poolPreparedStatements="true" validationQuery="SELECT 1" validationInterval="600000"
username="eai" password="eaiadmin" driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://192.168.8.21:5433/eai"/>
<!-- FEP -->
<Resource name="jndi/DFEP_IIBAPP_N" auth="Container" type="javax.sql.DataSource"
maxTotal="10" maxIdle="10" maxWaitMillis="10000"
username="fep" password="fepadmin" driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://192.168.8.21:5433/fep"/>
</Context>