IBM Support

PI27835: INCORRECT VALIDATION OF MULTIPARTCONFIG ANNOTATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Validation on MultipartConfig annotations incorrectly requires
    that the target class be typed as an HttpServlet. The target
    class is only required to be typed as a Servlet. The following
    error is generated during the deployment of the application:
    
    [10/15/14 11:36:59:431 EDT] 0000002d annotations   E
    CWWAM0003E: An exception occurred while validating an
    annotation: com.ibm.wsspi.amm.validate.ValidationException:
    SRVE8016E: The @MultipartConfig annotation can not be applied
    to the class, javax.faces.webapp.FacesServlet, because it
    extends the wrong super class
    com.ibm.wsspi.amm.validate.ValidationException: SRVE8016E: The
    @MultipartConfig annotation can not be applied to the class,
    javax.faces.webapp.FacesServlet, because it extends the wrong
    super class
    at
    com.ibm.ws.webcontainer.annotation.validator.MultipartConfigVali
    dator.validateClassAnnotation(MultipartConfigValidator.java:44)
    at
    com.ibm.ws.webcontainer.annotation.validator.MultipartConfigVali
    dator.validateClassAnnotation(MultipartConfigValidator.java:39)
    at
    com.ibm.ws.webcontainer.annotation.validator.MultipartConfigVali
    dator.validate(MultipartConfigValidator.java:35)
    at
    com.ibm.wsspi.amm.merge.AbstractMergeAction.mergeClassTargets(Ab
    stractMergeAction.java:353)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Full       *
    *                  Profile versions 8.0 and 8.5.5 users        *
    ****************************************************************
    * PROBLEM DESCRIPTION: Validation on MultipartConfig           *
    *                      annotations incorrectly requires that   *
    *                      the target class be typed as a          *
    *                      javax.servlet.http.HttpServlet.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Validation on MultipartConfig annotations incorrectly requires
    that the target class be typed as a
    javax.servlet.http.HttpServlet. However, the target class is
    only required to be typed as a class that implements the
    javax.servlet interface. In the case in which the target class
    is not typed as an HttpServlet a ValidationException error
    such as the following is thrown:
    [10/15/14 11:36:59:431 EDT] 0000002d annotations   E
    CWWAM0003E: An exception occurred while validating an
    annotation: com.ibm.wsspi.amm.validate.ValidationException:
    SRVE8016E: The @MultipartConfig annotation can not be applied
    to the class, javax.faces.webapp.FacesServlet, because it
    extends the wrong super class
    

Problem conclusion

  • The WebContainer has been modified to allow validation on all
    javax.servlet types.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpacks 8.0.0.11 and 8.5.5.6. 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

    PI27835

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-10-16

  • Closed date

    2015-02-12

  • Last modified date

    2015-02-12

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

  • R850 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":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022