The exception means that java:/mysql-ds is not providing a datasource, however this needs to be made a little clear.