Here are the sample configuration files (resources.properties, context.xml) for your example. They need to be in TOMCAT_HOME.conf directory.
Also, you might want to have simple test jsp to make sure the datasource is bound properly. Attached also a sample test jsp file.