Action "Activate Changes" (through weblogic console/WLST) Takes a Very Long Time (Doc ID 1262125.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 9.2 and later
Information in this document applies to any platform.
***Checked for relevance on 6-Nov-2012***

Symptoms

The following observations have been made by running a test case on different configurations. The domain was spread across two physical machines - Machine1 and Machine2 that have shared file system based on VCFS (Veritas Cluster File System).

WebLogic Server uses the file locking mechanism to synchronize the configuration update (for example: during deployment).

Sun jdk 1.5.0_18 in action:

  1. The issue has been reproduced using the test case on Machine1 and Machine2 using VCFS 5.1 + solaris10 + jdk 1.5.0_18.
    • Weblogic Server process on Machine1 acquires a lock.
    • When another Weblogic Server process on Machine2 tries to acquire the lock, it receives an IO Exception for the first access attempt and then on subsequent access attempts a series of Overlapping Exceptions on Machine2 are encountered till five minutes. After the five minute timeout lock is obtained.
  2. The same test case when run using Machine1 and Machine2 using NFS + solaris10 + jdk 1.5.0_18 does not produce the issue. There was no overlapping exception on Machine2, and further when Machine1 released the lock, Machine2 was able to acquire the same lock without any delay.
  3. The same test case when run on VCFS 4.1 and Solaris9 + jdk 1.5.0_18 does not cause any issue (and this is consistent with WLS 9.2.3 with jdk 1.5.0_18 behavior in same setup).

Sun JDK 1.5.0_u26 in action:

  1. When this test case runs using Sun JDK 1.5.0_u26 on Machine1 and Machine2 using VCFS 5.1 + solaris10, it does not reproduce the issue. The test case behaves similarly except that Machine2 (i.e., the node that tries to acquire the already locked file) receives an exception as:
    No overlapping exception, or any delay observed when the lock is released by first entity.
  2. When this test case runs using Sun JDK 1.5.0_u26 (on its zone1 and Machine2 using NFS + solaris10), no lock issue is observed. There is no IOException or Overlapping Exception.

Symptoms are:

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms