[opencms-dev] Does OpenCms use really a pool of connections?

Andras Balogh andras at reea.net
Fri Feb 20 15:51:02 CET 2004


    Hello,

    OpenCms uses connection pool, it obtains connections using a 
connection URL like:
"jdbc:opencmspool:mssql "
 From java code it looks like making a new connection but the opencms 
pool class is registered
as driver in java that's why he will return a connection .
I think you can obtian a connetion the same way form the pool.

Best wishes,
Andras.

Salvador Santander Gutierrez wrote:

>I thought that OpenCms was using a pool of connection and when any part of
>code of OpenCms need a  connection, it got from the conneciton pool but I
>has see in the code that when It needs a connection to do something,i.e.
>logn a user, OpenCms code obtain the connection with DriverManager class,
>that means OpenCms doesn´t obtain the connection from the pool. Is this
>correct? Should OpenCms obtain all the connections from the pool?
>If it isn't correct, how can obtain a connection from the default pool?
>Thanks.
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>  
>





More information about the opencms-dev mailing list