• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2EE RI configured with mysql Database for Entity Bean

Steave John
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

Thanks in advance
[Thumbnail for 1.gif]
Error Screenshot
[Thumbnail for 2.gif]
Datasource Screenshot
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic