This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
But in the try block,after executing first and secon System.out.println("IN TRY"); and System.out.println("AFTER TRY DATASOURCE");, the server,Tomcat server,is going in the sleep state and on my console,i 'll get "Sleep until next",continuosly. I 've to stop the tomcat in between.
The program is not running after the second print statement. It is not even throwing any exception also. Plz help me in recovering this error.