WebLogic Admin Server Fails to Start With BEA-000386 Error When Custom Auditor and Java Hot Swap Are Both Enabled (Doc ID 2248047.1)

Last updated on MARCH 28, 2017

Applies to:

Oracle WebLogic Server - Version 12.2.1.2.0 to 12.2.1.2.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

The admin server on WebLogic Server (WLS) 12.2.1.2 fails to start when a custom auditor (built by following the SimpleSampleAuditor documentation at http://docs.oracle.com/middleware/12212/wls/DEVSP/aud.htm#DEVSP425) is enabled and Java Hot Swap (which is enabled by the enableHotswap switch at the command line which adds "-javaagent:/refresh/oracle/middleware/fmw12212/wlserver/server/lib/diagnostics-agent.jar" to the startup command) is also enabled.

The following error is observed:

Steps to reproduce:

  1. Start WLS admin server with no switches. Server starts normally.
  2. Start WLS admin server with the enableHotswap switch. Server starts normally.
  3. Install the custom auditor by doing the following:
    1. Create a DOMAIN_HOME/lib/mbeantypes folder.
    2. Add the custom auditor jar file to that folder.
    3. Start the admin server.
    4. In the WLS admin console, navigate to security realm -> myrealm -> provider -> auditing.
    5. Click new and select the SimpleSampleAuditor as type.
    6. Click ok and persist the changes.
  4. Start WLS admin server with no switches. Server starts normally.
  5. Start WLS admin server with the enableHotswap switch. Server fails to start with the error listed above.

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