-
-
Save anonymous/a45b234661dad2864b64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../instance1/context.xml | |
<Resource auth="Container" type="javax.sql.DataSource" name="jdbc/portal" | |
driverClassName="com.ibm.db2.jcc.DB2Driver" | |
url="jdbc:db2://db2.server.com:50000/PORTAL" | |
maxActive="50" maxIdle="25" minIdle="1" maxWait="10000" | |
initialSize="1" testOnBorrow="true" minEvictableIdleTimeMillis="1800000" | |
timeBetweenEvictionRunsMillis="1800000" testWhileIdle="true" testOnReturn="true" | |
username="user" password="yes" | |
validationQuery="SELECT COUNT(*) FROM SYSIBM.SYSTABLES" | |
removeAbandoned="true" removeAbandonedTimeout="600" /> | |
<Resource auth="Container" type="javax.sql.DataSource" name="jdbc/load" | |
driverClassName="com.ibm.db2.jcc.DB2Driver" | |
url="jdbc:db2://db2.server.com:50000/LOAD" | |
maxActive="50" maxIdle="25" minIdle="1" maxWait="10000" | |
initialSize="1" testOnBorrow="true" minEvictableIdleTimeMillis="1800000" | |
timeBetweenEvictionRunsMillis="1800000" testWhileIdle="true" testOnReturn="true" | |
username="noone" password="no" | |
validationQuery="SELECT COUNT(*) FROM SYSIBM.SYSTABLES" | |
removeAbandoned="true" removeAbandonedTimeout="600" /> | |
../instance2/context.xml | |
<Resource auth="Container" type="javax.sql.DataSource" name="jdbc/portal" | |
driverClassName="com.ibm.db2.jcc.DB2Driver" | |
url="jdbc:db2://db2.server.com:50000/PORTAL" | |
maxActive="50" maxIdle="25" minIdle="1" maxWait="10000" | |
initialSize="1" testOnBorrow="true" minEvictableIdleTimeMillis="1800000" | |
timeBetweenEvictionRunsMillis="1800000" testWhileIdle="true" testOnReturn="true" | |
username="user" password="yes" | |
validationQuery="SELECT COUNT(*) FROM SYSIBM.SYSTABLES" | |
removeAbandoned="true" removeAbandonedTimeout="600" /> | |
<Resource auth="Container" type="javax.sql.DataSource" name="jdbc/other" | |
driverClassName="com.ibm.db2.jcc.DB2Driver" | |
url="jdbc:db2://db2.server.com:50000/OTHER" | |
maxActive="50" maxIdle="25" minIdle="1" maxWait="10000" | |
initialSize="1" testOnBorrow="true" minEvictableIdleTimeMillis="1800000" | |
timeBetweenEvictionRunsMillis="1800000" testWhileIdle="true" testOnReturn="true" | |
username="two" password="ok" | |
validationQuery="SELECT COUNT(*) FROM SYSIBM.SYSTABLES" | |
removeAbandoned="true" removeAbandonedTimeout="600" /> | |
<Resource auth="Container" type="javax.sql.DataSource" name="jdbc/unload" | |
driverClassName="com.ibm.db2.jcc.DB2Driver" | |
url="jdbc:db2://db2.server.com:50000/UNLOAD" | |
maxActive="50" maxIdle="25" minIdle="1" maxWait="10000" | |
initialSize="1" testOnBorrow="true" minEvictableIdleTimeMillis="1800000" | |
timeBetweenEvictionRunsMillis="1800000" testWhileIdle="true" testOnReturn="true" | |
username="one" password="maybe" | |
validationQuery="SELECT COUNT(*) FROM SYSIBM.SYSTABLES" | |
removeAbandoned="true" removeAbandonedTimeout="600" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment