> From: arturoguedez [mailto:arturo.gue...@gmail.com]
> Subject: Re: Tomcat 6 JDBC connection not found

I'm confused.

Here it says you're using MySQL:

>     <Resource name="jdbc/workout_logger" auth="Container"
> type="javax.sql.DataSource"
>                maxActive="100" maxIdle="30" maxWait="10000"
>                username="user" password="password"
> driverClassName="com.mysql.jdbc.Driver"
> url="jdbc:mysql://localhost:3306/workout_logging?autoReconnect=true"/>

But the stack trace shows a hibernate connection being attempted:

> org.hibernate.connection.DatasourceConnectionProvider.configure
> (DatasourceConnectionProvider.java:75)

Is it your intention to use hibernate in front of MySQL?  (I know it can be 
done, I'm not clear on how to do it.)

Where are the hibernate jars located?

Where is the MySQL driver jar located?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to