<?xml version="1.0" encoding="UTF-8"?>
<datasources>
    <xa-datasource>
        <jndi-name>EclipseLinkDS</jndi-name>
        <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
        <xa-datasource-property name="URL">@url@</xa-datasource-property>
        <xa-datasource-property name="User">@username@</xa-datasource-property>
        <xa-datasource-property name="Password">@password@</xa-datasource-property>
        <metadata>
            <type-mapping>Oracle9i</type-mapping>
        </metadata>
    </xa-datasource>
</datasources>


<?xml version="1.0" encoding="UTF-8"?>
<datasources>
    <local-tx-datasource>
        <jndi-name>EclipseLinkDS</jndi-name>
        <driver-class>@driverclass@</driver-class>
        <connection-url>@url@</connection-url>
        <user-name>@username@</user-name>
        <password>@password@</password>
        <metadata>
            <type-mapping>Oracle9i</type-mapping>
        </metadata>
    </local-tx-datasource>
</datasources>


Check in the forgotten part for bug (300245) fix with data source setting for JBoss
Check in the forgotten part for bug (300245) fix with data source setting for JBoss

