IBM Support

IY98193: ICU FAILS TO OPEN DEFAULT CONVERTER WHEN CODEPAGE IS LATVIAN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Approver : BEH
    
    //APPL Payord @Applications on the PAYORD machine
    *
    //NAME C2D3KFlag P 65   @Checking of C2D3K (Kondor Ticket
    Importer)
    flag-file update
    //SOURCE FILE C:\C2D3K\iamalive.tmp TAIL Locale=en_US
    Codepage=US-ASCII
    //SUMMARY 60 Force
    //ATTRIBUTES
    FileContent     R 25 SKEY=1 @Content of the monitored file
    
    This metafile is intended for monitoring for application that
    every several seconds updates file-flag "imalive.tmp" (it
    re-writes this file with the text containing the current
    timestamp: "#2007-02-23 15:04: 17#"). We interested in
    situations when application hangs (and stops to update this
    file), so we use "//SUMMARY" directive and check "Occurences"
    attribute for non-ZERO value.
    This did work OK, but we was needed to modify Regional Options
    on this machine. After that the appropriate UA application
    stopped to work, and the following messages have been appeared
    in its log file:
    (45DECF80.0006-3FC:kum0nget.c,295,"KUM0_Fgets") Error: Unable to
    convert string from windows-775 to UTF-8. NLS2 Error: 37
    (45DECF82.0000-3FC:kumpfile.c,2561,"KUMP_FileServer") File C:
    \C2D3K\iamalive.tmp switched or re-creation detected. Restarting
    file
    monitoring from the beginning of the file.
    (45DECF82.0001-3B8:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ")
    Could not open converter for subtext <C:\C2D3K\iamalive.tmp>,
    error <U_FILE_ACCESS_ERROR>
    (45DECF82.0002-3B8:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ")
    Could not open converter for subtext <?>, error
    <U_FILE_ACCESS_ERROR
    [...]
    (45DECF82.0005-3B8:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could not open converter for subtext <?>, error
    <U_FILE_ACCESS_ERROR> This set of messages repeated many times
    (on each update of iamalive.
    tmp file), so this log file grows very quickly.
    After adding "Locale=en_US Codepage=US-ASCII" parametes to
    //SOURCE
    statement of metafile the UA application started to work again
    and
    "Error: Unable to convert string..." message disappeared from
    log;
    however, other messages ("Could not open converter for
    subtext...")
    still continue to appear.
    It seems that problem exists with File DP only because Script DP
    on the same machine works OK without any modifications.
    What is the reason of this messages? What can we do to avoid
    them? Is it possible to avoid also the message "File
    C:\C2D3K\iamalive.tmp switched or re-creation detected"?
    
    
    As I wrote during PMR opening, this is a short text file that
    contains the current timestamp in the following format:
    
    #2007-03-02 15:41:10#
    
    It contains just one string (ending with CR-LF), total file
    length is 23 bytes. It could not contain 100 lines because
    every time this file is entirely re-written (it always contains
    just one line).
    
    As you can see from the example above, the iamalive.tmp file
    contains only ASCII text characters (digits, space, hash, dash
    and colon). It doesn't contain any letters - neither English
    nor non-English (Russian or Latvian).
    
    As I wrote in the my initial message, the initial (working)
    configuration was the Windows 2000 Professional system with the
    system default locale (in Regional Options) set to "Russian".
    In this configuration the following metafile worked OK:
    
    **** cut here ****
    //APPL Payord @Applications on the PAYORD machine
    *
    //NAME C2D3KFlag P 65        @Checking of C2D3K (Kondor Ticket
    Importer)
    flag-file update
    //SOURCE FILE C:\C2D3K\iamalive.tmp TAIL
    //SUMMARY 60 Force
    //ATTRIBUTES
    FileContent        R 25 SKEY=1 @Content of the monitored file
    **** cut here ****
    
    The only side effect was that every file update added the to the
    log file the new line of the following type:
    
    (45DEDA1E.0000-400:kumpfile.c,2561,"KUMP_FileServer") File
    C:\C2D3K\iamalive.tmp switched or re-creation detected.
    Restarting file monitoring from the beginning of the file.
    
    After changing system default locale from "Russian" to "Latvian"
    this application stopped to work. The log file contained a lot
    of lines of the following type:
    
    ---- cut here ----
    (45DECF80.0000-3FC:kumpfile.c,2561,"KUMP_FileServer") File
    C:\C2D3K\iamalive.tmp switched or re-creation detected.
    Restarting file
    monitoring from the beginning of the file.
    (45DECF80.0001-3B8:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could
    not open converter for subtext
    <\\payord-new\C$\C2D3K\iamalive.tmp>,
    error <U_FILE_ACCESS_ERROR>
    (45DECF80.0002-3B8:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could
    not open converter for subtext <?>, error <U_FILE_ACCESS_ERROR>
    (45DECF80.0003-3B8:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could
    not open converter for subtext <?>, error <U_FILE_ACCESS_ERROR>
    (45DECF80.0004-3B8:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could
    not open converter for subtext <?>, error <U_FILE_ACCESS_ERROR>
    (45DECF80.0005-3B8:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could
    not open converter for subtext <?>, error <U_FILE_ACCESS_ERROR>
    (45DECF80.0006-3FC:kum0nget.c,295,"KUM0_Fgets") Error: Unable to
    convert
    string from windows-775 to UTF-8. NLS2 Error: 37
    ---- cut here ----
    
    We had found in documentation info about CODEPAGE and LOCALE
    parameters (kindly quoted by you). After adding these
    parameters to
    
    //SOURCE
    
    statement our metafile becomes the following look:
    
    **** cut here ****
    //APPL Payord @Applications on the PAYORD machine
    *
    //NAME C2D3KFlag P 65        @Checking of C2D3K (Kondor Ticket
    Importer)
    flag-file update
    //SOURCE FILE C:\C2D3K\iamalive.tmp TAIL Locale=en_US
    Codepage=US-ASCII
    //SUMMARY 60 Force
    //ATTRIBUTES
    FileContent        R 25 SKEY=1 @Content of the monitored file
    **** cut here ****
    
    After that the UA application started to work; however, the log
    file
    continue to add the following lines for every iamalive.tmp file
    update:
    ---- cut here ----
    (45DEDA1E.0000-400:kumpfile.c,2561,"KUMP_FileServer") File
    C:\C2D3K\iamalive.tmp switched or re-creation detected.
    Restarting file monitoring from the beginning of the file.
    (45DEDA1E.0001-3C4:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could not open converter for subtext
    <\\payord-new\C$\C2D3K\iamalive.tmp>,
    error <U_FILE_ACCESS_ERROR>
    (45DEDA1E.0002-3C4:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could
    not open converter for subtext <?>, error <U_FILE_ACCESS_ERROR>
    (45DEDA1E.0003-3C4:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could
    not open converter for subtext <?>, error <U_FILE_ACCESS_ERROR>
    (45DEDA1E.0004-3C4:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could
    not open converter for subtext <?>, error <U_FILE_ACCESS_ERROR>
    (45DEDA1E.0005-3C4:kum0nmsg.c,75,"KUM0_NLS2_MsgSubparmToUTF_Util
    ") Could
    not open converter for subtext <?>, error <U_FILE_ACCESS_ERROR>
    ---- cut here ----
    
    The current problem is that on every update of iamalive.tmp file
    (23 bytes) the UA adds several lines to its log file (almost 1
    kilobyte). It spams the log file and increase the load on
    system (especially on the disk subsystem).
    --
    

Local fix

Problem summary

  • Problem Description: ICU FAILS TO OPEN DEFAULT CONVERTER WHEN
    CODEPAGE IS LATVIAN
    
    Problem Summary:  The ICU ucnv_open call with a NULL converter
    (meaning, use the default converter) is failing. The
    U_FILE_ACCESS_ERROR is likely the result of an incorrect or
    unknown codepage, and shouldn't be related to the presence or
    absence of a particular resource bundle on the local system.
    
    The resulting problem is the voluminous message logging of the
    form =>
    
    "Could not open converter for subtext <?>, error
    <U_FILE_ACCESS_ERROR>"
    

Problem conclusion

  • You will now only see one instance of the "Could not open
    converter' message.  The repetition of this message has been
    suppressed.
    
    
    The fix for this APAR is contained in the following maintenance
    packages:
     | interim fix | 6.1.0.6-TIV-ITM-IF0005
     | fix pack | 6.1.0-TIV-ITM-FP0007
    

Temporary fix

Comments

APAR Information

  • APAR number

    IY98193

  • Reported component name

    UNIVERSAL AGENT

  • Reported component ID

    5724K1000

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-05-04

  • Closed date

    2008-02-29

  • Last modified date

    2008-02-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    UNIVERSAL AGENT

  • Fixed component ID

    5724K1000

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHL9","label":"Tivoli Universal Agent"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 February 2008