Subject | Firebird in Tomcat 5.5.x |
---|---|
Author | Gonzalo Odiard |
Post date | 2005-02-17T19:28:34Z |
Hi, i have my applications working ok in JBoss 3.x and 4.0.x with Firebird,
but i want to work in Tomcat and can't make a connection pool.
I have tried with diferent methods, seting the pool in the server.xml of
tomcat or in the context.xml file in the application, but with out luck.
I am setting the parameter driverClassName=org.firebirdsql.jdbc.FBDriver
is that correct?
The jar file i am using is firebirdsql.jar, but i have tried
firebirdsql-full.jar too.
Always obtain the same error:
org.apache.commons.dbcp.SQLNestedException:
Cannot create JDBC driver of class 'org.firebirdsql.jdbc.FBDriver' for
connect URL '127.0.0.1/3050:/home/bases/proyectos/proyectos.gdb', cause:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.java:243)
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
Any idea?
Thanks
Gonzalo Odiard
P.D: I have tried all the methods in
http://www2.theserverside.com/discussions/thread.tss?thread_id=25459
http://forum.java.sun.com/thread.jspa?messageID=3175042�
http://www.theserverside.com/discussions/thread.tss?thread_id=29795
but i want to work in Tomcat and can't make a connection pool.
I have tried with diferent methods, seting the pool in the server.xml of
tomcat or in the context.xml file in the application, but with out luck.
I am setting the parameter driverClassName=org.firebirdsql.jdbc.FBDriver
is that correct?
The jar file i am using is firebirdsql.jar, but i have tried
firebirdsql-full.jar too.
Always obtain the same error:
org.apache.commons.dbcp.SQLNestedException:
Cannot create JDBC driver of class 'org.firebirdsql.jdbc.FBDriver' for
connect URL '127.0.0.1/3050:/home/bases/proyectos/proyectos.gdb', cause:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.java:243)
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
Any idea?
Thanks
Gonzalo Odiard
P.D: I have tried all the methods in
http://www2.theserverside.com/discussions/thread.tss?thread_id=25459
http://forum.java.sun.com/thread.jspa?messageID=3175042�
http://www.theserverside.com/discussions/thread.tss?thread_id=29795