<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Data Source Configuration in AS 7
</h3>
<span style="margin-bottom: 10px;">
new comment by <a href="http://community.jboss.org/people/prasad.deshpande">Prasad Deshpande</a> <a href="http://community.jboss.org/docs/DOC-16657#comment-6030">View all comments on this document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Can anyone please give me an example for Oracle DS (XA & standard) at the same time? I tried using example, but I get error:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>10:02:22,640 ERROR [org.jboss.as] (MSC service thread 1-2) JBoss AS 7.0.0.Beta2 "Fools' Day" started (with errors) in 2328ms - Started 92 of 119 services (3 services failed or missing dependencies, 24 servic</p><p>es are passive or on-demand)</p><p>    Services missing dependencies:</p><p>        service jboss.data-source.java:/jdbc/eFpNonXADataSource</p><p>        service jboss.data-source.reference-factory.java:/jdbc/eFpNonXADataSource</p><p>        service jboss.naming.context.java.java:/jdbc/eFpNonXADataSource</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Here is my module</p><p><module xmlns="urn:jboss:module:1.0" name="oracle.jdbc.driver"></p><p>  <resources></p><p>    <resource-root path="files"/></p><p>    <resource-root path="ojdbc-14.0.jar"/></p><p>  </resources></p><p>  <dependencies></p><p>    <module name="javax.api"/></p><p>  </dependencies></p><p></module></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>module does get deployed:</p><p>10:26:30,811 INFO  [org.jboss.as.connector.subsystems.datasources] Deploying JDBC-compliant driver class oracle.jdbc.driver.OracleDriver (version 10.2)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Here is my DS definition:</p><p><datasource jndi-name="jdbc/eFpNonXADataSource" pool-name="eFpNonXADataSource" enabled="true" use-java-context="true"></p><p>    <connection-url>jdbc:oracle:thin:@xp003452:1521:PROCESS</connection-url></p><p>    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class></p><p>    <driver>oracle.jdbc.driver.OracleDriver#14.0</driver></p><p>    <pool><min-pool-size>10</min-pool-size><max-pool-size>30</max-pool-size></pool></p><p>    <security><user-name>P</user-name><password>P</password></security></p><p></datasource></p><p>           <drivers></p><p>                <driver module="oracle.jdbc.driver"/></p><p>            </drivers></p></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>