<jdbc name="myhms-datasource"
logger="core.datasources.myhms-datasource">
<pool-controller min="5" max="10"/>
<dburl>jdbc:mysql://localhost/ccc</dburl>
<user>aaa</user>
<password>bbb</password>
</jdbc>

According to the datasource configuration in
cocoon.xconf, it should be pooling. The logs
(core.log) seem to say its pooling:

ApplicationServerThread/LogKitLogger: Got a
org.apache.avalon.excalibur.datasource.JdbcConnection
from the pool.
ApplicationServerThread/LogKitLogger: Put a
org.apache.avalon.excalibur.datasource.JdbcConnection
back into the pool.

Are there any other ways to determine if pooling is
truly being used? I guess I could look around in
MySQL, I'm sure it keeps logs of connections
somewhere..

Thanks,
Josh

--- Bruno Dumon <[EMAIL PROTECTED]> wrote:
> 
> Are you sure you are using connection pooling? If
> not, then the above
> times seem reasonable.
> 
> -- 
> Bruno Dumon                            
> http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence
> Support Center
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to