Subject | jca-jdbc problem getting a db connection |
---|---|
Author | minotaurosgr |
Post date | 2002-04-30T13:11:18Z |
Configuration:
Windows 2000 SBS Service Pack 2.0
Firebird 1.00
JDK 1.3.1
jca-jdbc-driver
I'm trying to execute the following code :
properties.put("user", user);
properties.put("password", password);
properties.put("lc_ctype", charset);
try {
DriverManager.getConnection
("jdbc:firebirdsql:localhost/3050:c:/interbase.data/CIEEL.GDB
", properties);
}
catch (Exception e) {
e.printStackTrace();
}
and what I'm getting is :
java.sql.SQLException: Problem getting connection: could not get a
db connection!
at org.firebirdsql.jdbc.FBDataSource.getConnection
(FBDataSource.java:124)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:198)
at java.sql.DriverManager.getConnection
(DriverManager.java:517)
at java.sql.DriverManager.getConnection
(DriverManager.java:146)
...........................................
could anyone help me with this?
Windows 2000 SBS Service Pack 2.0
Firebird 1.00
JDK 1.3.1
jca-jdbc-driver
I'm trying to execute the following code :
properties.put("user", user);
properties.put("password", password);
properties.put("lc_ctype", charset);
try {
DriverManager.getConnection
("jdbc:firebirdsql:localhost/3050:c:/interbase.data/CIEEL.GDB
", properties);
}
catch (Exception e) {
e.printStackTrace();
}
and what I'm getting is :
java.sql.SQLException: Problem getting connection: could not get a
db connection!
at org.firebirdsql.jdbc.FBDataSource.getConnection
(FBDataSource.java:124)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:198)
at java.sql.DriverManager.getConnection
(DriverManager.java:517)
at java.sql.DriverManager.getConnection
(DriverManager.java:146)
...........................................
could anyone help me with this?