Subject | Re: [Firebird-Java] Re: Denied connections due to character set |
---|---|
Author | Mark Rotteveel |
Post date | 2017-02-14T10:08:59Z |
On 14-2-2017 10:54, Mark Rotteveel mark@... [Firebird-Java]
wrote:
Also make sure that
/META-INF/services/org.firebirdsql.encodings.EncodingSet
is included.
--
Mark Rotteveel
wrote:
>> Feb 13, 2017 9:50:51 PM org.firebirdsql.logging.JulLogger warnSmall addendum:
>> WARNING: No EncodingDefinition for ISO8859_1 / null specifying ISO8859_1 as
>> connection encoding
>> java.sql.SQLNonTransientConnectionException: No valid encoding definition for
>> Firebird encoding ISO8859_1 and/or Java charset null
>
> How are you running your application, did you by any chance build a fat
> JAR, instead of adding the Jaybird jar to the classpath?
>
> This problem could be explained if the encoding definition file is not
> on the classpath when running. This might happen if you built a fat
> jar, and did not include
> org/firebirdsql/encodings/default-firebird-encodings.xml from the
> Jaybird jar in your own jar.
Also make sure that
/META-INF/services/org.firebirdsql.encodings.EncodingSet
is included.
--
Mark Rotteveel