i explained datasource (data-source.xml) for oracle to use
connection pooling with orion;

        <data-source                    
                name="Oracle"
                location="jdbc/OracleCoreDS"                            
                xa-location="jdbc/xa/OracleXADS"
                ejb-location="jdbc/OracleDS"                            
                connection-driver="oracle.jdbc.driver.OracleDriver"
                username="scott"
                password="tiger"
                url="jdbc:oracle:thin:@myserver:1521:mysid"             
                inactivity-timeout="30"         
                max-connections="10"
                min-connections="5"                                     
                class="com.evermind.sql.DriverManagerDataSource"
        />



 from servlet; 
                 InitialContext ctx = new InitialContext();
               javax.sql.DataSource ds = (javax.sql.DataSource)
ctx.lookup("jdbc/OracleDS");
               Connection conn = ds.getConnection();


        
        but it open only one connection.

        what is my wrong ?



        thanks



        ugur

Reply via email to