在使用Eclipse工具连接数据库的时候报如下错误:
 Error while performing database login with the woss driver;
 ORA-00604:error occoured at recursive SQL level 1
 ORA-12705: Cannot access NLS data files or invalid environment specified;
    使用的数据库是Oracle10g!
 请各位指点迷津,该问题应如何处理???

解决方案 »

  1.   

    Cause: There are two possible causes: - An attempt was made to issue an ALTER SESSION statement with an invalid NLS parameter or value.- The NLS_LANG environment variable contains an invalid language, territory, or character set. Action: Check the syntax of the ALTER SESSION command and the NLS parameter, correct the syntax and retry the statement, or specify correct values in the NLS_LANG environment variable. 楼主试试重新指定下NLS环境变量看看..
    SQL> alter system set nls_language=American_America.zhs16gbk scope=spfile
      

  2.   

    是字符集的问题,java jdbc的连接一般不会有字符集的问题的,你是用的thin的方式连接的oracle吗?把你的连接url确认一下。
      

  3.   

    是用thin连接的数据库,怎么了?
      

  4.   

    如果是thin连接方式,应该不会出现字符集的问题。
      

  5.   

    刚才还是出现同样的问题,
     用了 tianlesoftware 的方法
            alter system set nls_language=American_America.zhs16gbk scope=spfile
       还是不行啊!!
         请教!!!!!!
      

  6.   

    把你eclipse里的环境变量改改试试,修改eclipse.ini-Duser.language=en
    改为
    -Duser.language=zh
      

  7.   

    这个是字符编码的问题么?  算了,不连了,也能用的,打不了不借用MyEclipse写sql语句呗