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

34 lines
1.6 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="NDAPIGW_APP_NXA" auth="Container" type="javax.sql.DataSource"
maxTotal="10" initialSize="10" maxIdle="10" maxActive="10" maxWaitMillis="10000"
poolPreparedStatements="true" validationQuery="SELECT 1" validationInterval="600000"
username="apigw" password="apigw" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://192.168.240.177:3306/apigw"/>
</Context>