Fix “BEA-000394: Deadlock detected” for Weblogic with ADF Applications

If you try the newest version (or maybe earlier versions too) you see, that your managed server does not restart, when

  • you have deployed your ADF application(s)
  • you try to restart the managed server with ADF
  • you use intentionally or not shared libraries in your weblogic-application.xml (see example below)
<?xml version = '1.0' encoding = 'UTF-8'?>
<weblogic-application xmlns:xsi=""


But no problem, Oracle has created Patch 24490566: INTERMITTENT DEADLOCK IN WLS STARTUP DURING ADF-SHARE-DEPLOYED-TESTS for us for version

Remember to install the patches for all of your developers too!

Remember too, if you want to install more than one patch, there can be conflicts. Please test carefully, if all of your problems are solved for all patches after adding one more patch. Maybe you have to create a merge request in Oracle My Support.

That’s it!

, , , , , ,

  1. #1 by atul on December 13, 2016 - 18:25

    Thanks for this post … I do so this in WLS … will have apply PSU to go to … and then apply that patch.
    or Will ask oracle if they can give backport of this Patch 24490566 for

    • #2 by Torsten Kleiber on December 13, 2016 - 19:46

      Both are possible, but I would prefer the first one. The newer patch set contains lot of bug fixes for WebLogic and the corresponding patch set for ADF too. I prefer to install a parallel fresh Fusion Middleware home on the same ports and the same hardware to replace the old one instead of upgrading it. My installation is completely scripted. Requesting a backport could need some time, maybe you have to escalate the SR as we did for this patch.

  2. #3 by Apoorv Jain on January 30, 2017 - 08:39

    Hi Torsten,

    I am getting this issue in my Production environment, do you think above patch(Patch 24490566) will be a help in this case?

    <Deadlock detected:
    [deadlocked thread] [ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)':
    Thread '[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'oracle.mds.core.CachedMOContent@26077320' that is held by thread '[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)''

    Stack trace:

  3. #4 by Apoorv Jain on January 30, 2017 - 10:33

    it looks the WLS version(my WLS version version=”″) is not the same
    Verifying environment and performing prerequisite checks…
    Skip patch 24490566 from list of patches to apply: This patch is not needed.
    After skipping patches with missing components, there are no patches to apply.
    OPatch Session completed with warnings.

    Is there any other Patch for

    • #5 by Torsten Kleiber on January 30, 2017 - 13:56

      Patch Search on Oracle MOS shows only patches for and As the bug itself is not public, I cannot say, if this problem is known for So you have two options:

      1. Create a SR to analyze, if this is the same problem in and if yes request a backport
      2. Install patchset and the patch 24490566

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.