The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Do you have the driver details in your ....

Posted by Raji on November 24, 2000 at 9:07 AM


EJB server properties file? Then when you start up the server, it should tell you if there is a problem with the driver.

Raji


> i am working on j2ee ejb server which is installed on my machine. The database is on a remote machine. The problem i am facing is that during the creation of entity beans(bean managed persistence) when trying to connect to database using DriverManager.getConnection(), i get an exception stating that no suitable driver found. However if i do the same thing from a simple java program then it is able to connect to database and get values. Could any one please enlighten.....

> thanx in advance
> abcd






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us