Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
- Dev Lists wrote: > > 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 chan

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
e.Persistence.createEntityManagerFactory(Persistence.java:52) Filip Hanik - Dev Lists wrote: > > 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

RE: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
g. But it could also just 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 s

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
word" >driverClassName="com.mysql.jdbc.Driver" >url="jdbc:mysql://localhost:3306/database_name?autoReconnect=true"/> > > inside the in server.xml > > Put this > > > > inside the elemement in conf/context.xml > > > and try

Re: Tomcat 6 JDBC connection not found

2008-12-22 Thread arturoguedez
te: > > here is the name you specify > > jdbc/my_jdbc_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 >

Tomcat 6 JDBC connection not found

2008-12-21 Thread arturoguedez
Hi! I have been reading how to setup datasources for Tomcat 6.0.18 in http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html and nothing I have done has allowed my web application to view the datasource i have created. Here are some snippets of my web.xml, and my server.xml