ORA-12705
Hello
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
OS - Solaris
I am facing the following error when trying to connect from PHP script to the Oracle database:
"ORA-12705: Cannot access NLS data files or invalid environment specified"
This is how PHP connects to the db:
$this->handle = OCILogon($user, $pass, $name, 'AL32UTF8');Please, pay attention to the last parameter.
This is the output from SELECT * FROM nls_instance_parameters:
1 NLS_LANGUAGE AMERICAN
2 NLS_TERRITORY AMERICA
3 NLS_SORT
4 NLS_DATE_LANGUAGE
5 NLS_DATE_FORMAT
6 NLS_CURRENCY
7 NLS_NUMERIC_CHARACTERS
8 NLS_ISO_CURRENCY
9 NLS_CALENDAR
10 NLS_TIME_FORMAT
11 NLS_TIMESTAMP_FORMAT
12 NLS_TIME_TZ_FORMAT
13 NLS_TIMESTAMP_TZ_FORMAT
14 NLS_DUAL_CURRENCY
15 NLS_COMP
16 NLS_LENGTH_SEMANTICS BYTE
17 NLS_NCHAR_CONV_EXCP FALSEMost of the parameters as you can see are not set.
I have no access to the machine where oracle is installed which means I cannot see environment variables there such as NLS_LANG, etc.
Please, does anyone have an idea or a guess where I can look at and what to experiment with in order to find where the problem is?
I read in Oracle Metalink also and I must say that error sometimes occurs and sometimes does not ...
Thanks!
I'm sorry .. so here is the output from nls_database_parameters:
1 NLS_CSMIG_SCHEMA_VERSION 5
2 NLS_NCHAR_CHARACTERSET AL16UTF16
3 NLS_LANGUAGE AMERICAN
4 NLS_TERRITORY AMERICA
5 NLS_CURRENCY $
6 NLS_ISO_CURRENCY AMERICA
7 NLS_NUMERIC_CHARACTERS .,
8 NLS_CHARACTERSET AL32UTF8
9 NLS_CALENDAR GREGORIAN
10 NLS_DATE_FORMAT DD-MON-RR
11 NLS_DATE_LANGUAGE AMERICAN
12 NLS_SORT BINARY
13 NLS_TIME_FORMAT HH.MI.SSXFF AM
14 NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
15 NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
16 NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
17 NLS_DUAL_CURRENCY $
18 NLS_COMP BINARY
19 NLS_LENGTH_SEMANTICS BYTE
20 NLS_NCHAR_CONV_EXCP FALSE
21 NLS_RDBMS_VERSION 10.2.0.4.0NLS_CHARACTERSET is set to AL32UTF8, which is the same. What else could cause it?
Similar Messages
-
ORA-00604: error occurred at recursive SQL level 1 ORA-12705: invalid or un
Hello, I'm so worried because I can't resolve the following problem with my oracle clients on my desktop.
Initial state:
SO: Windows XP SP1
Oracle clients: Oracle 8i
Issue: I can get connection and access to the DB successfully
Middle state:
SO: Windows XP SP1
Oracle clients: The same Oracle 8i and a new Oracle 9 client.
Issue: We need to swap between each DB 8 and 9 using the HOME SELECTOR to get connections and access. I understand that the Oracle 9 Client have back-compatibility with 8i DBs. If I tray to get connection to the DB 8i using the Oracle 9 we get the following errors.
Errors: ORA-00604: error occurred at recursive SQL level 1
ORA-12705: invalid or unknown NLS parameter value specified
I decided to uninstall all the products (Oracle 8 and 9) using the Oracle Universal Installer. We didn't erase folders nor registers, we just used Oracle Universal Installer. Then we installed Oracle 10g
Final Sate:
SO: Windows XP SP1
Oracle clients: only Oracle 10g
Issue: I can get connection and access to the Oracle 9 DB. But trying with the Oracle 8i DB I got the same problem described above.
Errors: ORA-00604: error occurred at recursive SQL level 1
ORA-12705: invalid or unknown NLS parameter value specified
Please can somebody tell me how can I resolve this problem.
Thanks.
Luis CarlosYou need to check you're NLS environment settings, check out this thread
ORA-12705: invalid or unknown NLS parameter value specified -
ORA-00604: error occured at recursive SQL level 1 ORA-12705: Cannot access
Oracle Database 10g Express Edition Release 10.2.0.1.0 on
OS Linux Debian 3.1_r4_stable
SQL> select userenv('LANGUAGE') from dual;
USERENV('LANGUAGE')
RUSSIAN_RUSSIA.AL32UTF8
Client OS MS Vista Ultimate EN , region=RUSSIAN.RUSSIA
Oracle Developer suite 10
SQL-Developer
Version 1.1.0.23.
NLS_LANG=RUSSIAN_RUSSIA.CL8MSWIN1251
Oracle Developer suite 10 is working properly but when
i am attempting a connection between Oracle 10g XE and SQL-Developer.
Need some help to resolve this error message....
ORA-00604: error occured at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid enviroment specifiedHi,
You have to set NLS_LANG before connect to Oracle Database.
$export NLS_LANG=.AL32UTF8 -
Database link from XE to 8i - Ok for XE, but error ORA-12705 for ApEx
I have oracle 8.1.7.4 (8i) with these settings:
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
{color:#ff0000}NLS_CHARACTERSET CL8MSWIN1251{color}
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT dd-mon-rr
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
{color:#ff0000}NLS_NCHAR_CHARACTERSET CL8MSWIN1251{color}
NLS_RDBMS_VERSION 8.1.7.4.0
And oracle XE:
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
{color:#ff0000}NLS_CHARACTERSET AL32UTF8{color}
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
{color:#ff0000}NLS_NCHAR_CHARACTERSET AL16UTF16{color}
NLS_RDBMS_VERSION 10.2.0.1.0
I create database link from XE to 8i - it works fine:
I create view in XE based on table from 8i
and using SQL Developer {color:#0000ff}I can Select/Insert{color} into this view {color:#0000ff}from XE{color}.
BUT when I login {color:#0000ff}to Application Express{color} and try the same SELECT from the view - {color:#0000ff}I get error:{color}
ORA-12705: ORA-12705: invalid or unknown NLS parameter value specified
ORA-02063: preceding line from LINKED8i
What should I do to make Application Express work with the view based on table in remote database correctly - i.e. allow me to Select/Insert/... ?Hi,
i don't have a solution for your problem but i want to share with you my research in using Database Links with XE/Apex.
I have done it a in a lot of projects and in most of all cases it shows a strange behavior when using Database Links via Apex. As far as i know SQL-Request in Apex are executed via the DBMS_SQL-Package. And that seems to be source for all errors and strange behaviors you get.
If you post a SQL-Request directly from your XE, everything's fine. If you do the same from APEX, sometimes it is very slow and sometimes it fails.
So, my approach to this issue is to work with Materialized Views. Your can create MV's on your XE to reference your remote tables and even schedule refreshes. In Apex, you only work with these MV's instead of the remote tables. And everything's going to be fine!
Hope this helps!
Regards, Jens -
Error while trying to retrieve text for error ORA-12705
I am getting the message "Error while trying to retrieve text for error ORA-12705" when trying to connect to a remote oracle database on the network.
I can access this database using:
sqlplus username/password@database
from a dos prompt.
For some reason I can't connect when using PHP (through my local Apache2 server on Windows XP).
'phpinfo' says oracle in enabled (installed as per: http://www.oracle.com/technology/pub/notes/technote_php_instant.html), so I'm pretty sure the problem isn't with php itself.
My guess is it's something with Apache, and maybe environment variables or user permissions or instantclient (10).
All the folders, from instantclient to the Apache server have full permissions set for "Everyone" which I would assume includes this mysterious "nobody" user I've read about.
As for instantclient, I have placed that "tnsnames.ora" file from the oracle server there, and that hasn't changed much.
I've tried setting, unsetting, editing (environment variables):
LD_LIBRARY_PATH
ORACLE_HOME
ORACLE_SID
TNS_ADMIN
NLS_LANG
ORA_NLS33
in both the system environment, and even with PHP's "putenv" function. (Note: and restarting each time I changed a system var.)
In PHP i'm using:
$c = oci_connect("username","pasword", "database")
I've tried OCILogon instead of oci_connect
For "database" I've tried:
- using the path to the oracle db: //Oracle1/e/oracle/ora81
- mapping the path to x: drive and using: x:/oracle/ora81
- using the name of the database by itself
- using the name of the database underscored with the database name
- using "(ADDRESS=(PROTOCOL=TCP)(HOST = host)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=database)))"
I have tried everything I can find from:
the Oracle installation page: http://www.oracle.com/technology/pub/notes/technote_php_instant.html
the Oracle troubleshooting page: http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#connect
and these forumswith no results, just the same error.
I have also spent about 16 hours Googling for help, and nothing.
Can someone please tell me, what exactly does a user using:
Windows XP
Apache 2
PHP
intantclient10
Oracle 8i (on a remote server)
need to do to connect to Oracle before jumping off a bridge?Turns out Oracle was previously installed on this company laptop :(
I deleted any 'Oracle' mention in the registry with 'regedit' (from the command line) using the Find option. Not sure if it's always a good idea to do that, but I backed up the important stuff first anyway.
I uninstalled and reinstalled everything using the same guide mentioned above, and then it worked.
Now I can be friends with Oracle again.
Would be nice if the "Deinstall" removed the registry entries that caused this issue... -
ORA-12705 Error Message while trying to connect to the DB
A colleague of mine has been trying to connect to the DB through PL/SQL Developer. The error message returned is :
ORA-12705: invalid or unknown NLS parameter value specified
Checked the registry for NLS_LANG which is set to NA. I did that because the ORA message references the NLS_LANG parameter. However, I doubt that is the problem. Went about to create a new TNS Name entry through Oracle NET Manager and get the same Error Message while performing the TEST function.
Any clues ? I am clueless at this point.This can occur with any NLS_ environment variable of registry value.
Your assertion ' the ORA message references the NLS_LANG parameter' is incorrect.
You can set NLS_TERRITORY, NLS_DATE_FORMAT etc, etc, etc.
The order of precedence is environment variable, registry, Oracle provided default.
To find out what is going on set every NLS related environment variable to the empty string.
In sqlplus
select * from v$nls_valid_values
will show you what can be set,
This error will also occur when you installed the software with English as the only language.
SQL developer doesn't use tnsnames.ora
The new tnsname entry has nothing to do with it.
You have an incorrect environment variable or registry value somewhere
(in HKLM\software\oracle)
Sybrand Bakker
Senior Oracle DBA -
Changing locale generates ORA-12705: invalid or unknown NLS parameter error
By mistake I changed the default locale with following code:
Locale.setDefault(new Locale(localeCode))
and I get:
JBO-30003: The application pool (com.photoswing.model.site.WebPhotographerGlobalAMLocal) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
at oracle.jbo.JboException.<init>(JboException.java:343)
## Detail 0 ##
java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-12705: invalid or unknown NLS parameter value specified
Thanks
FredCan somebody explain the relation between default locale and NLS application pool connection parameter?
Thanks
Fred -
PROBLEM JDEVELOPER 10.1.3.1.0 ORA-00604 ORA-12705
Hi,
I am following the instructions of the tutorial "Build a Web Application with ADF Faces and Oracle TopLink" on http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_adftoplink/master-detail-edit_page_adf_toplink.htm
I use:
- Jdeveloper 10.1.3.1.0
- Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
First, when I tried to create a connection, I got the errors:
ORA-00604: error occurred at recursive SQL level 1
ORA-12705: invalid or unknown NLS parameter value specified
Then, I add this lines to my jdev.conf:
AddVMOption -Duser.region=es
AddVMOption -Duser.language=es
After that, I could create a connection succesfully, but when I run the application, I got the following messages:
1. JBO-29000: Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException Excepción Interna: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: invalid or unknown NLS parameter value specified Código de Error: 604; nested exception is: Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException Excepción Interna: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: invalid or unknown NLS parameter value specified Código de Error: 604
2. Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException Excepción Interna: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: invalid or unknown NLS parameter value specified Código de Error: 604; nested exception is: Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException Excepción Interna: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: invalid or unknown NLS parameter value specified Código de Error: 604
It seems like I got the same errors that I got at first time when I was trying to create a connection.....
I also downloaded the ojdbc14.jar for my oracle database version, and replace it with the one in ..../jdbc/lib. However nothing works, I can create the connection, I could browse any database object in the Jdeveloper enviroment, but when I run the application, no thing works....
Asking for help pleaseHi user538543 , i've had the same situation and solved
changing my O.S. regional settings to English and USA.
Please try that.
Regards,
Luis R. -
ORA-12705: Cannot access NLS data files or invalid environment specified
Hi,
I am using Oracle 10g Express, ojdbc14.jar , apache tomcat 5 server on Linux (Fedora 6).
In CustDisp.JSP I have following code:
<%
try {
Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
out.println("JDBC driver loaded.<br>");
catch (ClassNotFoundException e) {
%>
error :<br>
<%=e.toString() %>
<%
String sql = "SELECT custid, fname, lname FROM customers";
try {
Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
out.println("Connection made.<br><br>");
Statement s = con.createStatement();
ResultSet rs = s.executeQuery(sql);
%>
When Itry to access http://localhost:8080/jsps/CustDisp.jsp,I get following error:
java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified.
When I display enviorenment parameters in this JSP, I get follwing:
JDBC driver loaded.
Oracle Home = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
Language = en_US.UTF8
NLS Language = AMERICAN_AMERICA.AL32UTF8
Path = /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
Class Path = /usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-impl.jar:/usr/share/java/mx4j/mx4j-jmx.jar
Charset = null
Home = /usr/share/tomcat5
Log Name = tomcat
LD LIB PATH = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/ojdbc14.jar:
Locale = en_US
nls data directory : /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data
I have checked permissions for nls data folder, they are :
Owner: Oracle
Folder Access: Create and delete files
Group: Dba
Folder Access: Access files
Others
Folder Access: Access files
Execute: Allow executing file as program.
I have written a java program and used same drivers,customers table and connection i.e
Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
String sql = "SELECT custid, fname, lname FROM customers";
Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
it works fine and displays customers.
Only when I try to access my CustDisp.JSP, I get
java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified. Error.
Can some one please help me sorting out this problem?
Thanks in advance.
AQKHi,
Relevant code for CustDisp.JSP is given below:
<%@ page session="false" %>
<%@ page import="java.io.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="oracle.jdbc.*" %>
<%
try {
Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
out.println("JDBC driver loaded.<br>");
catch (ClassNotFoundException e) {
%>
error :
<%=e.toString() %>
<%
String sql = "SELECT custid, fname, lname FROM customers";
try {
Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
out.println("Connection made.<br><br>");
Statement s = con.createStatement();
ResultSet rs = s.executeQuery(sql);
%>
Permissions for nls data folder
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/
are :
Owner: Oracle
Folder Access: Create and delete files
Group: tomcat
Folder Access: Access files
Others
Folder Access: Access files
Execute: Allow executing file as program.
In CustDisp.JSP I have following code which accesses ojdbc14.jar
// Check access to the nls data files.
cfile = "";
try{
File myfile = new File("/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/ojdbc14.jar");
if (myfile.exists() == true){
cfile="ojdbc14.jar exists in the data directory. Its length is "+ myfile.length()+" It can be read =" myfile.canRead() " , can be written = " + myfile.canWrite();
}else{
cfile="ojdbc14.jar does not exist.";
catch (Exception er){
%>
error in reading file:<br>
<%=er.toString() %>
<%
This code gives following output:
File ojdbc14.jar exists in the data directory. Its length is 1536979 It can be read =true , can be written = false
Every things seems to be OK but when I try to access http://localhost:8080/jsps/CustDisp.jsp, Iget:
Sql Error:
java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified
Best regards.
AQK -
ORA-12705 setting up repo in Oracle DB
After "lh setup" to configure repo when using Oracle 10g XE, I recieve message
com.waveset.util.ConfigurationError:
==> java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-12705: Cannot access NLS data files or invalid environment specified
connect via sqlplus waveset/<pass> passes ok. On which side (DB or IdM) this should be fixed and how?Solved, Oracle XE doesn't understand jdbc connection url when using locale other then english.
export LC_ALL=C ; ./lh setup works fine
Oracle or Java bug? -
I just downloaded SQL Developer 1.5.
When I try logging into any database, the Logging Page shows:
Source: oracle.dbtools.db.DBUtil
Message: ORA-12705: Cannot access NLS data files or invalid environment specified
I've tried setting the NLS preferences to the default ... no dice/
SQL Developer 1.2 works fine.Hi Helder,
I think you're on the right track but when I made the changes you described
Tools -> Preferences -> Database -> NLS parameters
"Decimal Separator" from . to '.'
"Group Separator" from , to ','
"Currency" from $ to '$'I found that, while the error messages did indeed stop, my numbers started being formatted incorrectly.
select to_char( 12345.23, '99G999D99' ) from dual
TO_CHAR(12345.23,'99G999D99')
12.345'23 Note how the single quote appears as a decimal separator and a period appears as the group separator.
Your idea did however lead me to the following workaround which eliminates the ora-12705 error and sets the decimal and group separators properly.
Tools -> Preferences -> Database -> NLS parameters
"Decimal Separator" from . to .,
"Group Separator" from , to (i.e. leave the field blank)The currency separator can stay at its original value, a single $ character. After making these changes the query above returns this.
select to_char( 12345.23, '99G999D99' ) from dual
TO_CHAR(12345.23,'99G999D99')
12,345.23 --
Joe Fuda -
ORA-12705 in Oracle AS (10.1.3) Creating DataSource OEM.
Hi,
I Upgraded oracle Application Server to Oracle AS 10g (10.1.3) without changing on oracle DB version and can´t create a native datasource using Oracle Enterprise Manager. The error when test conexion is:
Exception occurred testing connection. Exception: java.sql.SQLException:
ORA-00604: error occurred at recursive SQL level 1
ORA-12705: invalid or unknown NLS parameter value specified
I introduce the same data what in AS 9.0.4 (work fine).
connection-driver="oracle.jdbc.pool.OracleDataSource"
name="prueba"
location="jdbc/prueba"
url="jdbc:oracle:thin:@10.15.7.35:1523:prueba"
username="user"
password="password"
sql*plus work fine.
I tried change NLS_LANG, locale, user.language ... but can´t solve the problem.
Would you please tell me what these errors can be related to?
Regards,
PacoWhich platform did this happen on?
It might be related to a JDBC bug. First, try setting this option when starting OC4J:
-Duser.region=US
If it doesn't help, also check your ORACLE_HOME, PATH, LD_LIBRARY_PATH, LANG, NLS_LANG settings to make sure they reflect the OracleAS 10.1.3 install and the correct locale.
If you use non-US locale, you might also need orai18n.jar in your classpath.
-Frances -
Ora:12705 unable to access NLS data files or invalid environment specified
Hi All,
In our BW production SAP standard job DBA:update_stats is failing . In Job log we found that the info like
Ora:12705 unable to access NLS data files or invalid environment specified.
Connect to DB instance failed.
Brconnect terminated with exit code 3.
We are on Oracle 10.2 BW 3.5 Sunsolaris 5.10
The Env is as below:
HOME=/home/bwpadm
PATH=/oracle/BWP/102_64/bin:/usr/jdk/j2sdk1.4.2_13/bin:/home/bwpadm:/usr/sap/BWP/SYS/exe/run:/etc:/usr/bin:.:/opt/EMCpower/bin/64:/etc/emc/bin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin
LOGNAME=bwpadm
HZ=
TERM=vt100
SHELL=/bin/csh
MAIL=/var/mail/bwpadm
TZ=US/Pacific
PWD=/home/bwpadm
USER=bwpadm
SAPSYSTEMNAME=BWP
DIR_LIBRARY=/usr/sap/BWP/SYS/exe/run
LD_LIBRARY_PATH=/usr/sap/BWP/SYS/exe/run:/opt/j2sdk1.4.2_08/bin
JAVA_HOME=/usr/jdk/j2sdk1.4.2_13
THREAD=NOPS
dbms_type=ORA
dbs_ora_tnsname=BWP
dbs_ora_schema=SAPBWP
ORACLE_PSRV=BWP
ORACLE_SID=BWP
DB_SID=BWP
ORACLE_HOME=/oracle/BWP/102_64
ORACLE_BASE=/oracle
ORA_NLS33=/oracle/client/92x_64/ocommon/nls/admin/data
NLS_LANG=AMERICAN_AMERICA.WE8DEC
SAPDATA_HOME=/oracle/BWP
Plz suggest what we have to change to fix the problem.
Thanks,
Subhash.GThanks for the reply,
The below is the orasid env:
As you suggest we found ld_library_path is not set to oracle client .
we still using 9.x client shall we add that path to the above varaible.
Please suggest..
HOME=/oracle/RSS
PATH=/oracle/RSS/102_64/bin:/oracle/RSS:/usr/sap/RSS/SYS/exe/run:/etc:/usr/bin:.:/opt/EMCpower/bin/64:/etc/emc/bin:/usr/ccs/bin:/usr/ucb
LOGNAME=orarss
HZ=
TERM=vt100
SHELL=/bin/csh
MAIL=/var/mail/orarss
TZ=US/Pacific
PWD=/oracle/RSS/102_64/dbs
USER=orarss
SAPSYSTEMNAME=RSS
DIR_LIBRARY=/usr/sap/RSS/SYS/exe/run
LD_LIBRARY_PATH=/usr/sap/RSS/SYS/exe/run:/oracle/RSS/102_64/lib
THREAD=NOPS
dbms_type=ORA
dbs_ora_tnsname=RSS
dbs_ora_schema=SAPRSS
ORACLE_SID=RSS
DB_SID=RSS
ORACLE_BASE=/oracle
ORACLE_HOME=/oracle/RSS/102_64
NLS_LANG=AMERICAN_AMERICA.UTF8
SAPDATA_HOME=/oracle/RSS.
Thanks,
Subhash.G -
Problem Connection To Apex - Getting a ORA-12705 Error in the Apache Log
Hello,
We are having issues trying to connect to out Apex instance on our gateway server, as we are getting a 503 Server Temporary Unavailable response and looking in the log file we can see its reporting a:
HTTP-503 ORA-12705: invalid or unkown NLS parameter value specifiedAnd we dont know what is causing this at all. Our DBA has tried to re-create the DAD and we have had a look at our NLS settings and there doesn't seem anything to suggest there is a problem. Also our DBA has been able to connect to the database using SQL plus and as the user APEX_PUBLIC_USER. Below is our NLS settings on the database:
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8MSWIN1252
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 11.2.0.2.0and our dad configuration is:
Alias /i/ "<$ORACLE_HOME>/Apache/images/"
AddType text/xml xbl
AddType text/x-component htc
<Location /pls/apex>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDatabaseConnectString <host>:<port>:<service name> ServiceNameFormat
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDefaultPage apex
PlsqlDatabasePassword <apex_public_user password>
PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
Allow from All
</Location>Our database version is: 11.2.0.2 and our application server is 10g release 2.
Any help on this would be greatly appreciated.
Cheers,
Paul.This is normally an issue related to environment variables.
can you connect from your application server host to your database using sqlplus.
SET NLS_LANG=AMERICAN_AMERICAN.WE8MSWIN1252
sqlplus <username>/<password>@alias -
Getting error ORA-12705, while connecting through Sql*Plus?
Hi TOM,
While connecting ORACLE Database through Sql*Plus / via through Application. We getting error called "Error while trying to retrieve text for error ORA-12705".
How to re-solve this one?
Thanks & Regards,
Senthil K Kumar.Maran,
check the registry NLS_LANG in the registry rename it as suggested by burleson and add a new entryCurrently, it was more suggested by Maxim ;-)
Nicolas.
Maybe you are looking for
-
Enhancing the Interface of a Function Module
Per SAP note 352697, I am trying to enhance the interface of module EXIT_SAPLPC32_003 via transaction SE37. I receive a message "Object FUGR XPCA cannot be enhanced; software component unknown cannot be enhanced". Is there a way to enhance this witho
-
Help about location based classes
Helo. i need some help about location classes(i use J2ME). i want to develop a gps compass application. when i connected to gps, orientation is shown on a compass.(for example if i go to northeast direction, compass indicator shows the direction betw
-
Performance with using dbms_lock.sleep
Hi, does anybody knows wether the performance of my database will going down if i use a dbms_lock.sleep(900) in one of my sessions. Regards, Kay
-
How to set a weel page to deal pages that not exist?
Hi, I am new to Tomcat, i am learnning JSP by Tomcat Env, i find if Tomcat display error pages in IE if i input page that doesn't exit, i want to know if there is way to display a user-defined page to replace the error page (...HTTP Status 404 ...) T
-
Hi all, Please do help me to know why 2 invoices were skiiped from the invoice no's, because it is legal requirement to give the information to concerned authority the reason has to be given.In last 2 months it has happened.When tryed to open those i