This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes Connection Pooling in Borland App Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Connection Pooling in Borland App Server" Watch "Connection Pooling in Borland App Server" New topic
Author

Connection Pooling in Borland App Server

ramankumar gvspvap
Greenhorn

Joined: Oct 07, 2002
Posts: 2
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Connection Pooling in Borland App Server