Running ./pw_agent_util.sh -create Fails With Exception in thread "main" java.lang.NoClassDefFoundError (Doc ID 1663688.1)

Last updated on APRIL 17, 2014

Applies to:

Management Pack for Oracle GoldenGate - Version 11.2.1.0.5 to 11.2.1.0.5 [Release 11.2]
Information in this document applies to any platform.

Symptoms

 Running 
./pw_agent_util.sh -create

returns the following error

Exception in thread "main" java.lang.NoClassDefFoundError: com/goldengate/monitor/jagent/security/PWAgentUtil
Caused by: java.lang.ClassNotFoundException: com.goldengate.monitor.jagent.security.PWAgentUtil
       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:307)
       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: com.goldengate.monitor.jagent.security.PWAgentUtil.  Program will exit.

  

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