Subject Re: [Firebird-Java] Problem setting ISO8859_1 charset in JBoss
Author Roman Rokytskyy
> I can't set the ISO8859_1 charset for my Firebird
> <tx-connection-factory> configuration file.
>
> I'm just trying with the line:
>
> <config-property name="encoding"
> type="java.lang.String">WIN1252</config-property>
>
>
> It works fine if I change the charset (tested successfully with
> UNICODE_FSS and WIN1252).
>
> The problem is JBoss can't deploy my datasource. Below I attach the
> exception stack trace.
>
> I guess there is a bug somewhere. Any hint?

It seems that for some reason JBoss tries to pass null as encoding. There is
not check in the driver for this value.

Can you try to replace your config property with

<config-property name="localEncoding"
type="java.lang.String">ISO-8859-1</config-property>

This is equivalent to the previous one.

Roman