opatchauto Failed when using symbolic link for OPATCH (Doc ID 2116971.1)

Last updated on MAY 04, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

This is not limited to analyze ... fails with all options tried.

ORACLE_HOME/OPatch/opatchauto apply GI_PSU -analyze -ocmrf ocm.rsp

java.lang.NoClassDefFoundError: oracle/sysman/oic/oics/OicsCheckPointException
     at oracle.opatchauto.gi.checkpoint.OPatchCheckPointManager.initialCheckPointSession(OPatchCheckPointManager.java:82)
     at oracle.opatchauto.gi.checkpoint.OPatchCheckPointManager.(OPatchCheckPointManager.java:73)
     at oracle.opatchauto.gi.checkpoint.OPatchGIPatchingCheckPointManager. (OPatchGIPatchingCheckPointManager.java:47)
     at oracle.opatchauto.gi.OPatchauto.invokeGIPatching(OPatchauto.java:144)
     at oracle.opatchauto.gi.OPatchauto.main(OPatchauto.java:91)
Caused by: java.lang.ClassNotFoundException: oracle.sysman.oic.oics.OicsCheckPointException
     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)
     ... 5 more

opatchauto failed with error code 1.

Changes

Enable Java on all the machine(s) in the cluster and still got the same error

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