Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

sshConnectivity.sh JAVA Error oracle/sysman/prov/ssh/SSHConnectivity

jstem1177Apr 21 2011 — edited Apr 28 2011
Hello All,

I figured I'd put this as a separate thread as this seems to be purely related to the sshConnectivity.sh. I'm try to setup the user equivalence but keep getting the error and error for java class no def:.

This is all related to the thread --> 2211495

Thanks for any assistance. Please suggest whether or not I need to move this to an SR.
Thanks

/Jan
java.lang.NoClassDefFoundError: oracle/sysman/prov/ssh/SSHConnectivity
Caused by: java.lang.ClassNotFoundException: oracle.sysman.prov.ssh.SSHConnectivity
Administrator@VM8ORALCOLABOR /cygdrive/c/oracle/middleware/oms11g/sysman/prov/re
sources/scripts
$ ./sshConnectivity.sh -hosts "ferrari.dbsoft.local" -user oracle -asUser oracl
e -asUserGrp root -sshLocalDir "C:\cygwin\.ssh" -localPlatformGrp win -remotePl
atform 46

All paths should be windows style full path.

This script will setup SSH Equivalence from the host 'VM8ORALCOLABOR' to specifi
ed remote hosts.

The following envrionment would be used
ORACLE_HOME = C:/oracle/middleware/oms11g
JAR_LOC = C:/oracle/middleware/oms11g/oui/jlib
SSH_LOC = C:/oracle/middleware/oms11gsysman/prov/agentpush/jlib
OUI_LOC = C:/oracle/middleware/oms11g/oui
PROP_LOC = C:/oracle/middleware/oms11g/sysman/prov/resources
JAVAHOME = C:/oracle/middleware/oms11g/jdk
JAVAHOME = C:/oracle/middleware/oms11g/jdk
java.lang.NoClassDefFoundError: oracle/sysman/prov/ssh/SSHConnectivity
Caused by: java.lang.ClassNotFoundException: oracle.sysman.prov.ssh.SSHConnectivity
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: oracle.sysman.prov.ssh.SSHConnectivity.  Program
will exit.
Exception in thread "main" Remote host reachability check failed.
Please ensure that all the hosts are up and re-run the script.
Exiting now...
This post has been answered by EricvdS on Apr 28 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2011
Added on Apr 21 2011
16 comments
1,248 views