IBM Support

IC87801: Clicking Edit Connection Settings when sizes.properties is corrupt gets HTTP 500 javax.faces.el.EvaluationException

 

APAR status

  • Closed as fixed if next.

Error description

  • Trying to configure update manager settings, e.g. by going to
    Acquire Updates in the IBM Systems Director Web console, then
    pressing the Edit Connection Settings button, should display
    configuration tabs.  Instead, it may display an HTTP 500 error
    similar to this:
    
    Error 500: javax.faces.el.EvaluationException:
    javax.faces.FacesException: javax.faces.FacesException: Can't
    instantiate class:
    'com.ibm.usmi.console.updates.settings.SettingsPropertiesHandler
    '.. class java.lang.NumberFormatException: For input string: ""
    
    where the value following "input string" is the first invalid
    value in the sizes.properties file.
    
    In addition, when this error occurs, the error-log-#.html will
    contain the following message, with the same value for "input
    string" as in the message displayed on the browser:
    
    SEVERE Can't instantiate class:
    'com.ibm.usmi.console.updates.settings.SettingsPropertiesHandler
    '.. class java.lang.NumberFormatException: For input string: ""
    ::class.method=com.sun.faces.application.ApplicationAssociate.cr
    eateAndMaybeStoreManagedBeans() ::thread=HttpServer : 9011
    ::loggername=com.ibm.ws.jsf
    
    Impact:
    
    The settings cannot be accessed.
    

Local fix

  • There is no usage change that will avoid this issue.
    

Problem summary

  • This occurs whenever the updates size cache
    (/opt/ibm/director/data/updateslib/cache/sizes.properties)
    contains anything other than a whole number as the value of any
    property (this can include blanks following the number).
    
    After this fix is applied, corrupted update size cache will be
    reported with the message:
    
    ATKUPD206E: An error occurred while attempting to retrieve
    resources from the database. If the problem persists, check the
    error log for more details.
    
    and the Settings page will display starting at the Location tab.
    The user may select any of the other tabs, such as the
    Connection tab, if desired.
    
    Fix details:
    UpdateSizeCacheUtility.getTotalSize() is documented to throw
    UpdateServiceException on I/O errors, but when the data was
    non-numeric, it threw the unchecked NumberFormatException.
    
    Fix will throw the NumberFormatException wrapped in an
    UpdateServiceException.
    
    Platforms:
    All platforms.
    
    Versions:
    Director Server 6.3.x
    

Problem conclusion

Temporary fix

  • Go to the <install_dir>/data/updateslib/cache directory (e.g.
    /opt/ibm/director/data/updateslib/cache in a default Linux
    install), and delete the sizes.properties file.  IBM Systems
    Director will automatically recreate the file when needed.
    
    Please contact IBM Support and reference this APAR for further
    options.
    

Comments

APAR Information

  • APAR number

    IC87801

  • Reported component name

    IBM DIR SVR AIX

  • Reported component ID

    5765DRPAS

  • Reported release

    631

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-02

  • Closed date

    2012-11-16

  • Last modified date

    2013-01-30

  • 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

  • R630 PSY

       UP

  • R631 PSY

       UP

  • R632 PSY

       UP

Document information

More support for: IBM Systems Director Enterprise Edition for Power

Software version: 631

Reference #: IC87801

Modified date: 30 January 2013


Translate this page: