Enterprise Manager OMS Start Failure Issue
Enterprise Manager OMS Start Failure Issue
==============================
==============================
OEM12c Issue -
The Oracle base for
ORACLE_HOME=/u01/app/oracle/product/middleware3/oms is /opt/oracle
oracle@mdccloud2r:/u01/app/oracle/product/gc_inst1/em/EMGC_OMS1>
emctl status oms
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All
rights reserved.
Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at
oracle.sysman.emctl.wls.OMSController.<clinit>(OMSController.java:101)
Caused by: java.lang.ClassNotFoundException:
org.apache.log4j.Logger
at
java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at
java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 1 more
Could not find the main class:
oracle.sysman.emctl.wls.OMSController. Program will exit.
Metalink Info.
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)
|
<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>(OMSController.java:101)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
... 3 more
Could not find the main class: oracle.sysman.emctl.wls.OMSController. Program will exit.
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.log4j.Logger
at oracle.sysman.emctl.wls.OMSController.<clinit>(OMSController.java:101)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
... 3 more
Could not find the main class: oracle.sysman.emctl.wls.OMSController. Program will exit.
Cause
$EM_INSTANCE_BASE/gc_inst/em/EMGC_OMS1/emgc.properties file is either corrupted or 0 bytes.
Restore the file emgc.properties file from valid
backup.
Comments