This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Any specific way or configuration that i have to do to bind this 'jdbc' name? I have provided a Context definition and a resource ref definition in the web.xml. The reason for asking is that even if i use a name like wmAppDS i get the sane exception with wmAppDS replacing jdbc.
More I some how see that tomcats pooling restricts you to using javax.sql.DataSource only. For example if i use something like these
and the web xml res-type tag to
It still fails. It only works if i keep res-type in the web.xml and the type attribute or resource tag in server.xml to javax.sql.DataSource, but then the logs show that C3P0 is not being used.