Hi,
i am using the tomcat 5.0.27 distribution. After several days of uptime
the DBCP seems to run odd:
org.apache.commons.dbcp.BasicDataSource.getNumActive() == 4
org.apache.commons.dbcp.BasicDataSource.getNumIdle() == 1
org.apache.commons.dbcp.BasicDataSource.getMaxActive() == 10
Hi,
I am running a Servlet on a Tomcat 5.0.30 Instance. This Servlets gets
500 Hits a day. After approx. 10 days Tomcat doesn't reply anymore -
the logs say:
Mar 15, 2005 6:53:11 PM org.apache.tomcat.util.threads.ThreadPool
logFull SEVERE: All threads (50) are currently busy, waiting. Increase
Hi,
has enyone of you recently measured the performance of the DBCP
Connection Pool? I compared
snip
long start = System.currentTimeMillis();
Class.forName(ca.edbc.jdbc.EdbcDriver);
Connection dbcon = DriverManager.getConnection(loginUrl, loginUser, loginPa$
long diff = System.currentTimeMillis()
-
From: Henrik Rathje [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 11:16 AM
To: [EMAIL PROTECTED]
Subject: DBCP Performance?
Hi,
has enyone of you recently measured the performance of the DBCP
Connection Pool? I compared
snip
long start = System.currentTimeMillis
getConnection. If it's zero or negative your pool is misconfigured and
you're creating a new connection, hence the slow performance.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Henrik Rathje [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 11:46 AM
no pooling.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Henrik Rathje [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 12:20 PM
To: Tomcat Users List
Subject: Re: DBCP Performance?
Hi,
seems you are rite
I have to correct myself:
getNumIdle() returned 19 after a little bit of waiting.
but getConnection( ) still takes 1238 miliseconds.
Henrik
On Fri, 10 Sep 2004 18:47:46 +0200
Henrik Rathje [EMAIL PROTECTED] wrote:
Hi,
I tried your settings, but getNumIdle() still returns 0.
Why
, Henrik Rathje [EMAIL PROTECTED] wrote:
I have to correct myself:
getNumIdle() returned 19 after a little bit of waiting.
but getConnection( ) still takes 1238 miliseconds.
Henrik
On Fri, 10 Sep 2004 18:47:46 +0200
Henrik Rathje [EMAIL PROTECTED] wrote:
Hi,
I tried your
:16:18 -0500
Peter Lin [EMAIL PROTECTED] wrote:
I used oracle's drivers :)
since I'm most experienced with Oracle and I have it installed at home
for development.
peter
On Fri, 10 Sep 2004 19:11:53 +0200, Henrik Rathje [EMAIL PROTECTED] wrote:
hi,
im note sure if there exists
Hi,
I want to measure the performance of a Servlet that I wrote. To have a
number to compare with i wrote a servlet which does only a single println in its doget
method.
When i measure the throughput of this servlet with ab using this arguments:
ab -n 2 -c 10
Connector configuration and increase these
parameters if needed to allow your test to complete.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Henrik Rathje [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 12:05 PM
To: [EMAIL PROTECTED]
Subject
Hi!
I want to limt access to j_security_check. If there have been a certain
number of requests to j_security_check with one j_username and some invalid
j_password, the following requests to j_security_check with the same
j_username shold be redirected to another page where the user has to do
some
Hi!
I am trying to get a DataSourceRealm running. I followed the instruction
in tomcat-docs/realm-howto.html#DataSourceRealm, but as soon as i login
i get
DataSourceRealm[/secutity-example]: Exception performing authentication
javax.naming.NameNotFoundException: Name jdbc is not bound in this
13 matches
Mail list logo