File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2EE RI configured with mysql Database for Entity Bean

Steave John
Posts: 7
  • 0
  • 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
Error Screenshot
[Thumbnail for 1.gif]
Datasource Screenshot
[Thumbnail for 2.gif]
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic