Setting NLS_LANG env variable for adcmctl.sh
How do set the NLS_LANG env variable specifically for adcmctl.sh? Currently it gets overridden by the NLS_DATE_LANG env variable. I'd like to set it to blank if possible.
Thanks in advance!
Unfortunately there is no way to change the session character set on the fly .
So you are pretty limited on what you can do ..
1. Start up multiple instances of the report server on your machine, one per langauge.
2. Try Oracle Report which support UTF8.
Similar Messages
-
Do I need to set system env variables for weblogic and SOA server installation?
Hi All,
I already have two weblogic application servers on my machine(that were installed by others).
I observed some environment variables were also set in System variables(ORACLE_HOME,WEB_SERVER_HOME etc) section in Env variables section(Start Menu---> Computer --> properties ---).But why do we need to have system environment variables wherein we already have those variables in files like setDomainEnv.bat or/and setSOADoaminEnv.bat for each server.
And one more thing system variables will be applicable for all servers(the whole machine) right.It may spoil the installation of new servers and present servers as variables should be unique to each server.
I want to install weblogic and SOA server installation.
So Can I remove the existing system variables(as they will applicable for every server) and install weblogic and SOA server installation without setting up the environment variables?
Especially I have multiple Weblogic servers,In that case how it would be to have environment variables(JAVA_HOME,WL_HOME,ORACLE_HOME etc)?
Please guide me on this to installl SOA suite .
Thanks in advanceHi All,
I already have two weblogic application servers on my machine(that were installed by others).
I observed some environment variables were also set in System variables(ORACLE_HOME,WEB_SERVER_HOME etc) section in Env variables section(Start Menu---> Computer --> properties ---).But why do we need to have system environment variables wherein we already have those variables in files like setDomainEnv.bat or/and setSOADoaminEnv.bat for each server.
And one more thing system variables will be applicable for all servers(the whole machine) right.It may spoil the installation of new servers and present servers as variables should be unique to each server.
I want to install weblogic and SOA server installation.
So Can I remove the existing system variables(as they will applicable for every server) and install weblogic and SOA server installation without setting up the environment variables?
Especially I have multiple Weblogic servers,In that case how it would be to have environment variables(JAVA_HOME,WL_HOME,ORACLE_HOME etc)?
Please guide me on this to installl SOA suite .
Thanks in advance -
How do you set NLS_LANG environment variable in report builder
How do you set up the reports builder environment to display foreign fonts.
So far what I read makes me think that in report builder I have to set the NLS_LANG environment variable .
If anyone has done this is that true and if so how.
Also the languages I want to use are the following.
Armenian
Cambodian
Chinese
Russian
Tagalog
Vietnamese
How do I find the NLS_LANG environment variables for these.
Where I am at now+
I have to set the DEVELOPER NLS LANG. I see the NLS LANG in the registry and I guess I have to add the DEVELOPER NLS LANG.
Now I am searching for syntax. If anyone knows the syntax for those languages please let me know and how do I set more than 1 at a time.
Howard
Edited by: csphard on Apr 14, 2010 5:17 PM
Edited by: csphard on Apr 14, 2010 5:22 PM
Edited by: csphard on Apr 15, 2010 9:02 AMHello Howard,
Check out the following link here you can find your desired NLS parameters.
http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
And about the NLS_LANG for developer why you want to create for developer. Its is already there in REGISTRY. Just seaching in developer registry you can find there.
how do I set more than 1 at a time.
You can set only one NLS_LANG parameter at a time.
-Ammad
Edited by: Ammad Ahmed on Apr 15, 2010 8:52 PM -
Env variable for custom top showing diffent values
hi,
we cloned the prod to UAT then the
value for env variable for custom top showing different values.
ie,
backend it is showing
echo $XXECO_TOP
/oracle/UAT/apps/apps_st/appl/xxeco/12.0.0 (this is the correct value)
from the front end when we submit the "print environment variable" concurrent request it shows the following incorrect value
/dev/oracle/app/oraprod/apps/apps_st/appl/xxeco/12.0.0 (this is prod value)
please let us know how to correct the value
Edited by: 831498 on Feb 18, 2011 6:26 AMHi,
Post your Query to http://forums.oracle.com/forums/forum.jspa?forumID=475
Regards,
Gyan -
The NLS_LANG environment variable for Form Builder 10g on Linux
Hi,
I have installed Oracle Developer Suite 10g on Linux Enterprise AS4 successfully,and set environment variable NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK",LANG="zh_CN.UTF-8".When i executed the following: /home/oracle/Orant/bin/frmbld
I got the error as:
X Error of failed request:BadFont(invalid Fond parameter)
Major opcode of failed request:56(X_ChangeGC)
Resource id in failed request:Ox2c000af
Serial number of failed request:3376
Current serial number in output stream 3517
FRM-18122: ’Form Builder Debugger.
If i delete the NLS_LANG environment variable,the Form Builder can be running,but i can't keyboard input[b] chinese characters in the PL/SQL Editor.
I don't know how to solve the problem,anybody can help me?Hello Howard,
Check out the following link here you can find your desired NLS parameters.
http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
And about the NLS_LANG for developer why you want to create for developer. Its is already there in REGISTRY. Just seaching in developer registry you can find there.
how do I set more than 1 at a time.
You can set only one NLS_LANG parameter at a time.
-Ammad
Edited by: Ammad Ahmed on Apr 15, 2010 8:52 PM -
How to set ORACLE_HOME env variable
Hi,
What are the value that i have to specify in the ORACLE_HOME environment variable in NT setting ?
regards
AndrewIt is a directory, where you have installed an Oracle software. For example, C:\ora
-
Setting java_home env variable
It looks like this java_home variable thing is gonna give me enaf trouble. Now I am sure i have done all as outlined in the release notes and cJDK_Users_Guide especially on "installation". There surely must be something wrong with my machine or jdk. Some body send me the full list of possible causes and suggested solutions.
Problem is in this institution nobody seems understand what I am talking aboutFirst off, in your previous post, you provided your environment script:
@echo off
set jc_home = c:\java_card_kit-2_2_1
set java_home = c:\j2sdk1.4.1_07
Note that the spaces on either side of the equals sign are incorrect. The way you have it currently, the space is part of the key and value.
"java_home<space>" does not equal "java_home", likewise "<space>c:\j2sdk1.4.1_07" does not equal "c:\j2sdk1.4.1_07".
Remove the spaces and you will be OK.
"Problem is in this institution nobody seems understand what I am talking about"
Your problem seems to be related to your understanding of the windows command line - nothing to do with Java or Javacard.
- Joscar -
How To Save Path when setting new env variable!!
Hello all,
I am trying to learn how to properly include something in my path. When I run the command echo $PATH, I get /Xcode3.12/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbi n:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/ opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin,,,,,how ever, as soon as I leave the Terminal and relaunch it and retype the echo $PATH command I no longer see what I just included in the path before logging out. This is what i do first:
export PATH=/Xcode3.12/usr/bin:${PATH}
export PATH
export MANPATH=/Xcode3.12/usr/share/man:{MANPATH}
export PATH
After typing this in the Terminal, I exit the Terminal and it is no longer there. Can anyone explain to me how I go about saving this so it remains permanently part of the PATH. The reason why I'm asking about this is I am trying to install OpenMotif and it is asking me to add the lib path to the DYLDLIBRARYPATH envi.,, I have no idea what this is. Any help would be greratly appreciated.
Best Regards,
freesparksfreesparks wrote:
I did as you said and now each time I launch a new Terminal window this is what I'm getting:
Last login: Thu Feb 18 15:36:30 on console
-bash: /sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin: /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/op t/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R 6/bin:/Xcode3.12/usr/bin:/Xcode3.12/usr/share/man: No such file or directory
You are going to have to post the contents of your .bash_profile file. Make sure to put it between two lines of:
so it will display nicely here in the forums.
Is this normal? And, if it isn't how do I undo it? This is the result ourcing the new .bash_profile file.
It isn't normal. You have some duplicates in there. Still, you have at least two different ports packages in there. Even when correct, your path is going to be pretty long.
You normally shouldn't source .bash_profile. It is loaded automatically when you login. If you keep source-ing it, it will just keep adding junk to your path and other variables.
When hacking around on these files, it is best to keep several (or at least two) terminal windows open. That way, you can hack up a file, then open a new window to check it out. If that new window hangs entirely, you still have one functional window where you can fix it.
checking for Motif headers... configure: error: ** NO MOTIF HEADERS FOUND ** install Motif development headers or use --with-motif-includes to specify location of Xm/Xm.h
sudo /opt/local/bin/port install curl imagemagick openmotif pcre db42 lcms proj gdal libpng libxml2 shapelib libgeotiff
That sounds like you are doing my job!
You don't need curl, it comes with the OS. You don't need libxml2, that comes with the OS too. Same for pcre.
I know imagemagick builds right out of the box on MacOS X. I'm still not convinced you need openmotif. If you do, doug has posted a link to the official installer package for it.
Error: You cannot install fontconfig for the architecture(s) x86_64 because
Error: its dependency expat only contains the architecture(s) i386.
It sounds like the ports packages are all screwed up.
I wasn't kidding about you doing my job. Those are all the tools I use on a daily basis. Normally I work in Linux, but I am supposed to be getting a new Mac soon that I can use for local development. I plan to be building all those tools on my machine, but I won't use any porting package. So, I'll be glad to help you install them, because I need to install them myself (I've already done ImageMagick - it was easy). But I can't fix bugs in the ports packages. -
Env. variable for sqlPlus to search for sql scripts?
On Oracle 11.2, on win / (or Win 2008 64bit) I would like to start sqlPlus and call some package scripts wich are in $ORACLE_HOME\rdbms\admin folder..
but I would not like to move to that folder or to call scripts with full filename..
so, is there some environment variable wich tells sqlPlus in wich folder to search for .sql (.plb & other) scripts?
regards,
EDIT: I think it should be something like ORACLE_PATH
Edited by: 846417 on Jul 19, 2011 5:34 AMTry SQLPATH
-
Setting env variables through scheduler
Hi All,
I am trying to run a PERL script which makes database connection using DBI module through scheduler. The script works fine if I run it manually but from scheduler it fails because it can't fine libclnt.sh.10.1 lib file. I have LD_LIBRARY_PATH & LIBPATH set in my .profile and i guess when scheduler runs the external job, it creates a new shell but doesn't inherit the .profile settings (same as cron). I tried setting these env variables in PERL script itself but even then it's not working. I tried my theory by running this script from shell but without running .profile and it fail with exact same error.
I want to know how you guys are handling this situation? How to set or call .profile from scheduler job so that all the env variable get set properly?
OS: SUSE Linux
DB: 11gR2
Thanks
Daljit SinghThanks for the reply, I am doing the same. I have create a very simple script where I am setting all the env variables and I can see that those variable are getting set but still, it doesn't work. There is something special when we run .profile, that time along with env variables, something else also get set (which i dont know and trying to find out) which makes PERL to search the oracle library in oracle_home. I can see that by turning libraries debugging on. Here is a small snippet when .profile doesn't get execute but the env variables are set:
25039: find library=libclntsh.so.10.1 [0]; searching
25039: search cache=/etc/ld.so.cache
25039: search path=/lib64/tls/x86_64:/lib64/tls:/lib64/x86_64:/lib64:/usr/lib64/tls/x86_64:/usr/lib64/tls:/usr/lib64/x86_64:/usr/lib64 (system search path)
25039: trying file=/lib64/tls/x86_64/libclntsh.so.10.1
25039: trying file=/lib64/tls/libclntsh.so.10.1
25039: trying file=/lib64/x86_64/libclntsh.so.10.1
25039: trying file=/lib64/libclntsh.so.10.1
25039: trying file=/usr/lib64/tls/x86_64/libclntsh.so.10.1
25039: trying file=/usr/lib64/tls/libclntsh.so.10.1
25039: trying file=/usr/lib64/x86_64/libclntsh.so.10.1
25039: trying file=/usr/lib64/libclntsh.so.10.1
25039:
install_driver(Oracle) failed: Can't load '/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.10.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /home/oracle/scripts/test 9
See it is searching for this lib in some system path and not using any of env variable. I want to know where it's getting this value from. Also if I run .profile then, this path changes and inludes what is mentioned in LD_LIBRARY_PATH and then it works.
Thanks
Daljit Singh -
How to set boot variable for standby Sup2 in 6500?
I'm upgrading a 6500 with dual Sup2. Have copied the new boot image and system image to both bootflash and slavebootflash. Have also set new boot statements for the active Sup.
However couldn't set the boot variables for the standby Sup. Do I need to? Will the boot statements in the startup config take care both Sup's?
Thanks
GaryIf you do a wr mem, it should synchronize. You can verify using sh bootvar. Here is outputs from my lab
Router#sh bootvar
BOOT variable = sup-bootflash:c6sup22-jsv-mz.121-26.E3,1
CONFIG_FILE variable =
BOOTLDR variable =
Configuration register is 0x2102
Standby is up
Standby has 227328K/34816K bytes of memory.
Standby BOOT variable = sup-bootflash:c6sup22-jsv-mz.121-26.E3,1
Standby CONFIG_FILE variable =
Standby BOOTLDR variable =
Standby Configuration register is 0x2102 -
Dynamic ORACLE_HOME in env variable PATH not working
Hi,
We have an issue whereby we want the PATH to be dyanmic with respect to the ORACLE_HOME.
Have implemented the solution in 'ORA-12557: TNS:Protocol Adapter Not Loadable' While Running OUI [ID 735400.1 but not working.
We have Windows 2008 R2 server with Oracle 11.2.0.3 client installed.
First when did set to check environment varibales, fouND no env. variable for ORACLE_HOME even though in registry so have set ORACLE_HOME as user env variable.
Have changed system env variable PATH to have %ORACLE_HOME%\bin; at very start
when do PATH to check value shows
literally as %ORACLE_HOME%\bin at start rather than translating to the real physical location as it does with other logical variables.
How can we ensure translates the ORACLE_HOME correctly so PATH is O.K.user5716448 wrote:
Hi,
We have an issue whereby we want the PATH to be dyanmic with respect to the ORACLE_HOME.
Have implemented the solution in 'ORA-12557: TNS:Protocol Adapter Not Loadable' While Running OUI [ID 735400.1 but not working.
We have Windows 2008 R2 server with Oracle 11.2.0.3 client installed.
First when did set to check environment varibales, fouND no env. variable for ORACLE_HOME even though in registry so have set ORACLE_HOME as user env variable.
Have changed system env variable PATH to have %ORACLE_HOME%\bin; at very start
when do PATH to check value shows
literally as %ORACLE_HOME%\bin at start rather than translating to the real physical location as it does with other logical variables.
How can we ensure translates the ORACLE_HOME correctly so PATH is O.K.
open Command Window & issue command belowecho %ORACLE_HOME%COPY the results, then PASTE all back here -
Hi ,
I am new to linux can any one please guide me the steps to follow to update the ENV variable for JAVA_HOME in Linux.
Thanks
RaghavHi.
http://www.cyberciti.biz/faq/linux-unix-set-java_home-path-variable/ (set JAVA_HOME)
http://stefaanlippens.net/bashrc_and_others (Bash: about .bashrc, .bash_profile, .profile, /etc/profile, etc/bash.bashrc and others) -
Env settings for oracle user , when installing Oracle on linux
Good Morning Oracle Experts ;
Basicallly my major subject is Electrical and Electronics
I am very new to ORACLE/LINUX [ LEARNING ORACLE DBA ] Technology.
I have THREE questions .. Please help me to understand oracle concepts.
QUES 1 :
i am getting confused about “setting bash_profile” and it’s contents
I googled , it said to set env variables for oracle user. Ok .
Can anyone explain clearly what exactly happens when “ setting bash_profile ” ?
MY BASH_PROFILE SETTINGS
My bash_profile having following contents :
+# Oracle Settings+
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=TSH1; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
+#LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL+
+if [ $USER = "oracle" ]; then+
+if [ $SHELL = "/bin/ksh" ]; then+
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
QUES 2 :
Please note : This url says lot of env variables
http://www.idevelopment.info/data/Oracle/DBA_tips/Unix/UNIX_4.shtml
2 . In my case , Why following env variables *[LD_ LIBRARY_PATH , CLASS_PATH , PATH]* are missing ?
My pc showing only four env variables $ env | grep -e ORA -e TNS
ORACLE_SID=TSH1
ORACLE_BASE=/u01/app/oracle
ORACLE_TERM=xterm
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
QUES 3 :
*[ LD_ LIBRARY_PATH , CLASS_PATH , PATH ]*
*Are they [ above mentioned env variables] necessary (or) not necessary for oracle DB ?*
When listing env variables , why they are not displayed ? (anything wrong ) ?
As a beginner , I expect some clean technical information to improve my knowledge ..
Thanks in advance ;Required Output
*$ id*
uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba)
*$ env | sort*
CLASSPATH=/u01/app/oracle/product/10.2.0/db_1/JRE:/u01/app/oracle/product/10.2.0/db_1/jlib:/u01/app/oracle/product/10.2.0/db_1/rdbms/jlib
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-s2yfterD04
DESKTOP_SESSION=default
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-oJUn3E/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=linuxserver
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
ORACLE_SID=TSH1
ORACLE_TERM=xterm
PATH=/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
PWD=/home/oracle
SESSION_MANAGER=local/linuxserver:/tmp/.ICE-unix/4394
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=4450
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-cbAqMq4394/agent.4394
TERM=xterm
TMP=/tmp
USER=oracle
_=/usr/bin/env
WINDOWID=42039592
XAUTHORITY=/home/oracle/.Xauthority -
Hi,
I would like to know how to set a session variable for the following purpose.
At the top of my application I have a "Welcome <username>" I'd like it instead to have "Welcome <firstname> <lastname>".
So the concept would be after the user logs in succesfully this session variable is dynamically set so it can be displayed.Hi Scott,
I realize that I can set items etc in pages. The case I'm referring to is a reference in a template. My template has a "Welcome <user name>" ... so the code looks like "Welcome &APP_USER." Anyway to make it say "Welcome first_name last_name" in the template? Note I'll have to get the first/last names from a query
Thanks,
Marty
Maybe you are looking for
-
SS2K_SYSOBJECTS.dat not getting created
Hi, I am trying to migrate an MS SQLServer 2000 database to Oracle 9i. When i try to do offline capture of the MS SQL Server database am getting one error which is preventing me from creating the OMWB repositry. SS2K_SYSOBJECTS.dat has not been creat
-
Monitoring HTTP receiver adapter ?
Hi Guys, How to monitor the HTTP adapter ? How can we know when any errors in the HTTP adapter ? Do i need to look in the integration engine ? Thanks, srini
-
Business Objects Universe generator
Hello, We came across an interesting scenario and was hoping to hear from other with smiliar situation. In a SAP-BW and BO environment using Business Object Universe generator, it appears that BO requires direct data base connectivity to read data fr
-
I am installing Adobe Creative Suite6 Design and Web Premium on a newly set up PC and received a pop-up box saying "Please inset disk AdobeDesignWebPremium6-EnglihJapan to continue". Does this mean I am missing a disk? My registration number is good-
-
Your Apple ID can't be used to set up iMessage at this time.
Hello, have MacBook Pro with OS X Mavericks. All worked fine but today I normally restarted my MacBook and iMessages stop working. Don't know why. Can anybody help me? I tried to call to support centre, but in Slovakia isn't any support and czech sup