Stuck Threads Waiting to Access WeakHashMap Object

Applies to:
Oracle WebLogic Portal - Version: 9.2.0 to 10.3.1.0.2 - Release: Weblogic Platform to
Information in this document applies to any platform.

Symptoms
When P13N cache is configured in your Weblogic Portal (WLP) application, you may observe all threads getting stuck while waiting for access to the WeakHashMap object.  This leads to high CPU utilization and impacts server performance.  The stack trace of the stuck thread is given below.

[STUCK] ExecuteThread: '55' for queue: 'weblogic.kernel.Default (self-tuning)'' RUNNABLE
java.util.WeakHashMap.get(WeakHashMap.java:347)
com.bea.p13n.entitlements.resource.P13nResource.getCachedEntry(P13nResource.java:499)

Cause
This is a WLP product bug where the WeakHashMap is not synchronized in the P13nResource class.


Solution
Using the Smart Update Tool, install the following patch for the specific WLP version and then clear the server caches to ensure there are no conflicts between the original and patched libraries.
Please refer to Applying And Maintaining WebLogic Portal Patches With Smart Update for installing WLP Patches.


WLP Version 10.3.1.0.2
Patch ID: YH7V
Passcode: E3Z9UXSC
WLP Version 9.2.3
Patch ID: IDZ9
Passcode: 1AW1LP94

Clear Server Caches:

1. Shutdown all servers (admin and managed).

2. Delete the following server (admin and managed) directories:

    cache
    stage (if exists)
    tmp

3. Restart all servers (admin and managed).


Note: If you are experiencing this same issue in a WLP version other than for the available patches, please contact WLP Support to see if a patch can be requested. Due to Oracle's Error Correction Policy, patches will not be made available for all versions. You'll need to be on the latest Maintenance Pack (MP) or Patch Set Update (PSU) of the version you're on to request a patch.

 


Note 1: For the WLP 10.3.1.0.2 patch , you need to make sure that the WLP 10.3 Patch Set Update 2 is installed.

Note 2: This issue is fixed in the following versions (i.e., no patches are needed).
  WLP 10.3.1.0.3 (10.3.0 with PSU 3)
  WLP 10.3.2

Please contact Oracle Support for other versions not mentioned in this document.

 

References
NOTE:1061492.1 - Applying And Maintaining WebLogic Portal Patches With Smart Update
NOTE:950131.1 - Error Correction Support Dates for Oracle WebLogic Server
http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/relnotes/relnotes.html#wp1219129

你可能感兴趣的:(职场,WeakHashMap,休闲,stuck)