IBM Support

PM83565: INSTALLEDAPPS DID NOT GET UPDATED AFTER APPLICATION DEPLOYMENT DUE TO HTTPONLY ATTRIBUTE IN THE DEPLOYMENT.XML UNDER MIXED CELL

Fixes are available

8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer installed an application in a mixed cell environment,
    where the Deployment Manager is at WebSphere Application Server
    v8.0.0.4, and the node is at WebSphere Application Server
    v6.1.0.35.  After the application deployment, customer performed
    syncNode but the node's installedApps directory did not
    update. The following exception occurred in the nodeagent's
    SystemOut:
    
    AppSyncUtils  E CWWMA7005E: An
    unexpected exception occurred while loading resource
    cells/<cellName>/applications/<application.ear>/deployments/
    <application>/deployment.xml from the repository.
    This error causes problems in using this resource for
    application  synchronization logic.
    
    AppDataMgr    3  updateDeplData  failed:
    java.lang.NullPointerException
    
    
    The deployment.xml file also contained the following entry:
    <defaultCookieSettings xmi:id="Cookie_1350976409838"
    maximumAge="-1"
    path="/ecoa" secure="false" httpOnly="true"/>
    
    It appears that the 'HttpOnly' is an unsupported attribute in
    the deployment.xml for v61 nodes.  The xml is not being properly
    transfored to remove it prior to being sent down to the v61
    node.
    
    Environment:
    ------------
    WebSphere Application Server: version 8.0.0.4 and version
    6.1.0.35
    
    Platform: distributed
    

Local fix

  • WorkAround #1: use earExpander command after the syncNode so
    that it will expand the ear to the node's installedApps
    directory.  See the info center link for more detail on the
    EARexapander command:
    http://www14.software.ibm.com/webapp/wsbroker/redirect?version=m
    att&product=was-express-dist&topic=rxml_earexpander
    
    
    WorkAround #2: manually edit the deployment.xml file on the
    deployment manager and remove the 'HttpOnly' attribute.  For
    example:
    1. stop the deployment manager
    2. manually edit the deployment.xml file under:
    (applications\<application Name>\deployments\<application ear
    name>\deployment.xml)
    3. start the deployment manager
    4. run syncNode.sh/bat on the node
    5. start the nodeagent
    
    WorkAround #3:
    1. make a backup copy of the application.xsl file under the
    ..\profiles\Dmgr01\config\xforms\6.1.x
    2. edit the application.xsl file and add the following entry:
    
    <!-- Remove any 'httpOnly' attribute from the cookie
    configuration.  This was not supported pre-V8. --><xsl:template
    match="appdeployment:Deployment/deployedObject/modules/configs/s
    essionManagement/defaultCookieSettings/@httpOnly"/>
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Version 8  *
    *                  and 8.5 users with applications in a mixed  *
    *                  cell environment                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: In a mixed cell environment,            *
    *                      application deployment fails to         *
    *                      update the installedApps directory      *
    *                      due to unsupported attribute            *
    *                      "httpOnly" in the deployment.xml for    *
    *                      WebSphere Application Server Version    *
    *                      6.1 or 7.0 nodes.                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When Deployment Manager is at WebSphere Application Server
    Version 8 and the node is at WebSphere Application Server
    Version 6.1 or 7.0, the application deployment may not able
    to update the installedApps directory of the node. An
    exception stack similar to this might be logged:
    ADMU0016I: Synchronizing configuration between node and cell.
    org.eclipse.emf.ecore.resource.Resource
    $IOWrappedException: Feature 'httpOnly' not found.
    (file:///usr/WebSphere/AppServer/profiles/wsfpp1/bin/deployment.
    xml, 6, 123)
    at
    org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadI
    mpl.java:80)
    at
    org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java
    :189)
    at
    org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourc
    eImpl.java:179)
    

Problem conclusion

  • Changes were made to the System Management to provide a
    deployment transform to WebSphere Application Server Version
    6.1 or 7.0 nodes when Deployment Manager is at WebSphere
    Application Server Version 8 or 8.5.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.7 and 8.5.5.1.  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

    PM83565

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-25

  • Closed date

    2013-04-30

  • Last modified date

    2013-04-30

  • 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

  • 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:
27 April 2022