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:
>>>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?
Actually, I found that NLS_ variables should be ignored by Instant Client, so sorry for suggesting to check that. (http://www.oracle.com/technology/tech/oci/instantclient/ic-faq.html#A4432)
What I would do in yur place is to turn on client tracing and try again:
TRACE_DIRECTORY_CLIENT= C:\some\directory TRACE_LEVEL_CLIENT= SUPPORT in sqlnet.ora in your instant client directory.
The generated trace file is rather long, but usually it gives you a clue what is going on and why things are failing.
Yours,
Laurenz Albe
Received on Fri Nov 04 2005 - 02:42:43 CST