org.apache.jasper.JasperException: Exception retrieving attribute
'driverClassName' is caused from an unrelated error in your server.xml. I
fixed the problem with this error not reporting correctly but I just
submitted it to be added to CVS. The root cause exception is not being
returned currently
I solved it too. But it seems that mine problem was caused by empty pool validation
query string.
thanx
Maris
-Original Message-
From: Sean Dockery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 7:27 PM
To: Tomcat Users List
Subject: RE: DataSource.getConnection
Subject: RE: DataSource.getConnection() hangs
I solved it too. But it seems that mine problem was caused by empty pool validation
query string.
thanx
Maris
-Original Message-
From: Sean Dockery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 7:27 PM
To: Tomcat Users
, February 03, 2003 7:16 PM
To: Tomcat Users List
Subject: Re: DataSource.getConnection() hangs
Put this:
==
resource-ref
descriptionany description/description
res-ref-namejdbc/BooksDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
To: Tomcat Users List
Subject: RE: DataSource.getConnection() hangs
I have it:
resource-ref
descriptionDB Connection/description
res-ref-namejdbc/BooksDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
-Original
Very very cool thing to know. I've seen this behavior before but never
knew what was causing it.
At 14:11 2003-02-05 +0100, you wrote:
Hi,
I had this problem a while ago.
Mine was caused by DBCP attempting to open a pool of Db connections when
receiving the first getConnection() request -
Put this:
==
resource-ref
descriptionany description/description
res-ref-namejdbc/BooksDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
==
In web.xml of your application.
See too