Subject | Problems with type2 driver |
---|---|
Author | Carsten Schäfer |
Post date | 2004-01-21T09:12:23Z |
Hi,
I want to do some tests with type2 Version of
Jaybird, (new CVS-Build, Firebird 1.5RC8,
JDK1.4.2_03,WinXP)
but do not get it working:
if i use connection string
jdbc:firebirdsql:native:d:/database/ruebig.gdb
(this is for local databases, normal Firebird-Installation, right
?)
i get the following exception
org.firebirdsql.jdbc.FBSQLException: Resource Exception. Unable to complete
network request to host "d".
Failed to locate host machine.
The specified name was not found in the hosts file or Domain Name Services.
Reason: Unable to complete network request to host "d".
Failed to locate host machine.
The specified name was not found in the hosts file or Domain Name Services.
at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:106)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:218)
Failed to locate host machine.
The specified name was not found in the hosts file or Domain Name Services.
Reason: Unable to complete network request to host "d".
Failed to locate host machine.
The specified name was not found in the hosts file or Domain Name Services.
at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:106)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:218)
I also tried the embedded Version with a connection string like this:
jdbc:firebirdsql:embedded:d:/database/ruebig.gdb
i get the following exception org.firebirdsql.jdbc.FBSQLException: Resource
Exception. bad parameters on attach or create database
CHARACTER SET WIN1252 is not defined
Reason: bad parameters on attach or create database
CHARACTER SET WIN1252 is not defined
at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:106)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:218)
CHARACTER SET WIN1252 is not defined
Reason: bad parameters on attach or create database
CHARACTER SET WIN1252 is not defined
at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:106)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:218)
How to specify the character-ser for my connections ?
I used lc_ctype=WIN1252 as a property.
if i don't specify a character set i get a reproducable crash of the jvm
after some time.
i have attached the error-pid.
mfg
Carsten Schäfer