Created
October 25, 2012 20:17
-
-
Save gAmUssA/3955144 to your computer and use it in GitHub Desktop.
Tomcat's context.xml with Oracle DataSource
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Context privileged="true" antiResourceLocking="false" | |
antiJARLocking="false" reloadable="true"> | |
<!-- JOTM --> | |
<Transaction factory="org.objectweb.jotm.UserTransactionFactory" | |
jotm.timeout="60" /> | |
<Resource name="jdbc/cleardb" auth="Container" type="javax.sql.DataSource" | |
username="admin" password="secret" driverClassName="oracle.jdbc.OracleDriver" | |
url="jdbc:oracle:thin:@localhost:1522:xe" | |
maxActive="8" /> | |
</Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment