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: Laurenz Albe <invite_at_spam.to.invalid>
Date: 03 Nov 2005 13:57:06 GMT
Message-ID: <1131026220.57723@proxy.dienste.wien.at>


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.

>
> The thin client theoretically does not require *any* client
> installation. So I'm a bit confused why it should use environment
> settings at all.

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

Original text of this message

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