Hi!!!
I'm working with Oracle 9i, Java (netBeans) and Tomcat. I'm trying to do a connection pool with Tomcat but I've problems and I don't know how. My problem is this, when I try connect to my db an exception ocurres:

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.create DataSource(BasicDataSource.java:780)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getCon nection(BasicDataSource.java:540)
at servbib.GestorBD.<init>(GestorBD.java:69)
at servbib.GestorBD.<init>(GestorBD.java:50)
at servlet.BusquedaServlet.init(BusquedaServlet.java: 33)
at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.allocate( StandardWrapper.java:750)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:130)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.proces s(Http11AprProcessor.java:831)
at org.apache.coyote.http11.Http11AprProtocol$Http11C onnectionHandler.process(Http11AprProtocol.java:65 2)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run( AprEndpoint.java:1203)
at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(Unknown Source)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.create DataSource(BasicDataSource.java:773)
... 16 more
The application doesn´t found the driver.

These are the steps I've followed:
in server.xml i've put these lines:
<Resource
name="jdbc/servbib"
auth="Container"
type="javax.sql.DataSource"
password="admin"
maxIdle="-1"
maxWait="5000"
username="admin"
maxActive="-1"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbcracle:thin:@10.11.23.10:1521ERVBIB"/>

In the directory common\lib\ in Tomcat i've added the Oracle drivers: classes12.jar, ojdbc14.jar,...

And in my class I've wroten:
try{
Context ctx = new InitialContext();
DataSource fuenteDatos = (DataSource) ctx.lookup("java:/comp/env/jdbc/SERVBIB");
synchronized (fuenteDatos)
{
this.con = fuenteDatos.getConnection(); // cogemos la conexion
}
if(con == null)
{
throw new Exception("Problemas con la conexion");
}
}
catch (Exception e)
{
e.printStackTrace();
}
In bold where the exception ocurres.

In file web.xml:
<resource-ref>
<res-ref-name>jdbc/SERVBIB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>

And finally with netBeans I've created the .war file and I'´ve uploaded my application to the server.
Can anyone help me? Lot's of thanks