SyntaxFix
Write A Post
Hire A Developer
Questions
You need a ResourceLink in your META-INF/context.xml file to make the global resource available to the web application.
META-INF/context.xml
<ResourceLink name="jdbc/mydb" global="jdbc/mydb" type="javax.sql.DataSource" />