DBCP connection takes (very) long

2006-12-31 Thread Peter Coppens
Hello, Not sure this is the right forum to ask DBCP questions. If not I would appreciate if someone could tell me where I should ask the question. Anyway, I have DBCP 1.2.1 and Tomcat 6.02 configured with a mySql backend. I have configured the pool through a jndi datasource, The co

Re: DBCP connection takes (very) long

2006-12-31 Thread Peter Coppens
Christian, I have not timed query execution, but then these queries are really very simple and perform very well when Tomcat is not stress tested. I am testing tomcat with jMeter. I guess I can try to trim down the worker threads and see whether the overall performance benefits from that. At t

Commons Transaction - Directory as a resource

2007-07-05 Thread Peter Coppens
Hello, I am just starting with the Commons Transaction API...so apologize my ignorance. Now, is there anyway I can create (transactionally) a directory? I have the impression that directories are created (and removed as needed), but I would like to create a directory structure transactionally.

Commons Transaction - Directory as a resource

2007-07-05 Thread Peter Coppens
Hello, I am just starting with the Commons Transaction API...so apologize my ignorance. Now, is there anyway I can create (transactionally) a directory? I have the impression that directories are created (and removed as needed), but I would like to create a directory structure transactionally.