My Oracle Support Banner

EM 13c: OMS is Down. Executing any emctl commands Fail with "java.lang.NoClassDefFoundError: Could not initialize class weblogic.diagnostics.context.DiagnosticContextFactory" (Doc ID 2800851.1)

Last updated on AUGUST 29, 2021

Applies to:

Enterprise Manager Base Platform - Version 13.4.0.0.0 and later
Information in this document applies to any platform.

Symptoms

EM 13.4 OMS is down and executing any emctl command from $OMS_HOME/bin fails with the following error:

$OMS_HOME/bin/emctl status oms

Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class weblogic.diagnostics.context.DiagnosticContextFactory
  at weblogic.diagnostics.context.CorrelationFactory$DefaultFactoryImpl.findOrCreateCorrelation(CorrelationFactory.java:218)
  at weblogic.diagnostics.context.CorrelationFactory.findOrCreateCorrelation(CorrelationFactory.java:130)
  at weblogic.diagnostics.context.CorrelationFactory.findOrCreateCorrelation(CorrelationFactory.java:113)
  at weblogic.diagnostics.context.CorrelationHelper.getContextId(CorrelationHelper.java:34)
  at weblogic.diagnostics.context.DiagnosticContextHelper.getContextId(DiagnosticContextHelper.java:40)
  at oracle.dms.context.internal.wls.ToWLSBridgeImpl.getDiagnosticContextId(ToWLSBridgeImpl.java:228)
  at oracle.dms.context.internal.jse.JSEContextManager.getContext(JSEContextManager.java:302)
  at oracle.dms.context.internal.jse.JSEContextManager.getContext(JSEContextManager.java:70)
  at oracle.dms.context.DMSContextManager.getContext(DMSContextManager.java:546)
  at oracle.dms.context.ExecutionContext.get(ExecutionContext.java:168)
  at HTTPClient.ExecutionContextModule.requestHandler(ExecutionContextModule.java:73)
  at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:3413)
  at HTTPClient.HTTPConnection$10.run(HTTPConnection.java:3267)
  at HTTPClient.HTTPConnection$10.run(HTTPConnection.java:3258)
  at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:1083)

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.