IBM Support

IO08457: SETTING THE LANGUAGE CODE ON JAVA BEANS DEPENDS ONLY ON THE DEFAULT LOCALE SETTINGS IN THE JVM OF THE WAS.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • Setting the language code on java beans depends only on the
    default locale settings in the JVM of the Websphere
    Application Server.
    It is possible to set a language code on the beans by using
    the CMBConnection.setLanguageCode API. Setting the language code
    with this API, beans are able to use a locale that is
    appropriate for that language code in the collator to support
    multilingual usage.

Local fix

  • N/A Customers can set the JVM arguments in the eClient
    application server to customize the default locale and therefore
    the default sorting order.

    Go to the WebSphere Application


    Server Administrative Console, and navigate to:

    Servers->Application Servers->eClientServerName->Process
    Definition->Java Virtual Machine

    Under Java Virtual Machine, find the field labeled "Generic JVM
    arguments".
    In this field, add the arguments:
    -Duser.language=<two-letter language code>
    -Duser.country=<two-letter country code>
    For example, to ensure the default JVM is in US English, you
    would specify:
    -Duser.language=en -Duser.country=US

    After setting the JVM arguments,stop and restart the eClient
    application server.
    The sorting should now be done in accordance with the locale
    specified in the JVM arguments.

Problem summary

  • The sorting is done by DB2, which is tied to the collation rules
    of the current JVM. DB2's sorting order cannot be customized
    programmatically.

Problem conclusion

  • Given the current design of the application and APIs, this
    problem cannot be fixed. A technote describing a workaround to
    customize the language settings for the eClient JVM will be
    published, enabling customers to have some control over the
    sorting.

Temporary fix

Comments

APAR Information

  • APAR number

    IO08457

  • Reported component name

    BEANS

  • Reported component ID

    5724B43B1

  • Reported release

    830

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-02-14

  • Closed date

    2008-08-13

  • Last modified date

    2008-08-13

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCTVDL","label":"Db2 Information Integrator for Content"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"830","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
13 August 2008