10-29-2009 11:59 PM
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.
10-30-2009 01:07 AM
You're trying to run it as if it were on Windows. Replace the ';' with ':'.
10-30-2009 04:21 AM
Thanks Joe, im replying on Behalf of Pierre, who is currently in deepest darkest Africa :)
11-03-2009 11:01 PM
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?
11-03-2009 11:08 PM
You have a capital 'T' in tomcat. That's wrong. You also appear to have a bad character in webapps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide