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: action path=/register scope=session name=RegistrationForm type=com.foo.RegistrationAction forward name=success

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

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

2007-12-07 Thread Thomas Okken
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: Cannot create JDBC driver

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

2007-12-07 Thread Thomas Okken
with a simple query on borrowing. --David Thomas Okken wrote: The MySQL driver is in $TOMCAT_HOME/lib, but I don't think that is even the issue here -- the real problem is that the DataSource object is not initialized, so it doesn't even have the url, driver class name, etc. This is what my

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

2007-12-07 Thread Thomas Okken
in $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 '' for connect URL

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