On Thu, Jun 06, 2002 at 09:42:50AM -0400, Berin Loritsch wrote:
> > From: Marcus Crafter [mailto:[EMAIL PROTECTED]] 
> > 
> >     In InformixDataSource.configure() it sets up 2 entries in the
> >     context, a m_dataSource, and a pooledDataSource, but only the
> >     m_dataSource is used in other parts of the class. In fact, after
> >     configure() all references to the pooled part are lost ?
> 
> The m_dataSource uses he pooledDataSource, or it should.  The JDBC
> documentation from Informix lead me to believe that...

        Yes, after your hint I went looking through the documentation and
        found it too. Apparently that's what
        
        context.bind( dbname + "pool", pooledDataSource );
        ...
        m_dataSource.setDataSourceName( dbname + "pool" );
        
        should do, but for some reason I still don't get any pooling,
        unless I set the code to ask the pooledDataSource for a connection
        directly.
        
        (In the javadocs you mentioned the Avalon Cadastre package - that's
        the classes under jakarta-avalon-excalibur/naming, right ?)
        
        I must be doing something wrong... I'll keep digging...
        
        Cheers,
        
        Marcus
        
        

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   ManageSoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'
          &&&&.
    &&&&&&&:

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to