This usually is caused either by a missing resource reference in the /WEB-INF/web.xml file of your app or a discrepancy in your context path of the app and the path the datasource was defined in.
Based on the server.xml file above you need to correct the following:
<resource-ref>...
This seems to be a bug with the Tomcat 5.016. You may have success by putting the contents of <ResourceParams name="jdbc/TestDB"> in the specific default xml config file for that webapp. That shouild be located in $CATALINA_HOME/Catalina/localhost/yourapp.xml
remove any other...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.