3 Replies Latest reply on May 27, 2009 4:54 PM by Timur Akhmadeev

    SQLException: Locale not recognized

    558772
      Hi i already posted this in the SQLJ/JDBC forum but got no reply and it's kind of urgent.
      so running Oracle 11g R1 and java 6 on windows XP SP2.
      when i set my regional settings, specifically the standards and formats entry, to Farsi while testing everything, i get the following exception

      java.sql.SQLException: Locale not recognized
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja
      va:70)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:1
      10)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
      :171)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
      :227)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
      :439)
      at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:330)
      at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
      490)
      at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
      at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtensio
      n.java:53)
      at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:465)
      at java.sql.DriverManager.getConnection(DriverManager.java:582)

      i tried using both ojdbc5.jar and ojdbc6.jar found in $ORACLE_HOME/jdbc/lib but i got the same outcome.
      is it a jdbc driver issue because i don't remeber having this with oracle 10g supplied jdbc drivers.
      how can this be solved, the application i am testing is proprietary.