You've got some lame* exception handling in your code and you're not adequately closing the Java/MySQL resources. The MySQL Connector/J resources must be very carefully closed off after use, or...