![]() |
<Context path="" docBase="webapps/forum.mycompany.com" debug="0" reloadable="false">
<Resource name="jdbc/JForumDB" auth="Container"
type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver" url="jdbc:oracle:thin:@(description=(ENABLE=BROKEN)(load_balance=on)(FAILOVER_MODE=(RETRIES=20)(DELAY=15))(address=(protocol=tcp)(host=LISTENER_DB1)(port=1521))(address=(protocol=tcp)(host=LISTENER_DB2)(port=1521))(connect_data=(service_name=racdb)))"
username="jforum" password="jforum" maxActive="100" maxIdle="1"
maxWait="-1" removeAbandoned="true" removeAbandonedTimeout="60"
logAbandoned="true"/>
</Context>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/JForumDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
...
dao.driver=net.jforum.dao.oracle.OracleDataAccessDriver
database.connection.implementation=net.jforum.DataSourceConnection
database.datasource.name=java:/comp/env/jdbc/JForumDB
database.driver.name=oracle
database.support.autokeys=false
database.support.subqueries=true
...