IBM Support

PK90364: DYNACACHE: REPLICATION TYPE SET INCORRECTLY WHEN USING CACHEINSTANCES.PROPERTIES FILE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When utilizing the cacheinstances.properties file to configure
    Dynacache, the replication type for DistributedMap objects is
    not set correctly thus preventing use of Dynacache.  You might
    see an exception similar to the following:
    
    CacheInstance E   DYNA1003E: WebSphere Dynamic Cache instance
    named services/cache/instance_1 can not be initialized because
    of error
    java.lang.IllegalArgumentException: sharingPolicy:-1
     at
    com.ibm.ws.cache.util.ValidateUtility.sharingPolicy(ValidateUtil
    ity.java:23)
     at
    com.ibm.ws.cache.DistributedObjectCacheAdapter.setSharingPolicy(
    DistributedObjectCacheAdapter.java:213)
     at
    com.ibm.ws.cache.DistributedObjectCacheAdapter.<init>(Distribute
    dObjectCacheAdapter.java:139)
     at
    com.ibm.ws.cache.DistributedMapImpl.<init>(DistributedMapImpl.ja
    va:46)
     at
    com.ibm.ws.cache.CacheServiceImpl.createDistributedObjectCache(C
    acheServiceImpl.java:728)
     at
    com.ibm.ws.cache.CacheServiceImpl.createCacheInstance(CacheServi
    ceImpl.java:574)
     at
    com.ibm.ws.cache.CacheInstanceResourceBinder.getObjectInstance(C
    acheInstanceResourceBinder.java:168)
     at
    javax.naming.spi.NamingManager.getObjectInstance(NamingManager.j
    ava:316)
     at
    com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupE
    xt(Helpers.java:896)
    
    <...etc>
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server version 6.0.2 specifying the         *
    *                  sharingPolicy attribute in the              *
    *                  cachespec.xml.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: The WebSphere Application Server        *
    *                      Information Center documents valid      *
    *                      values for sharingPolicy as: 1 Not      *
    *                      shared,   2 Push, 4 Push and pull.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The valid values on WebSphere Application Server 6.0.2 for
    sharingPolicy are:
    0  Not shared
    1  Push
    3  Push and pull
    

Problem conclusion

  • To make the sharingPolicy consistent on version 6.0.2, a JVM
    custom property is being introduced.  When
    com.ibm.ws.cache.CacheConfig.use61ReplicationTypeCompatibility
    is defined on version 6.0.2 the sharingPolicy will be
    interpreted as defined in the Information Center and like
    version 6.1 and later.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 6.0.2.39.  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

    PK90364

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    60W

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-01

  • Closed date

    2009-07-15

  • Last modified date

    2009-07-28

  • 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

  • R60A PSY

       UP

  • R60H PSY

       UP

  • R60I PSY

       UP

  • R60P PSY

       UP

  • R60S PSY

       UP

  • R60W PSY

       UP

  • R60Z PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 October 2021