IBM Support

PH20869: MIGRATION FAILS WITH JAVA.LANG.NOSUCHMETHODEXCEPTION:COM.IBM.WEBSPHERE.MODELS.CONFIG.APPLICATIONSERVER.SIPCONTAINER.SIPCONTAINER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WASPostUpgrade prcess fails with following error.
    
    [1/7/20
    14:14:20:510 PST] 00000001 XMLReflection >
    throwInternalErrorException Entry
    
    java.lang.NoSuchMethodException: com.ibm.ws.migration.postupgrad
    e.Federated.ServerConfig.arePrimaryKeysEqual(com.ibm.websphere.m
    odels.config.applicationserver.sipcontainer.impl.SIPContainerImp
    l, com.ibm.websphere.models.config.applicationserver.sipcontaine
    r.impl.SIPContainerImpl)
    	at
    java.lang.Class.newNoSuchMethodException(Class.java:561)
    	at
    java.lang.Class.throwExceptionOrReturnNull(Class.java:1194)
    	at
    java.lang.Class.getMethodHelper(Class.java:1258)
    ...
    	at
    java.lang.Class.getMethod(Class.java:1186)
    	at com.ibm.ws.migrat
    ion.common.WCCMDocumentReflector.getPrimaryKeysComparisonMethod(
    WCCMDocumentReflector.java:1056)
    	at com.ibm.ws.migration.common
    .WCCMDocumentReflector.arePrimaryKeysEqualDefault(WCCMDocumentRe
    flector.java:1120)
    	at
    sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
    

Local fix

  • Edit problematic server's server.xml file from migration backup
    directory, and look for line similar to following.
    
    <components
    xmi:type="applicationserver.sipcontainer:SIPContainer"
    xmi:id="SIPContainer_1573843969391" maxAppSessions="120000"
    maxMessageRate="5000" maxDispatchQueueSize="3200"
    maxResponseTime="0" statAveragePeriod="1000"
    statUpdateRange="10000">
    
    The, add in `name=""`, for
    example,
    
    <components
    xmi:type="applicationserver.sipcontainer:SIPContainer"
    xmi:id="SIPContainer_1573843969391" name=""
    maxAppSessions="120000" maxMessageRate="5000"
    maxDispatchQueueSize="3200" maxResponseTime="0"
    statAveragePeriod="1000" statUpdateRange="10000">
    
    Once the
    file saved, re-run WASPostUpgrade script again.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Configuration Migration Tools        *
    ****************************************************************
    * PROBLEM DESCRIPTION: NoSuchMethodException                   *
    *                      arePrimaryKeysEqual(SIPContainer,       *
    *                      SIPContainer) when migrating a          *
    *                      federated node                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Migration compares elements in the old and new configuration
    to determine which elements to overwrite and which to insert
    into the new config. If a specific method to do this does not
    exist in migration, it will attempt to check the name
    attribute on the element. However, if that attribute is
    missing, the default comparison will not work and the
    NoSuchMethodException will be thrown. If the name attribute
    has been removed from the SIPContainer element in server.xml
    for any server in the node, this problem will occur.
    

Problem conclusion

  • Migration was adjusted to provide a specific method to compare
    SIPContainer elements in server.xml.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.17 and 9.0.5.3.  For more information, see 'Recommended
    Updates for WebSphere Application Server':
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • Add in a name attribute with a blank value &#180;name=""&#180; to the
    SIPContainer attribute in server.xml.
    

Comments

APAR Information

  • APAR number

    PH20869

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-01-09

  • Closed date

    2020-01-23

  • Last modified date

    2020-01-23

  • 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

  • R850 PSY

       UP

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

Document Information

Modified date:
02 November 2021