Problem with DBSpaceReclaimer on Solaris

Unanswered Question
Oct 29th, 2009
User Badges:
  • Bronze, 100 points or more

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


$ 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)


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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Fri, 10/30/2009 - 01:07
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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

Joan Pelser Fri, 10/30/2009 - 04:21
User Badges:

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

pvanvuuren Tue, 11/03/2009 - 23:01
User Badges:
  • Bronze, 100 points or more

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(





at Method)


at java.lang.ClassLoader.loadClass(

at sun.misc.Launcher$AppClassLoader.loadClass(

at java.lang.ClassLoader.loadClass(

at java.lang.ClassLoader.loadClassInternal(

any advice?

Joe Clarke Tue, 11/03/2009 - 23:08
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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


This Discussion