Re: DataSource question

2008-01-09 Thread Eqbal
I am using lambdaprobe to monitor the datasource and it shows that many maxActive connections for each webapp deployed. So the total possible max connections to the database would become maxActive times number of webapps. But I would like to confirm that as I have had occasional database connectivi

Re: DataSource question

2008-01-08 Thread Victor Saez
I think that's the MaxActive connections on the database. Depending on how you configure the datasource it will be available for one or all webapps. The tomcat docs have a good explanation, here you got the link for tomcat 5.5. http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html

DataSource question

2008-01-07 Thread Eqbal
I have defined my jndi DataSource for connecting to the database under the conf/context.xml file. I would like to understand what it means in terms of availability of the datasource to each of the web apps and the thing I am confused about is what is the maximum number of connections available? Is

Re: JNDI datasource question

2006-03-08 Thread Andre Van Klaveren
>PROCESSLIST will reveal 20 or fewer idle processes in this case. > > > >maxActive="50" says to cut off incoming connections at 50. Any connection > >attempt beyond 50 will wait for maxWait="5000" (5 seconds) for a free > >connection before givi

RE: JNDI datasource question

2006-03-08 Thread Tim Lucia
7;s just a port / repackaging of Commons DBCP, and that has had initialSize for a long time now. Tim -Original Message- From: John Cherouvim [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 7:52 AM To: Tomcat Users List Subject: Re: JNDI datasource question Thanks for your detailed e

Re: JNDI datasource question

2006-03-08 Thread John Cherouvim
before giving up. Tim -Original Message- From: John Cherouvim [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 7:17 AM To: users@tomcat.apache.org Subject: JNDI datasource question Hello I have a JNDI Datasource pooling 10 connections on a database of my mysql server. Wh

RE: JNDI datasource question

2006-03-08 Thread Tim Lucia
(5 seconds) for a free connection before giving up. Tim -Original Message- From: John Cherouvim [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 7:17 AM To: users@tomcat.apache.org Subject: JNDI datasource question Hello I have a JNDI Datasource pooling 10 connections on a datab

JNDI datasource question

2006-03-08 Thread John Cherouvim
Hello I have a JNDI Datasource pooling 10 connections on a database of my mysql server. Why does it use only one process on the mysql server? I have set max active to 10 connections and I am accessing the application from different IPs at the same time. I then perform a SHOW PROCESSLIST on my