IBM Support

PK90405: THE WSADMIN TOOL CANNOT RECOGNIZE PYTHON UNICODE CHARACTERS WHILE CREATING OR MODIFYING A CONFIG OBJECT.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The wsadmin tool cannot recognize the specific Python unicode
    characters while creating or modifying the config object.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V6.1                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: The wsadmin tool cannot recognize the   *
    *                      specific Python unicode characters      *
    *                      while creating or modifying a config    *
    *                      object.                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This is a globalization problem.  The wsadmin tool fails to
    create or modify a config object when the attribute
    contains the Python unicode characters such as u'aaa\u7674'.
    The following scripting exception is thrown:
    
    WASX7303I: The following options are passed to the scripting
    environment, and are available as arguments: "[server1,
    node, localhost, 1414, WBRK61_DEFAULT_QUEUE_MANAGER]"
       .
       com.ibm.ws.scripting.ScriptingException:
       java.lang.IllegalArgumentException:
    java.lang.IllegalArgumentException: WASX7122E: Expected "]"
    was not detected.
    
    The wsadmin tool fails due to Java and Jython (Python) having
    different unicode handling and the wsadmin code (Java) does
    not recognize the specific Python unicode string such as
    u'aaa\u7674 while parsing the configuration attribute.
    

Problem conclusion

  • This is not the scripting problem, but the problem has been
    worked around in wsadmin code by by adding additional
    conversion code in JythonUtilities.objectArrayToString()
    (com/ibm/ws/code/admin.scripting/src/com/ibm/ws/scripting/Jython
    Utilities.java) to convert the Python unicode chracters to
    java unicode characters while parsing the configuration
    attribute.
    
    This problem has already been fixed in V7.0.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 6.1.0.29.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK90405

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    61W

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-02

  • Closed date

    2009-07-21

  • Last modified date

    2009-12-04

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 December 2021