Subject | RE: [Firebird-Java] Re: Firebird DataSource connection problem |
---|---|
Author | Rupert Young (Restart) |
Post date | 2007-08-07T15:27:31Z |
I am specifying the following parameters,
Description - JDBC Connection Pool Datasource
ClassName - org.firebirdsql.pool.FBConnectionPoolDataSource
ClassNameforOtherInterfaces - org.firebirdsql.jdbc.FBDriver
ServerName - localhost
PortNumber - 3050
DatabaseName - localhost/3050:c:/mtest/pastest.fdb
User - sysdba
Password - ****
DriverProperties -
setURL#jdbc:firebirdsql:localhost/3050:c:/mtest/pastest.fdb
Delimiter - #
DataSourceName -
MinPoolSize - 0
MaxPoolSize - 10
MaxIdleTime - 0
but am now getting this error
at org.firebirdsql.jdbc.FBSQLException: GDS Exception. 0. Connection string
missing, error code: HY000
Reason: Connection string missing
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.allocateConnection(A
bstractFBConnectionPoolDataSource.java:312)
at
org.firebirdsql.pool.PooledConnectionQueue.addConnection(PooledConnectionQue
ue.java:490)
at
org.firebirdsql.pool.PooledConnectionQueue.take(PooledConnectionQueue.java:3
75)
at
org.firebirdsql.pool.AbstractConnectionPool.getPooledConnection(AbstractConn
ectionPool.java:230)
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(
AbstractFBConnectionPoolDataSource.java:359)
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(
AbstractFBConnectionPoolDataSource.java:379)
Any other suggestions?
Regards,
Rupert
_____
From: Firebird-Java@yahoogroups.com [mailto:Firebird-Java@yahoogroups.com]
On Behalf Of Roman Rokytskyy
Sent: 06 August 2007 19:58
To: Firebird-Java@yahoogroups.com
Subject: Re: [Firebird-Java] Re: Firebird DataSource connection problem
have to specify the "database" property that should be equal to
"localhost/3050:c:/mtest/pastest.fdb".
Roman
[Non-text portions of this message have been removed]
Description - JDBC Connection Pool Datasource
ClassName - org.firebirdsql.pool.FBConnectionPoolDataSource
ClassNameforOtherInterfaces - org.firebirdsql.jdbc.FBDriver
ServerName - localhost
PortNumber - 3050
DatabaseName - localhost/3050:c:/mtest/pastest.fdb
User - sysdba
Password - ****
DriverProperties -
setURL#jdbc:firebirdsql:localhost/3050:c:/mtest/pastest.fdb
Delimiter - #
DataSourceName -
MinPoolSize - 0
MaxPoolSize - 10
MaxIdleTime - 0
but am now getting this error
at org.firebirdsql.jdbc.FBSQLException: GDS Exception. 0. Connection string
missing, error code: HY000
Reason: Connection string missing
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.allocateConnection(A
bstractFBConnectionPoolDataSource.java:312)
at
org.firebirdsql.pool.PooledConnectionQueue.addConnection(PooledConnectionQue
ue.java:490)
at
org.firebirdsql.pool.PooledConnectionQueue.take(PooledConnectionQueue.java:3
75)
at
org.firebirdsql.pool.AbstractConnectionPool.getPooledConnection(AbstractConn
ectionPool.java:230)
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(
AbstractFBConnectionPoolDataSource.java:359)
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(
AbstractFBConnectionPoolDataSource.java:379)
Any other suggestions?
Regards,
Rupert
_____
From: Firebird-Java@yahoogroups.com [mailto:Firebird-Java@yahoogroups.com]
On Behalf Of Roman Rokytskyy
Sent: 06 August 2007 19:58
To: Firebird-Java@yahoogroups.com
Subject: Re: [Firebird-Java] Re: Firebird DataSource connection problem
> Tried that now am getting the following errors; I have aIt means that it could not obtain a connection. Please note that you
> DriverProperties parameter configured as
> "setURL#jdbc:firebirdsql:localhost/3050:c:/mtest/pastest.fdb" which I
> presume is the connection string.
>
> Do these errors mean anything to you?
have to specify the "database" property that should be equal to
"localhost/3050:c:/mtest/pastest.fdb".
Roman
[Non-text portions of this message have been removed]