This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a similar problem. I am using the suggestion given. I Still get the error: Name jdbc is not bound in this Context. I installed a new instance of Tomcat. I ran it twice and got no error. Then on the third time I get the above error. I am closing connections in the code. I am using Tomcat 5.0.28. I am using defaults for Tomcat service as below: