wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes J2EE RI configured with mysql Database for Entity Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "J2EE RI configured with mysql Database for Entity Bean" Watch "J2EE RI configured with mysql Database for Entity Bean" New topic
Author

J2EE RI configured with mysql Database for Entity Bean

sudeep somarajan
Greenhorn

Joined: Mar 18, 2014
Posts: 2
Hi,

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
Sudeep



[Thumbnail for 1.gif]


[Thumbnail for 2.gif]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2EE RI configured with mysql Database for Entity Bean
 
Similar Threads
NetBeans and MySQL
Login failed CMP Entity Bean
Confuguring mySql for entity beans
J2EE RI w/ MySQL
Entity Bean JDBC problem