Subject RE: [Firebird-Java] Re: DataSource with pooling - cannot set ENCODING
Author Ryan Baldwin
Hi,


>> Ok. Now I understand... This is a problem with embedded server, not
>> with the driver. As far as I know you have to copy fbintl.dll into the
>> same directory where fbembedd.dll is. There must be something about
>> INTL stuff in readme. If you still have problems, ask in
Firebird-Support.
>I am not so sure
>This is what I get
>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

If you are running on windows and have msvc IDE installed you can confirm
that this is the problem by opening the Visual C IDE and going to
tools->debug->Atatch To Process and selecting your java process from the
list(you will need at least VS service pack 3 for this too work on win 2k+).

If you then look in the 'output' window you should see a list of dll's
loaded into the process. First look for 'jaybird.dll'. If the the list then
does not show 'fbintl.dll' like it does bellow then you can be sure that
this is your problem.

Loaded 'C:\jdks\j2sdk1.4.1_05\bin\jaybird.dll', no matching symbolic
information found.
Loaded 'C:\jdks\j2sdk1.4.1_05\bin\fbembed.dll', no matching symbolic
information found.
Loaded symbols for 'C:\WINDOWS\system32\msvcp60.dll'
Loaded 'C:\WINDOWS\system32\mpr.dll', no matching symbolic information
found.
Loaded 'C:\jdks\j2sdk1.4.1_05\bin\intl\fbintl.dll', no matching symbolic
information found.

Perhaps their is an easier way too view the dll's loaded into a process.

Ryan

-----Original Message-----
From: Nikolay Ivanchev [mailto:nivanchev@...]
Sent: 14 November 2003 16:15
To: Firebird-Java@yahoogroups.com
Subject: Re: [Firebird-Java] Re: DataSource with pooling - cannot set
ENCODING


I am not so sure
This is what I get
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

This is still in driver
Niki
----- Original Message -----
From: "Roman Rokytskyy" <rrokytskyy@...>
To: <Firebird-Java@yahoogroups.com>
Sent: Friday, November 14, 2003 6:02 PM
Subject: [Firebird-Java] Re: DataSource with pooling - cannot set ENCODING


> > Yes.. with "type4" driver it understands WIN2151.. embedded doesn't
> > I have the sources so I saw what are the correct values
>
> Ok. Now I understand... This is a problem with embedded server, not
> with the driver. As far as I know you have to copy fbintl.dll into the
> same directory where fbembedd.dll is. There must be something about
> INTL stuff in readme. If you still have problems, ask in Firebird-Support.
>
> Roman
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>



To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/