cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
903
Views
0
Helpful
4
Replies

Problem with DBSpaceReclaimer on Solaris

pvanvuuren
Level 3
Level 3

Good day.

We're trying to run the DBSpaceReclaimer procdure, but is failing. LMS is 3.2 running on Solaris 10. Herewith the command we're using and its output:

$ pwd

/opt/CSCOpx/lib/jre/bin

$ java -cp /Temp;/opt/CSCOpx/lib/classpath;/opt/CSCOpx/www/classpath;/opt/CSCOpx/MDC/Tomcat/webapps/rme/WEB-INF/classes/;/opt/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/lib/log4j.jar DBSpaceReclaimer

Usage: java [-options] class [args...]

(to execute a class)

etc...

ksh: /opt/CSCOpx/lib/classpath: cannot execute

ksh: /opt/CSCOpx/www/classpath: cannot execute

ksh: /opt/CSCOpx/MDC/Tomcat/webapps/rme/WEB-INF/classes/: not found

ksh: /opt/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/lib/log4j.jar: cannot execute

$

has anyone run this on Solaris successfully?

Many Thanks.

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

You're trying to run it as if it were on Windows. Replace the ';' with ':'.

Thanks Joe, im replying on Behalf of Pierre, who is currently in deepest darkest Africa :)

Hi joe, different error message now, although i think we're getting closer.

/opt/CSCOpx/lib/jre/bin/java -classpath /tmp:/opt/CSCOpx/lib/classpath:/opt/CSCOpx/www/classpath:/opt/CSCOpx/MDC/Tomcat/web?apps/rme/WEB-INF/classes/:/opt/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/lib/log4j.jar DBSpaceReclaimer

Exception in thread "main" java.lang.NoClassDefFoundError: com/cisco/nm/rmeng/sa/db/RmeSaDbHandler

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

any advice?

You have a capital 'T' in tomcat. That's wrong. You also appear to have a bad character in webapps.

Review Cisco Networking for a $25 gift card