Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Oracle JDBC oci7 drivers having problems with NLS???
HI,
I'm trying to use the new Oracle JDBC drivers, the oci7 drivers for Solaris. The Oracle installation (7.3.2.2.0) is working fine, all other programs behave as they should, however, the JDBC driver throws the following exception:
oracle.jdbc.oci7.OCIDBException: ORA-12705: invalid or unknown NLS parameter value specified
The most amazing thing is that I need to do the following two commands (yes, both of them!) to make it work:
setenv ORA_NLS32 $ORACLE_HOME/ocommon/nls/admin/data unsetenv ORACLE_HOME
If I don't unset the ORACLE_HOME, the driver just hangs there doing nothing, if I don't set the ORA_NLS32, it throws the above exception.
Any insight as to what may be causing these problems?
Thanks a lot,
Andrzej.