Juan,
I recently put in a mysql JDBC driver. What I've noticed is
that when the controller (ActionServlet) initializes, it tries
to initialize the DataSource (using the associated connection
pool?). If there is a problem with initialization, the
ActionServlet init fails. The error that led to failure in all
my uses, was having the username and password set incorrectly.
Look in the logs for the exact error message. For example,
in Tomcat 4.0.1, you would go to ${CATALINA.HOME}/logs
hope this helps,
Gidado
> -----Original Message-----
> From: Juan Alvarado [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 06, 2002 8:47 AM
> To: Struts
> Subject: Issue with data sources in mySQL
>
>
> Recently I tried setting up a data source in my struts config
> file to work
> with mySQL. The version of tomcat I'm using is 3.2.2 and the
> mySQL drive I
> is the type mm.mysql version 2.0.6 . What happens is that after going
> through the whole set up, I start my tomcat and then try to connect to
> http://localhost:8080 and my browser just hangs and hangs; it never
> connects. When I comment out the data source definition in
> struts-config.xml, tomcat starts just fine and I can connect to
> http://localhost:8080. I AM using the latest release of mySQL
> (Downloaded it
> just a couple days ago), and I have the jdbc optional extension that
> contains the DataSource class.
>
> If anybody has run into this issue and know the problem and
> the fix, I would
> greatly appreciate if you could let me know what your solution was.
>
> Best regards,
>
> **********************************************
> Juan Alvarado
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>