This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
J2EE RI configured with mysql Database for Entity Bean
posted 2 years ago
I am unable to configure an entity bean with mysql DB in RI. After making a new Enterprise Bean and successful verification, when i go to "Entity" tab and click on "Deployment Settings" and then "database setting"(Attached the screenshots), getting an error saying "Error connecting to database. java.sql.SQLException: No Suitable Driver".
I am able to connect to database through a java class using JDBC also the driver class is included in the J2EE_CLASSPATH env variable . Also attached the screenshot for Datasource configuration.
Unable to understand why the error is coming. Any help would be great.