Hello,
I defined a global datasource in
Tomcat 7.0.22 in the server.xml:
I refer to this datasource in my context.xml as:
And in my web.xml i have:
When i refer to this datasource from a
jsp page using the jsp sql module, it works
But when i try to use this datasource in a persistence module it fails. I defined the persistence module in the persistence.xml as:
I get the following error:
Trying to write the datasource as
java:comp/env/jdbc/TestDB didn't help either, where do i go wrong?
Gert Jan Kruizinga.