IBM Support

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

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

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 ´name=""´ 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"}, "Product":{"code":"SSCVS22","label":"General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Edition":""}]

Document Information

Modified date:
23 January 2020