IBM Support

PM64119: Validating a JavaServer Faces version 2 project is slow

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to validate Java Server Faces 2 projects result in slow
    times for two validators, called:
    JSFNonELAttributeValueValidator and FaceletHTMLValidator
    
    Problem:
    
    1. Validate a project that uses Java Server Faces 2 and that
    contains a large number of .jar files and Faces Managed Beans.
    2. Take validation traces according to this technote:
    http://www-01.ibm.com/support/docview.wss?uid=swg21416260
    
    Results:
    
    Two validators, 'JSFNonELAttributeValueValidator' and
    'FaceletHTMLValidator' appear to be consuming large CPU times.
    
    This issue was reported as:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=377405
    
    Local fix:
    
    Disable validation during build, and leave validation in manual
    mode, with these steps:
    
    1. Open Windows?Preferences?Validation
    2. Deselect:
    Facelet HTML Validator
    (org.eclipse.jst.jsf.facelet.ui.FaceletHTMLValidator)
    JSF View Validator
    (org.eclipse.jst.jsf.ui.JSFNonELAttributeValueValidator)
    under the Build column, and leave them selected under the Manual
    column.
    
    This ensures that the Validators do not run every time the
    projects are built, but they do run if you right-click on the
    project and select: Validate.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Attempts to validate Java Server Faces v2 projects result in
    slow times for two validators, called:
    JSFNonELAttributeValueValidator and FaceletHTMLValidator
    

Problem conclusion

  • The JSFNonELAttributeValueValidator and FaceletHTMLValidator
    have been improved to reduce execution time.
    
    The fix for this APAR is included in Rational Application
    Developer v8.0.4.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM64119

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-08

  • Closed date

    2012-12-15

  • Last modified date

    2012-12-15

  • 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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R804 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 December 2012