My Oracle Support Banner

EM 12c: Emctl start/stop/status oms Failed With Error Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.log4j.Logger (Doc ID 2065293.1)

Last updated on NOVEMBER 22, 2019

Applies to:

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


emctl start/stop/status oms commands fail with below errors


$<OMS_HOME>/bin>./emctl start oms

Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.log4j.Logger
at oracle.sysman.emctl.wls.OMSController.<clinit>(
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
... 3 more
Could not find the main class: oracle.sysman.emctl.wls.OMSController. Program will exit.

Same results for the following commands too.

$<OMS_HOME>/bin>./emctl status oms

$<OMS_HOME>/bin>./emctl stop oms


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

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