Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: ORA-12705 when connecting with 10gR2 JDBC driver

Re: ORA-12705 when connecting with 10gR2 JDBC driver

From: Thomas Kellerer <WVIJEVPANEHT_at_spammotel.com>
Date: Thu, 03 Nov 2005 15:11:54 +0100
Message-ID: <3suk5aFq3qrcU1@individual.net>


On 03.11.2005 14:57 Laurenz Albe wrote:
> It may not require them, but it will honour some of them if present. > Examples are ORACLE_HOME, ORA_TZFILE, TNS_ADMIN

None of them are set.

>>In the meantime I found a workaround, but I'm still not sure what's
>>going on. I was setting the system property user.language to en upon
>>starting the Java application (to get english "system" dialogs,
>>otherwise Swing will honor the language of the OS, which would yield in
>>a bi-lingual application). When I remove the -Duser.language=en from the
>>command line starting the application, things are working.

> Did you check for NLS_ settings in the environment or registry? Yes, they are correct (working fine with SQL*Plus)

> Do you use Instant Client Lite or the NLS-enabled Instant Client? No.

> Does it make a difference if you have orai18n.jar in your CLASSPATH? Tried that as well, no difference. The only thing to get it working is to leave out -Duser.language

I also tried to "synchronize" the NLS_LANG registry setting with -Duser.language=en (i.e. setting NLS_LANG to ENGLISH ...) but that didn't help as well.

Regards
Thomas Received on Thu Nov 03 2005 - 08:11:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US