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.