REP-56048 and NLS_LANG=AMERICAN_AMERICA.UTF8 in Oracle Reports (repost)

Hello All,
We're encountering REP-56048 when running any report (including a report consisting of only simple text with chinese characters, no retrieval from any database).
Before we can run the report but the chinese character cannot be displayed (displayed as inverted "?").
We then installed locales EN_US and EN_US.UTF-8. We also added export NLS_LANG=AMERICAN_AMERICA.UTF8 in .profile. This is when we encountered the REP-56048 Engine rwEng-0 crashed error.
Some things to note:
- we added Tk2Motif*fontMapCs:iso8859-1=UTF8 in Tk2Motif.rgb
- the font file MING.ttf is in $ORACLE_HOME/reports/printers which is included in the REPORTS_PATH
- in uifont.ali, we already have a mapping for the font used for chinese characters in font subset section
- we have set the DISPLAY environment variable in reports.sh, also checked that it is working
- set REPORTS_DEFAULT_DISPLAY=NO in reports.sh
- set NLS_LANG variables to AMERICAN_AMERICA.UTF8 in other config files such as opmn.xml
We have already read metalink document 285281.1(Comprehensive REP-56048 Troubleshooting and Overview Guide). And we're still getting the errors.
Any help would really be greatly appreciated.
( Sorry for the report. I was unsure where to post my problems.)

This looks like a bug. I'd suggest that you follow up with Oracle Support.
Regards,
Danny

