EM 12c : emctl start / stop Commands Return 'java.lang.NoClassDefFoundError: HTTPClient/http/Handler HTTPClient.http.Handler' (Doc ID 1427970.1)

Last updated on APRIL 10, 2015

Applies to:

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

Symptoms

After a successful deployment of 12c agent, 'emctl  start  / emctl stop'  commands results following exception 

$/AGENT_INST/bin/emctl start agent

fails with following exception

Exception in thread "main" java.lang.NoClassDefFoundError: HTTPClient/http/Handler
       at oracle.sysman.emd.targetIntg.TargetInstaller.getMethod(TargetInstaller.java:557)
       at oracle.sysman.emd.targetIntg.TargetInstaller.execute_(TargetInstaller.java:168)
       at oracle.sysman.emd.targetIntg.TargetInstaller.execute(TargetInstaller.java:159)
       at oracle.sysman.emSDK.conf.TargetInstaller.printLocalHost(TargetInstaller.java:2688)
       at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3768)
Caused by: java.lang.ClassNotFoundException: HTTPClient.http.Handler
       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:305)
       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:246)

 

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