Problem(Abstract)
JDBC needs a specific environment set if the DB_LOCALE is set to ko_kr.cp_949 for Korean Cp949.
Symptom
Using JDBC, we may get errors like -79784 (" Locale not supported.") or -908 ("Attempt to connect to database server NAME failed.") when trying to connect to a database using the following locale: ko_kr.cp_949
For example, the following connection:
jdbc:informix-sqli://myhost:ids_port/mydatabase:informixserver=myidsserver;user=mylogin;password=mypasswd;DB_LOCALE=ko_kr.cp_949;CLIENT_LOCALE=ko_kr.cp_949
might return error -79784 or -908 if used with JDK earlier than 1.6 and/or JDBC earlier than 3.50.JC8
Resolving the problem
When using JDBC, in order to be able to connect properly to a database using locale ko_kr.cp_949 you have to use JDK1.6 or later and JDBC 3.50.JC8 or later.
'Informix > informix troubleshooting' 카테고리의 다른 글
IC56169: REQUEST JDBC DRIVER TO PARSE SERVICENAME WHEN USING SQLHOSTS LOOKUP IMPLEMENTATION (0) | 2012.03.21 |
---|---|
Cannot install 32 bit application on a 64 bit Windows machine (0) | 2012.03.18 |
Informix 64-bit CSDK for Windows Platforms does not Include OAT (0) | 2012.02.20 |
Error -952 when using /etc/shadow password on HP-UX 11i (0) | 2012.01.07 |
The open cursor problem (106) (0) | 2011.12.08 |