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

/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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
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(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?

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.

Actions

This Discussion