response.sendRedirect() failing mysteriously in struts application

2008-01-09 Thread Thomas Okken
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

Re: DataSource created but not initialized => Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread Thomas Okken
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

Re: DataSource created but not initialized => Cannot create JDBCdriver of class '' for connect URL 'null'

2007-12-07 Thread Thomas Okken
$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

Re: DataSource created but not initialized => Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread Thomas Okken
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

Re: DataSource created but not initialized => Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread Thomas Okken
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

DataSource created but not initialized => Cannot create JDBC driver of class '' for connect URL 'null'

2007-12-07 Thread Thomas Okken
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