IBM Support

PK62445: Integrated Solutions Console navigation tree caused an illegalstateexception when war file is deployed.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Deploying a war file, it will add an entry in the Integrated
    Solutions Console navigation tree. After deployment when
    an entry is selected, portlet rendered as expected.
    IllegalStateException occurs when selected by any link with in
    the portlet.
    

Local fix

  • 1. Add javax.protlet to import-package in manifest.mf.
    2. Run osgiCfgIni.bat in <ewas-root>/bin
    
    This will enables WebSphere Application Server to pick up
    mainfest.mf changes at runtime.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users of   *
    *                  Java Server Faces (JSF) with portlets.      *
    ****************************************************************
    * PROBLEM DESCRIPTION: An IllegalStateException is thrown      *
    *                      when JSF asks the portlet container     *
    *                      to set the character encoding of a      *
    *                      request.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The WebContainer library fails to import javax.portlet. As a
    result when JSF, which is internal to the WebContainer
    library, attempts to access javax.portlet it fails with the
    following exception:
    java.lang.IllegalStateException: This method must not be
    called after the HTTP-Body was accessed !
    at
    com.ibm.ws.portletcontainer.core.impl.PortletRequestImpl.setChar
    acterEncoding(PortletRequestImpl.java:914)
    at
    com.sun.faces.application.ViewHandlerImpl.setRequestEncoding(Vie
    wHandlerImpl.java:410)
    at
    com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandle
    rImpl.java:275)
    etc
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PK62445

  • Reported component name

    EMBEDDED WAS (E

  • Reported component ID

    AIMCWAS00

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-03-10

  • Closed date

    2008-06-16

  • Last modified date

    2008-06-16

  • 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

    EMBEDDED WAS (E

  • Fixed component ID

    AIMCWAS00

Applicable component levels

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

Document Information

Modified date:
29 December 2021