- 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
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
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
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
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
>
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