Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
>>>>>>>> >>>>>>>> >>>>>>> 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
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 lo

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 dire

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
>>> Here is what I get in my tomcat logs: >>>>>> >>>>>> 08/12/21 17:32:17 ERROR ceConnectionProvider: Could not find >>>>>> datasource: >>>>>> jdbc/workout_

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 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: url="jdbc:mysql://localhost:3306/w

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: > type="javax.sql.DataSource" >maxActive="100" maxIdle="30" maxWa

Re: Tomcat 6 JDBC connection not found

2008-12-23 Thread arturoguedez
;> org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101) >>>>at >>>> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325) >>>>at >>>> org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(Annotat

Re: Tomcat 6 JDBC connection not found

2008-12-22 Thread Filip Hanik - Dev Lists
put this inside the in server.xml Put this inside the elemement in conf/context.xml and try again Filip arturoguedez wrote: hey, sorry about that. The actual string I have in my app is "workout_logger" I just tried to replace my strings for "my_jdbc_name" for the posting. I guess I f

Re: Tomcat 6 JDBC connection not found

2008-12-22 Thread arturoguedez
(HibernatePersistence.java:126) >> at >> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) >> >> >> >> >> Does anybody know what I am doing wrong? Is there any way to check which >> resources Tomcat makes avaiab

Re: Tomcat 6 JDBC connection not found

2008-12-22 Thread Filip Hanik - Dev Lists
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 arturoguedez wrote: Hi! I have been reading how to setup datasource

Tomcat 6 JDBC connection not found

2008-12-21 Thread arturoguedez
ctory(Persistence.java:52) Does anybody know what I am doing wrong? Is there any way 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-