Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Bronze

Problem with DBSpaceReclaimer on Solaris

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
Cisco Employee

Re: Problem with DBSpaceReclaimer on Solaris

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

New Member

Re: Problem with DBSpaceReclaimer on Solaris

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

Bronze

Re: Problem with DBSpaceReclaimer on Solaris

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?

Cisco Employee

Re: Problem with DBSpaceReclaimer on Solaris

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

294
Views
0
Helpful
4
Replies