In your jbosscmp-jdbc you will need to define what datasource to use for any entity 
beans.

<jbosscmp-jdbc>
   
     fteDBSource
     <datasource-mapping>Oracle8</datasource-mapping>
     <create-table>false</create-table>
   .......


Then in your <server instance>/deploy dir you need to deploy a Oracle-ds.xml file that 
configures the connection pool in the container,

Oracle-ds.xml

<?xml version="1.0" encoding="UTF-8"?>

        <local-tx-datasource> 
                <jndi-name>fteDBSource</jndi-name> 
                <connection-url>jdbc:oracle:thin:@qadb6x:1521:pnetqa1</connection-url> 
                <driver-class>jdbc drive name</driver-class>
                <user-name>username</user-name>
                password
                <!--pooling parameters-->

        <min-pool-size>minimun pool size</min-pool-size>
            <max-pool-size>maximun pool size</max-pool-size>
        <idle-timeout-minutes>15</idle-timeout-minutes>
                <exception-sorter-class-name>
                        org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
                </exception-sorter-class-name>
        </local-tx-datasource>


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849486#3849486

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849486


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to