• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Connection Pooling in Borland App Server

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Iam getting problem in implementing Connection Pooling in Borland App server 4.5.1.The problem is
we used OracleConnectionPoolDataSource class as a DataSource classname for Driver DataSource and given the properties such as user,password,databaseName,serverName,portNumber,
driverType.we also created visiTransact DataSource with JNDI with datasource name as "serial://datasources/agdsdatasource". we are unable to get the Connection by using the following code in jsp page.
<%
Context ctx=new InitialContext();
DataSource ds=(DataSource)ds.lookup("serial://datasources/agdsdatasource");
Connection conn=ds.getConnection();
%>
The error message is
Root cause:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:537)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:102).
AnyOne can help me out.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic