R12:REP-3000 When Character Set Is ZHS16GBK
Applies to:
Oracle Application Object Library - Version: 12.0.4/5
This problem can occur on any platform.
Symptoms
After Install R12RUP5,We got following errors when submit a concurrent reports request in US environment.
but it ok in ZHS.
Have checked fellowing NOTE:729849.1 [Rep-3000 , REP-69 When Running any Reports on E-Business Suite 12.0.4] and it still don't work.
Concurrent Requests log file shows:
Request language is :
AMERICAN
Request territory is :
CHINA
Previous NLS_LANG Environment Variable was :
AMERICAN_CHINA.ZHS16GBK
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
AMERICAN_CHINA.ZHS16GBK
'.,'
Enter Password:
REP-3000: Internal error starting Oracle Toolkit.
Error: Couldn't find per display information
$DISPLAY variable is set correctly in Concurrent Managers environment.
Cause
XENVIRONMENT variable is not setup.
$APPL_TOP/${CONTEXT_NAME}.env does not generate it .
Solution
To implement the solution, please execute the following steps :
1. Modify $APPL_TOP/${CONTEXT_NAME}.env
add below section after
# Set XENVIRONMENT variable in a UTF8 and AL32UTF8 env
=============================================
# Set XENVIRONMENT variable in a UTF8 and AL32UTF8 env
if test "ZHS16GBK" = "ZHS16GBK"; then
XENVIRONMENT="/datavgxx/xxprd/app/xxprd/xxprdora/10.1.2/guicommon/tk/admin/Tk2Motif_ZHS16GBK.rgb"
export XENVIRONMENT
fi
=============================================
2. Add font Mapping entry in Tk2Motif.rgb file.
cd $ORACLE_HOME/guicommon/tk/admin
cp Tk2Motif.rgb Tk2Motif_ZHS16GBK.rgb
Open both the above files(Tk2Motif.rgb Tk2Motif_ZHS16GBK.rgb) and look for the line
!Tk2Motif*fontMapCs: iso8859-2=EE8ISO8859P2
Add a line below to this with ZHS16GBK entry, like below
!Tk2Motif*fontMapCs: iso8859-2=EE8ISO8859P2
Tk2Motif*fontMapCs: iso8859-1=ZHS16GBK
save file Tk2Motif_ZHS16GBK.rgb.
3. Restart the application services.
Ref doc:
Subject: REP-3000 When Character Set Is AL32UTF8 Doc ID: NOTE:729585.1
Subject: Character Sets & Conversion - Frequently Asked Questions Doc ID: NOTE:227330.1
-EOF-