ORA-12705 - Logging page
Hi all,
I always get the following error which is logged in the logging pane: ORA-12705: Cannot access NLS data files or invalid environment specified
It does not do any harm but it really bothers me because I always have to close the logging pane to see the complete SQL worksheet again. Does anybody maybe have an idea how to resolve this issues?
Thanks in advance - any help is really appreciated.
Cheers,
Thomas
Check out the workaround described at SQL Developer 1.5: Logging Page - oracle.dbtools.db.DBUtil - ORA-12705 .
Similar Messages
-
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 -
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 -
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 -
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 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 -
OSES 10.1.8.2 Windows XP EQG17035 ORA-604 ORA-12705
HI everyone.
We made a fresh installation of Oracle Secure Enterprise Search (OSES) 10.1.8.2 on Windows XP 32bits.
When try to do a search we obtain the following error EQG17035 ORA-604 ORA-12705 in the application.log and in the oc4j.log.
We change the values of NLS parameters at the registry without changes.
Any help are welcome.
Thanks in advance,
Diego.
08/12/01 13:45:41.719 query: Servlet error
oracle.search.query.internal.SearchException: EQG17035: Excepción SQL: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-12705: invalid or unknown NLS parameter value specified
at oracle.search.query.sc.SCConfigManager.refreshAll(SCConfigManager.java:210)
at oracle.search.query.sc.SCConfigManager.getInstance(SCConfigManager.java:134)
at oracle.search.query.sc.SCConfigManager.getInstance(SCConfigManager.java:121)
at searcherr.jspService(_searcherr.java:1206)
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)
at basic_search._jspService(_basic__search.java:6063)
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.include(EvermindPageContext.java:453)
at search.jspService(_search.java:54)
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-12705: invalid or unknown NLS parameter value specified
08/11/17 18:31:55 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
08/11/17 18:31:55 at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
08/11/17 18:31:55 at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:277)
08/11/17 18:31:55 at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
08/11/17 18:31:55 at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:647)
08/11/17 18:31:55 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
08/11/17 18:31:55 at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
08/11/17 18:31:55 at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
08/11/17 18:31:55 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
08/11/17 18:31:55 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
08/11/17 18:31:55 at java.sql.DriverManager.getConnection(DriverManager.java:512)
08/11/17 18:31:55 at java.sql.DriverManager.getConnection(DriverManager.java:171)
08/11/17 18:31:55 at oracle.search.admin.users.CaboLogin.openConnection(CaboLogin.java:649)
08/11/17 18:31:55 at oracle.search.admin.users.CaboLogin.verifyLoginInfo(CaboLogin.java:795)
08/11/17 18:31:55 at oracle.search.admin.users.CaboLogin.Login(CaboLogin.java:218)
08/11/17 18:31:55 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08/11/17 18:31:55 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08/11/17 18:31:55 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08/11/17 18:31:55 at java.lang.reflect.Method.invoke(Method.java:324)
08/11/17 18:31:55 at oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
08/11/17 18:31:55 at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
08/11/17 18:31:55 at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
08/11/17 18:31:55 at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
08/11/17 18:31:55 at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
08/11/17 18:31:55 at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
08/11/17 18:31:55 at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
08/11/17 18:31:55 at control.login._jspService(_login.java:343)
08/11/17 18:31:55 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
08/11/17 18:31:55 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
08/11/17 18:31:55 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
08/11/17 18:31:55 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
08/11/17 18:31:55 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
08/11/17 18:31:55 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
08/11/17 18:31:55 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
08/11/17 18:31:55 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
08/11/17 18:31:55 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
08/11/17 18:31:55 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
08/11/17 18:31:55 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
08/11/17 18:31:55 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
08/11/17 18:31:55 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
08/11/17 18:31:55 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
08/11/17 18:31:55 at java.lang.Thread.run(Thread.java:534)On Windows, environment variables are global - they affect all processes (a) on the system, or (b) owned by a particular user (depending on the type of variable. So yes, SES will be affected by any existing setting of that variable.
You might be able to run the installer from a command window, and do
set NLS_LANG=before running it. I'm not sure if this unsetting of the variable will propagate through to all the processes or not. You might also need to do this before starting SES every time in the future.
It's arguable that SES should ignore any setting of NLS_LANG, since it doesn't need it. You may want to raise this with support and ask them to raise a bug. -
SQLLDR & host = ORA-12705 invalid NLS
I'm trying to load some data from txt file into database.
I have a batch file and it looks like this:
set ORACLE_HOME=D:\Oracle
set NLS_LANG=AMERICAN_AMERICA.EE8MSWIN1250
set PATH=D:\Oracle\bin;%PATH%
sqlldr usr/pass@db control=d:\file.ctl log=d:\file.log data=d:\data.txt
If I run this batch from command prompt it works OK, If I run this from FORM I get ORA-12705.
It looks like my NLS_LANG variable is not getting through.
..., any ideas?set it in the form account's profile. since your login account may not be the same as form access the db.
-
I installed OracleXE on my laptop and it seems like after that, I was not able to connect to my pre-existing "remote" databases anymore via Forms, Reports, Discoverer, or SQL*Plus.
I was able to add these "remote" databases to the tnsnames in my XE Oracle_home instance to allow me to connect to these databases via TOAD. But, I still cannot connect to them from the above named applications.
I've read through so much NLS_LANG and ORA-12705 documentation, and i still can't figure out why it won't let me connect. I've tried setting the NLS_LANG in my registry to just about every possible value. The database they are trying to connect to has it set to AMERICA_AMERICAN.UTF8. I'm starting to think re-installing all of my Oracle client apps is my only option. Any ideas?I'll check on that. But, I made sure to sync up the tnsnames.ora files in each of my ORACLE_HOMEs so that I could take that out of the equation.
Is there a way to turn on some logging when I try to connect to these "remote" databases to give me more of an idea exactly whats going wrong? Or, to track the Oracle Home each particular exe is pointing to?
When i was playing around with the NLS_LANG environment variable (not sure exactly which value caused it), I also got ORA-3106 (fatal two-task protocol) errors a couple of times when I was trying to log in. -
Hi, Everyone,
i have installed sql developer 2.1.1.64.39. when i start a sql worksheet i get the following errors in the logging page - log
SEVERE 45 0 ORA-01818: 'HH24' precludes use of meridian indicator
SEVERE 44 52276 ORA-01818: 'HH24' precludes use of meridian indicator
SEVERE 43 0 ORA-01818: 'HH24' precludes use of meridian indicator
SEVERE 42 114978 ORA-01818: 'HH24' precludes use of meridian indicator
SEVERE 41 15 ORA-01818: 'HH24' precludes use of meridian indicator
SEVERE 40 0 ORA-01818: 'HH24' precludes use of meridian indicator
How can solve this error? do i need to change any of my settings?
Thanks in advance....ORA-01818: 'HH24' precludes use of meridian indicator
Cause: A date specification contained both a 24-hour time format code and a meridian indicator code. If hours are specified using the 24-hour time format (HH24), a meridian indicator, AM or PM, may not be specified.
Action: Remove the meridian indicator format code, AM/PM or A.M./P.M., or the 24-hour time format code, HH24, from the date specification. You can tweak your Date and Timestamp formats in Preferences - Database - NLS.
Hope that helps,
K. -
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 -
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
Maybe you are looking for
-
I just bought a New Apple Pro Book. Tried getting Facetime up and working with no luck. Won't accept APPLE ID and won't accept a new account. Tried to buy app thinking it was that but told me it was already installed on the mac. Do I have to fix
-
In windows live photo gallery it says an error is preventing the photo or video from being displayed
in windows live photo gallery it keeps saying an error is preventing the photo or video from being displayed
-
Advance with Special GL Indiactor
Hi All, My Client wants to post travel advance with special GL Indicator (Advance). I have assigned GL Account (100000) with special GL indicator to advance symbolic account. When i try to post the document in T code PRRW it is giving error message
-
My Itunes match is not working right, it was only able to download 50% of my songs and now I can't play the balance songs.. it has messed up my enitre music library
-
Serial number problems for cs5
I'm having problems installing CS5 on my macbook air.