posted 20 years ago
I'm using iPlanet app server. My session bean calls the DataSource interface to get a connection to database using oci8 driver. I have created a connection pool in iPlanet.
Unfortunately, the program throws an SQL exception saying "can't create a connection".
Any ideas ??
javax.naming.Context context = new javax.naming.InitialContext();
DataSource dataSource = (DataSource) context.lookup("jdbc/JNDIOci8Pool");
connection = dataSource.getConnection();