Similar Messages

  • REP-56048 and NLS_LANG=AMERICAN_AMERICA.UTF8

    Hello All,
    We're encountering REP-56048 when running any report (including a report consisting of only simple text with chinese characters, no retrieval from any database).
    Before we can run the report but the chinese character cannot be displayed (displayed as inverted "?").
    We then installed locales EN_US and EN_US.UTF-8. We also added export NLS_LANG=AMERICAN_AMERICA.UTF8 in .profile. This is when we encountered the REP-56048 Engine rwEng-0 crashed error.
    Some things to note:
    - we added Tk2Motif*fontMapCs:iso8859-1=UTF8 in Tk2Motif.rgb
    - the font file MING.ttf is in $ORACLE_HOME/reports/printers which is included in the REPORTS_PATH
    - in uifont.ali, we already have a mapping for the font used for chinese characters in font subset section
    - we have set the DISPLAY environment variable in reports.sh, also checked that it is working
    - set REPORTS_DEFAULT_DISPLAY=NO in reports.sh
    - set NLS_LANG variables to AMERICAN_AMERICA.UTF8 in other config files such as opmn.xml
    We have already read metalink document 285281.1(Comprehensive REP-56048 Troubleshooting and Overview Guide). And we're still getting the errors.
    Any help would really be greatly appreciated.
    Alex

    We are on database version 10.2.0.3
    Solaris 5.10
    #check for character corresponding to a code point
    bash-3.00$ echo '\0351'
    \0351
    select * from nls_database_parameters
    where parameter = 'NLS_CHARACTERSET';
    PARAMETER VALUE
    NLS_CHARACTERSET AL32UTF8
    This is my shell script
    ENV=$1
    # Source oracle's profile
    . /oracle/app/oracle/.profile
    . /oracle/app/oracle/envsettings.sh $ENV
    # set environment
    NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG
    FILEDIR=/apps/prod/download/data
    WORKDIR=/oracle
    SQLDIR=/apps/prod/sql
    CTLDIR=/apps/prod/ctl
    USER=prod
    PW=${ORACLE_HOME}/.pw
    # This script creates a fixed length text file
    sqlplus ${USER} @${SQLDIR}/test.sql < $PW
    This is my SQL File test.sql
    set escape \
    set echo off
    set pagesize 0
    set newpage none
    set pause off
    set heading off
    set feedback off
    set space 0
    set term off
    set linesize 2000
    set wrap off
    set tab off
    col code format a2
    col type format a4
    col fund_long_name format a60
    col ratio format 9.99
    col amount format 9.99
    spool KAT.DAT
    select rpad(code,2) code,
    rpad(type,4) type,
    rpad(fund_long_name,60) fund_long_name,
    LPAD(to_char(nvl(ratio,'0'),'FM0.00'),4) ratio
    from test;
    exit
    ~
    $locale -a
    C
    POSIX
    en
    en_CA
    en_CA.ISO8859-1
    en_CA.UTF-8
    en_US
    en_US.ISO8859-1
    en_US.ISO8859-15
    en_US.ISO8859-15@euro
    es
    es_MX
    es_MX.ISO8859-1
    fr
    fr_CA
    fr_CA.ISO8859-1
    iso_8859_1

  • Multiple selection list and passing that value to oracle reports

    Hi
    I need to create a multiple selection list and then based on use selection, I need to pass that value to oracle reports. Can any one help with steps on how I can do this. Thanks

    Hi
    Concatenate the multiple values into a string separated by comma and then pass that string to report as a parameter.
    In report query, you have to use the lexical parameter using ' & '
    regards
    SD

  • How to show 'No Records Found' and 'Employee Name Unknown' in oracle report

    Hello,
    I'm using 6i and building a report to show employees who have incorrectly input their time. I have an input parameter so a user can select a specific employee by emp_id or can leave it empty to show all. That part works. I also have date parameters that are required. That works too. However I am having trouble displaying 'NO Records Found' if the date parameters have no late or rejected employee time records. I currently have it as a text field arranged behind the emp_name field which i filled white. It works...however i have a pretty good feeling there is a better way to do this. Also, I have some data that is null since i am using two tables. There are time stamps with no emp_name or emp_number. I still need to show these records but want them to show up as "Employee Name Unknown" that way the user doesnt get confused and thinks the emp_name in the row above also includes this row.
    select e.location "Clock Location",
    e.emp_no "Emp No",
    l.first_name ||' ' || last_name "Name",
    e.time_stamp "Time",
    from emp_time e, master_all l
    where e.emp_no (+) = l.emp_no
    and e.status = 'rejected'
    --and e.emp_no  = nvl (:p_emp_no, emp_no)
    --and e.time_stamp between :p_start_date and :p_end_date                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    So, when the join between emp_time and master_all produces no rows, you still want one row of output, saying 'No Records Found'; is that right?
    If so, you can outer-join the result set to dual, with some join condition that accepts anything.
    Use CASE (or equivalents) to get special values (like 'No Record Found' or 'Employee name unknown') when certain columns are NULL.
    For example:
    SELECT     j.location     AS "Clock Location"
    ,     j.emp_no     AS "Emp No"
    ,     CASE
              WHEN  j.name     IS NULL
              THEN  'No Records Found'
              ELSE  j.name
         END          AS "Name"
    ,     time_stamp     AS "Time"
    FROM     dual     d
    ,     (     -- Begin in-line view j, join of emp_time and master_all
              SELECT     e.location
              ,     e.emp_no
              ,     CASE
                       WHEN  l.first_name IS NULL
                       AND       last_name    IS NULL
                       THEN  'Employee name unknown'
                       ELSE  l.first_name || ' ' || last_name
                   END     AS name
              FROM      emp_time     e
              ,     master_all     l
              WHERE     e.emp_no (+)       = l.emp_no
              AND      e.status (+)       = 'rejected'
    --           AND     e.emp_no (+)        = NVL (:p_emp_no, emp_no)
    --           AND       e.time_stamp (+)  BETWEEN :p_start_date
                                             AND        :p_end_date
         ) j     -- End in-line view j, join of emp_time and master_all
    WHERE     d.dummy     != j.name (+)
    ;In an outer join, all conditions involiving the optional table need a + sign; otherwise, the effect is the same as an inner join.
    The message 'No Records Found' is a string, so it has to go in a string column.
    I put it in the "Name" column, just because I knew that "Name" was a string.
    You can put in in any other column if you wish. If that column is not already a string, then use TO_CHAR to make it a string.
    You could also have a column just for this message.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables, and also post the results you want from that data.
    DOUBLE U wrote:
    I've tried nvl in the select statement but since emp_name is a concatination of first and last name it doesnt work. This is what i have tried
    nvl(l.first_name|' '||l.last_name,'NO EMPLOYEE RECORD FOUND') "Employee",I assume you meant to have two | characters, not just one, after first_name.
    The first argument to NVL will never be NULL in that case; it will always contain at least a space, whether or not the other columns are NULL. You could say:
    NVL ( NULLIF ( l.first_name || ' ' || l.last_name
        , 'NO EMPLOYEE RECORD FOUND'
        )        "Employee",bujt I find it less confusing to use CASE, as shown above.

  • NLS_LANG : AMERICAN_AMERICA.WE8ISO8859P15 or AMERICAN_AMERICA.WE8ISO8859P1?

    Hi all,
    We have a dedicated server for data bases ( Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 on sun4u sparc SUNW,Sun-Fire-480R) and NLS_LANG= AMERICAN_AMERICA.WE8ISO8859P15 and other servers where we have different applications (one of them is SQL*Plus: Release 10.2.0.4.0 on HP-UX B.11.31 U ia64 ) and in .profile NLS_LANG is set to AMERICAN_AMERICA.WE8ISO8859P1
    SQL> select * from NLS_DATABASE_PARAMETERS ;
    NLS_LANGUAGE = AMERICAN
    NLS_TERRITORY= AMERICA
    NLS_CHARACTERSET= WE8ISO8859P15
    SQL> SELECT * FROM NLS_SESSION_PARAMETERS ;
    NLS_LANGUAGE = AMERICAN
    NLS_TERRITORY= AMERICA
    NLS_CALENDAR = GREGORIAN
    I thought that when using unix system we should set NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 so oracle will do the conversion however on the same remote server some scripts export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P15).
    My question is it correct to export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P15 on the remote server ?
    Thanks
    Taha

    Hello,
    Nothing is broken (until now, i never used them and i am not the one who wrote these scripts), however i was wondering why they (on the remote server) are using NLS_LANG = AMERICAN_AMERICA.WE8ISO8859P15 while on the same server the NLS_LANG= AMERICAN_AMERICA.WE8ISO8859P1 ( in .profile).
    These scripts where originally used with oracle client v9.2 ( and set NLS_LANG = AMERICAN_AMERICA.WE8ISO8859P15) , oracle client version was upgraded to v10.2 so i thought i should update them and faced the dilemma of NLS_LANG :?
    do you think i should leave the NLS_LANG as it is in those scripts ?
    Thanks
    Taha
    Edited by: taha on 12 mars 2012 22:37
    Edited by: taha on 13 mars 2012 09:46
    Edited by: taha on 3 mai 2012 10:43

  • Oracle Report vs JSP efficiency and Excel XML in Web Source Questions

    I have used Oracle Reports in the past 6i, but haven't used them in about 4 years. We are now using 9.0.4 reports and I am trying to generate Excel XML from an Oracle report by manipulating the web source of the report. Basically copying and pasting the Excel XML into the web source of the Oracle Report instead of html as suggested by this Metalink Doc ID 240819.1. I do have a JSP working example that generates Excel XML created in JDeveloper and successfully spawns off a very nice looking Excel spreadsheet.
    However, a statement was made here by our app sever guy that an Oracle Report is more efficient at getting data from the database than a JSP. The app sever section does not want anyone using JSPs to generate a report of any kind. I guess small web pages are OK since our java guys use them all the time. This rule for a Reports only environment seems a little restrictive to me. Is there any truth to the statement that Oracle Reports bulk collects data in one chunk as opposed to a JSP making multiple trips to the database from the middle tier?
    Secondly, if an Oracle Report is more efficient in the way that it collects large record sets from the db, and if I save an Oracle Report as a JSP not an rdf, and use the reports_tld.jar with the rw tags instead of the typical jsp jstl tags, will I still get the same improvement from using an Oracle report? I guess the improvement is in the library used correct?
    Thirdly, although not part of this forum, I also am assuming that if we have single sign on that when I call a JSP from an Oracle Form I will not have to log in again correct?
    Thanks...
    Message was edited by:
    Mark Reichman

    It could be the configuration issue. Reconfigure the engine.

  • Oracle Reports 9i and Java

    Hi all,
    I am new to Oracle 9i reports. I was just wondering if there is any good documentation/tutorial on using Oracle 9i Reports in a J2EE app? Basically, being able to integrate Oracle 9i Reports in a J2EE web application such that you can pass arguments to the underlying SQL query of the reports dynamically through your web app and then it could use Oracle 9i Reports to generate some reports.
    Any comments would be appreciated.
    Thanks,
    Payam.

    Hi:
    I have the same problem as you, and i wanna know if you resolved your problem and how did you integrated oracle reports in java. i wanna use oracle report builder tool.
    Thanks a lot

  • How to Publish a report created by Oracle report builder

    Hi Everyone
    My colleague and I were trying to use the Oracle Reports Builder to replace our existing reports generator from our ERP system. We have already created the report in the Reports Builder from the development suite.
    What we are looking for is a similar solution as the Microsoft reporting service;
    1) create the company report templates
    2) and then upload the template files to a location (e.g. folder on the server)
    3) then all user in the company can access it by a web browser with some fields which they can enter some critiria (e.g. purchase order number).
    4) then send to printer and the print out should look exactly like the template.
    Unfortunately, we had very bad time on try to find out what we need and how to publish that Oracle report we created. We spent 15 hours on that but no result.
    In that 15 hours we tried to setup the "Oracle report service", but at last my colleague said that wasnt what we looking for, the "Oracle report service" is for reporting the error from the application hosted on the server, not for publish the company report created by the "Oracle report bulider" .
    We use Oracle Database 10g for the ERP quite a long time already. We had the Oracle Developer Setup, and the Application Server Installed.
    Could someone please tell us what kind of Oracle service we are actually looking for. Any other suggestion and setup guides are also the most welcoming.
    Best Regards
    Bryan

    Hello,
    If you want to be able to execute your Reports on the web, the best solution is to use the "Oracle Application Server"
    http://www.oracle.com/technology/software/products/ias/htdocs/101202.html
    For example , the "Forms & Reports Services Standalone" edition
    Then, use the Reports Servlet to submit the execution requests to a Reports Server :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_run.htm
    Oracle® Application Server Reports Services Publishing Reports to the Web
    10g Release 2 (10.1.2)
    B14048-02
    13 Running Report Requests
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/howto/runprint/deploy_rpt.htm
    Deploying a report
    Regards

  • How to convert Oracle Report into Excel

    Hi,
    Please guide for the following:
    I am using, Report Developer 11g and I want to save Oracle report into Excel format, is it possible ?
    Regards,
    Thanks.

    There is a Reports manual you know!
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/pbr_cla005.htm#i636884

  • Howto Register &  Execute Custom Oracle Reports in R11I ( 11.5.9 )

    Hii guys
    How do i register execute and view output of Custom Oracle Reports in R11i ( 11.5.9 ) .I have developed custom reports for HR and Payroll in Report Builder 6i.
    Is their a step by step tutorial ??
    What to do next ??
    Can somebody please guide me.
    Regards
    Fahad
    Consultant
    IBM Global , Pakistan

    Hello
    Thanks for the link.
    However i'm unable to see my report output.
    I did the following steps
    1.Uploaded my Report file in
    /vision/d01/oracle/visappl/per/11.5.0/reports/US/
    Since we are doing it for Oracle HR module
    2.I used the executable tab as outlined in the report
    3.I then used the define tab to register report.
    In step 2 and 3 i specified Oracle Human Resources in applications field.
    Now when i try to submit the request for my report FHSAMPLE i can find it in the list.
    Any ideas??
    Regards
    Fahad

  • Dependent parameters in oracle report builder

    1)in user parameter property we have list of values.can we write select query for binding? for example:: select empno from emp where deptno=:deptnum :deptnum is first parameter it displays distinct dept nos. if i do like this it is giving error:: bind variables are not allowed in the select statement
    2)HI in report builder am creating paramters.for that i have taken emp table from scott user . in deptnum am displaying distinct deptno.if i select dept 10 ,empnum drop down should display empno's of deptno 10. .if i select dept 20 ,empnum drop down should display empno's of deptno 20.for this wat i have to do.
    3)in reports 1og.if we enter a query in list of values then parameter form displays a dropdown.in that if any ething is selected then that will display in the report.supp if i am not selected any value then it should display all the values.how it is possible?can any one help me........
    4)in user parameter property we have list of values.can we write select query for binding? for example:: select empno from emp where deptno=:deptnum :deptnum is first parameter it displays distinct dept nos. if i do like this it is giving error:: bind variables are not allowed in the select statement
    5)how to use buttons,check boxes in paper layout,paper design and paper parameter form in oracle report developer 10g 0 5
    HI in report builder am creating paramters.for that i have taken emp table from scott user . in deptnum am displaying distinct deptno.if i select dept 10 ,empnum drop down should display empno's of deptno 10. .if i select dept 20 ,empnum drop down should display empno's of deptno 20.for this wat i have to do.

    What I had to do is create a query using query builder. This works fine; it's when trying to add the column to an existing query is where the data inconstancy error occurs. One thing you have to keep in mind is it will only work using the query builder in conjunction with the report wizard; I am not sure why. To incorporate the comments into an existing frame you will have to cut the frame created by the wizards and copy it into the existing frame. Otherwise the column name will not show in the source list of the property Inspector.
    Good Luck

  • Showing Oracle reports in current web application with JBOSS as AS

    hi:
    I have installed the Oracle AS(10g 10.1.2.0.2) and the reports services... I have also installed the Stand Alone J2EE Thin Client (http://www.oracle.com/technology/products/reports/htdocs/getstart/examples/Tools/index.html)
    My current web project uses JBoss and I have to show oracle reports keeping the current environment.
    I have followed the steps provided on the doc mentioned in the above link.
    first i did the following steps ( please refer to the text of that readme doc below)
    (//text of readme doc, I have done these steps
    1. Deploy THINCLIENT_HOME/reports/j2ee/reports.ear on the J2EE application server.
    2. Add the following JAR files to the classpath of the J2EE application server:
    * THINCLIENT_HOME/reports/jlib/rwrun.jar
    * THINCLIENT_HOME/jlib/zrclient.jar
    3. Use THINCLIENT_HOME/vbroker4/lib/vbjboot.jar while starting the application server.
    but i cannot understand what is written just next to the above llines in that doc I am pasting those points from that doc
    (text of readme doc:
    The following section provides detailed instructions on carrying out the above 3 configuration steps with OC4J Standalone Distribution 10g (9.0.4). You need to consult your J2EE application server's documentation to carry out the same steps for your application server.
    1. Add the following to OC4J_HOME/j2ee/home/config/server.xml
    <application name="reports" path="<THINCLIENT_HOME>/reports/j2ee/reports.ear" auto-start="true" />
    2. Add the following to OC4J_HOME/j2ee/home/config/http-web-site.xml
    <web-app application="reports" name="web" root="/reports"/>
    3. Add the following to OC4J_HOME/j2ee/home/config/application.xml
    <library path="<THINCLIENT_HOME>/reports/jlib/rwrun.jar"/>
    <library path="<THINCLIENT_HOME>/jlib/zrclient.jar"/>
    according to what i understood i went to OC4J which is under my Oracle_Infra directory and then completed the above steps
    after that I ran the command (according to this doc):
    java -Xbootclasspath/p:<THINCLIENT_HOME>/vbroker4/lib/vbjboot.jar -jar oc4j.jar
    the result of this command is following
    06/02/09 14:57:37 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    and then it never comes back to command prompt
    Now after all these steps...i don't understand what to do next and my problem is still there which is How to deploy reports made by oracle reports from my web project links
    please help
    Waqas

    If the links in your example report1 and report2
    follow my format stated earlier
    http://machine:port/reports/rwservlet/report=reportnam
    e.rdf&destype=cache& paramform=htmlcss&server=<YourReportSe
    rverName>&userid=scott/tiger@hrdb&desformat=pdf
    This is what I believe
    >
    so http://machine:port/ is the port where
    JBoss is running and
    This should be the port that the report server is listening on
    >
    server=<YourReportServerName> is the name of
    my oracle report server
    so I call the above link in my current application
    and the report would show up
    Yes
    >
    that means (correct me if I am wrong) that my reports
    would have to be deployed in OracleAS
    Yes
    >
    I have to try all this yet as till this point I was
    trying to run Oracle reports deployed in JBoss...
    This may be possible, I am not sure.
    >
    Oracle J2EE Thin Client?
    I am not sure what this is used for in your setup.

  • Oracle reports developer

    hi,
    i am using jdevstudio10132 and i want to use oracle Reports developer but i didn't find it.
    can any one help me

    Hi,
    the Reports Developer is only available in the Developer Suite release, not in the JDeveloper stand-alone version
    Frank

  • How to execute oracle reports file from jsp using WL as an app server

    I plan to use jsp to accept IN parameters and later want to execute oracle
              report execute stored in some directory and provide results back to the
              client browser window. Is this possible in JSP + WL? If yes, can you
              provide some tips on the code?
              Thanks.
              

    Try
    sqlplus "sys/oracletest as sysdba" @bpk.sql
    Working locally, and having set the ORACLE_SID, you don't need to specify the SqlNet alias (@testdb).
    Remember to put an exit at the end of the bpk.sql script.

  • Capturing Oracle Reports using Designer

    How do we capture Oracle reports using Designer?
    We are planning to do dependency analysis and there are lots of Oracle reports and procedures / packages. We want to capture all the Oracle reports and database objects / procedures on which we can do dependency analysis / impact analysis due to any database object changes.

    You can read "Capturing applications into the repository" topic in the on/line help.

Maybe you are looking for

  • Bridge CS6 crashes when I apply metadata

    Similar problem to this: http://forums.adobe.com/message/5025995 The problem started suddenly last week. If I try to apply metadata or keywords to an image, Bridge closes. Sometimes I can apply one or two keywords before this happens, but not many an

  • My iPhone 4 is in recovery mode...Someone please help!

    I plugged my iPhone into to my computer to sync it and next thing you know it went to a black screen and when I tried to turn it back on, it tells me to connect to itunes.  When I tried to connect to itunes it tells me to restore and update it.  Even

  • FILE sender, error mapping

    Hello, I've FILE to RFC interface. Input file is xml (NFS) <fichero>    <field1>    <field9> This file don't contain the <ns0:FICHERO xmlns:ns0="http://Pedidos"> and runtime the error RuntimeException in Message-Mapping transformatio~ occurs, Is it n

  • Track pad behaves erratically

    trackpad moves on its own plug in a usb mouse it acts worse reset pram smc nothing  help

  • Code for Copy to Button in Addon

    C code foe copy to Button Button in Addon