Hi all,
I'm running into a problem in a struts application I'm working on.
In my struts-config.xml, I have this action-mapping:
The RegistrationAction.execute() method takes several request parameters
and uses them to create an account; when this is successf
ing
validationQuery="select 1". Autoreconnect doesn't re-establish a
connection until a request has failed -- makes it virtually useless in
a db pool. validationQuery="select 1" as a Resource attribute causes
the database pool to test the connection with a simple query o
$TOMCAT_HOME/common/lib per a suggestion in a different thread, but that
made no difference so I removed it.
- Thomas
Caldarale, Charles R wrote:
From: Thomas Okken [mailto:[EMAIL PROTECTED]
Subject: Re: DataSource created but not initialized => Cannot
create JDBCdriver of class '' fo
Hi Martin,
My MySQL server is alive and well; I can connect to it using the same
parameters, using a JDBC-based database browser.
I didn't know about autoReconnect being deprecated; it still appears to
be supported, but I see that the MySQL 5.0 reference manual recommends
cranking up the serve
ogs around when your webapp started for any relevant messages?
--David
Thomas Okken wrote:
Hi all,
I'm trying to set up a DataSource to manage connections to a MySQL
database, but whenever I call getConnection(), I get this error:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cann
Hi all,
I'm trying to set up a DataSource to manage connections to a MySQL
database, but whenever I call getConnection(), I get this error:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
at
org.apache.tomcat.dbcp.dbcp.Basi