Unable to Connect to JDBC Connection Pool from Glassfish
You've placed the jdbc jar in domain folder, try putting it in the Glassfish server folder.C:\Program Files\glassfish-3.1.2.2\glassfish\lib
The data source factory has moved to a different package in Connector/J 8.0. It can now be found inside com.mysql.cj.jdbc.MysqlDataSource
So you need to change Datasource Classname as mentioned above.
Right, you lack mysql lib find and download mysql-connector-java-5.x.x-bin.jar copy to E:\Projects\glassfish3.1.1\glassfish\lib
then restart server and enjoy !!!