Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
-- View this message in context: http://www.nabble.com/Tomcat-6-JDBC-connection-not-found-tp21120259p21148969.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

RE: Tomcat 6 JDBC connection not found

2008-12-23 Thread Caldarale, Charles R
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=1

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread Filip Hanik - Dev Lists
post the actual error you see with the new config arturoguedez wrote: Thanks for the help. I just tried it and it still does work. Here is the exact content of my current server.xml and my context.xml Server.xml: ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SHUTDOWN

RE: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
be a configuration issue that is just not working. - Arturo Caldarale, Charles R wrote: 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

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/Tomcat-6-JDBC-connection-not-found-tp21120259p21154279.html Sent from the Tomcat - User mailing list archive at Nabble.com

RE: Tomcat 6 JDBC connection not found

2008-12-23 Thread Caldarale, Charles R
From: arturoguedez [mailto:arturo.gue...@gmail.com] Subject: RE: Tomcat 6 JDBC connection not found The hibernate jars are in my WAR, and the mysql jars are in my WAR and in TOMCAT/lib. There's one problem: the MySQL jars must be *only* in Tomcat's lib directory; you must remove them from

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread Filip Hanik - Dev Lists
check the logs earlier, if you havent moved the mysql-xxx.jar into TC_HOME/lib, then tomcat can't create the connection pool, and the JDBC name will not exist Filip arturoguedez wrote: The error hasn't actually changed from the one I posted originally. Is there any way of changing Tomcat's

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/Tomcat-6-JDBC-connection-not-found-tp21120259p21156036.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Tomcat 6 JDBC connection not found

2008-12-22 Thread Filip Hanik - Dev Lists
here is the name you specify res-ref-namejdbc/my_jdbc_name/res-ref-name and here is your error Could not find datasource:jdbc/workout_logger as you can see, somewhere you have configured the string workout_logger, and that one doesn't exist Filip arturoguedez wrote: Hi! I have been

Re: Tomcat 6 JDBC connection not found

2008-12-22 Thread arturoguedez
-- View this message in context: http://www.nabble.com/Tomcat-6-JDBC-connection-not-found-tp21120259p21135803.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Tomcat 6 JDBC connection not found

2008-12-22 Thread Filip Hanik - Dev Lists
put this Resource name=jdbc/workout_logger auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=user password=password driverClassName=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/database_name?autoReconnect=true/ inside the

Tomcat 6 JDBC connection not found

2008-12-21 Thread arturoguedez
to check which resources Tomcat makes avaiable? I am having a really hard time understanding what I am doing wrong. -- View this message in context: http://www.nabble.com/Tomcat-6-JDBC-connection-not-found-tp21120259p21120259.html Sent from the Tomcat - User mailing list archive at Nabble.com