IBM Support

PI37874: A WEB SERVICE THREAD HOLDING A SYNCHRONIZATION LOCK MAY HANG DUR ING APPLICATION DEPLOYMENT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • During web service application deployment some threads might
    hang because the web service cache file is inconsistent
    unexpectedly. The Java callstack of the hanging thread might
    be as follows:
    3XMTHREADINFO3           Java callstack:
    4XESTACKTRACE                at sun/misc/Unsafe.park(Native
    Method)
    4XESTACKTRACE                at
    java/util/concurrent/locks/LockSupport.park(LockSupport.java:182
    (Compiled Code))
    4XESTACKTRACE                at
    java/util/concurrent/locks/AbstractQueuedSynchronizer.parkAndChe
    ckInterrupt(AbstractQueuedSynchronizer.java:822(Compiled Code))
    4XESTACKTRACE                at
    java/util/concurrent/locks/AbstractQueuedSynchronizer.acquireQue
    ued(AbstractQueuedSynchronizer.java:853(Compiled Code))
    4XESTACKTRACE                at
    java/util/concurrent/locks/AbstractQueuedSynchronizer.acquire(Ab
    stractQueuedSynchronizer.java:1189(Compiled Code))
    4XESTACKTRACE                at
    java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock.lock
    (ReentrantReadWriteLock.java:907(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/ws/webservices/shared/cache/WebServicesModuleCacheImpl.s
    ave(WebServicesModuleCacheImpl.java:420)
    4XESTACKTRACE                at
    com/ibm/ws/websvcs/deploy/WSCacheWriter.writeModuleCache(WSCache
    Writer.java:592)
    5XESTACKTRACE                   (entered
    lock:java/lang/String@0x00000007044A2138, entry count: 1)
    4XESTACKTRACE                at
    com/ibm/ws/websvcs/deploy/WSCacheWriter.writeApplicationCache(WS
    CacheWriter.java:242(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/ws/websvcs/deploy/WSCacheWriter.writeApplicationCache(WS
    CacheWriter.java:167)
    4XESTACKTRACE                at
    com/ibm/ws/websvcs/deploy/PersistentStorageInstallSaveTask.perfo
    rmTask(PersistentStorageInstallSaveTask.java:196)
    4XESTACKTRACE                at
    com/ibm/ws/management/application/sync/AppBinaryProcessor$Expand
    App.expand(AppBinaryProcessor.java:1709(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/ws/management/application/sync/AppBinaryProcessor$AppBin
    Thread.run(AppBinaryProcessor.java:1214(Compiled Code))
    4XESTACKTRACE                at
    java/lang/Thread.run(Thread.java:784(Compiled Code))
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users of   *
    *                  JAX-WS web service applications             *
    ****************************************************************
    * PROBLEM DESCRIPTION: There might be a few threads hanging    *
    *                      after deploying some JAX-WS web         *
    *                      service applications.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    There is a web service cache file storing the information of
    all installed web service applications. When mutiple threads
    operate on the same web service cache file, the
    synchronization mechanism might lead to cache file
    inconsistency, which finally results in the threads hanging.
    

Problem conclusion

  • The synchronization mechanism is changed so as to be
    recoverable even if the cache file is unexpectedly
    inconsistent.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 7.0.0.39, 8.0.0.11 and 8.5.5.6.  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

    PI37874

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-03-27

  • Closed date

    2015-05-12

  • Last modified date

    2015-05-12

  • 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

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 7.0

Reference #: PI37874

Modified date: 12 May 2015