Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: ORA-12705 when connecting with 10gR2 JDBC driver
Thomas Kellerer <WVIJEVPANEHT_at_spammotel.com> wrote:
>> I am not certain about the registry settings, but environment variables >> will definitly be honoured by Instant Client.
It may not require them, but it will honour some of them if present. Examples are ORACLE_HOME, ORA_TZFILE, TNS_ADMIN (see http://download-uk.oracle.com/docs/cd/B19306_01/java.102/b14355/instclnt.htm#sthref555)
> It's upon connecting to the database, basically
>
> DriverManager.getConnection() is throwing this error.
>
> 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?
Do you use Instant Client Lite or the NLS-enabled Instant Client?
Does it make a difference if you have orai18n.jar in your CLASSPATH?
Yours,
Laurenz Albe
Received on Thu Nov 03 2005 - 07:57:06 CST