Re-Added the destroymethod='' to the datasource. Updated the version of mysql connector