Database connection problem in J2EE sdk 1.3.1
843829Mar 15 2003 — edited Mar 25 2003I am trying to connect to an oracle database. I have a servlet that calls a bean and in the ejbCreate() method of the bean i am calling code as follows
DataSource ds = (DataSource) ic.lookup
("java:comp/env/jdbc/AccountDB");
Connection conn=ds.getConnection();
i am getting the follwing error
java.sql.SqlException: No suitable driver found
i am using oracle thin driver and have set it up in Forte and have also been able to connect in Forte to the database
i have added foll. in Server configuration
Driver class: oracle.jdbc.driver.OracleDriver
Driver url: jdbc:oracle:thin:@<host ip address>:1521:orcl
jndi name: jdbc/AccountDB
I would really appreciate any help here