On Tue, Aug 19, 2014 at 5:47 AM, <[email protected]> wrote:
> ubuntu 12.04 > java installed > apacheds installed from deb binary > the default partition starts and shuts down well > created a 2nd partition by copying the contents of default to > /var/lib/apacheds/new/ > I changed the ports to other than 10389 and 10636 > when I run -- /opt/apacheds/bin/./apacheds console new == I get the > following error > looks like you have a classpath issue, please double check > any help will be greatly appreciated > thx in advance > > Running ApacheDS - net... > wrapper | --> Wrapper Started as Console > wrapper | Launching a JVM... > wrapper | JVM exited while loading the application. > jvm 1 | Exception in thread "main" java.lang.NoClassDefFoundError: Main > jvm 1 | Caused by: java.lang.ClassNotFoundException: Main > jvm 1 | at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > jvm 1 | at java.security.AccessController.doPrivileged(Native > Method) > jvm 1 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:190) > jvm 1 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > jvm 1 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > jvm 1 | at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > jvm 1 | Could not find the main class: Main. Program will exit. > wrapper | Launching a JVM... > wrapper | JVM exited while loading the application. > jvm 2 | Exception in thread "main" java.lang.NoClassDefFoundError: Main > jvm 2 | Caused by: java.lang.ClassNotFoundException: Main > jvm 2 | at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > jvm 2 | at java.security.AccessController.doPrivileged(Native > Method) > jvm 2 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:190) > jvm 2 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > jvm 2 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > jvm 2 | at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > jvm 2 | Could not find the main class: Main. Program will exit. > wrapper | Launching a JVM... > wrapper | JVM exited while loading the application. > jvm 3 | Exception in thread "main" java.lang.NoClassDefFoundError: Main > jvm 3 | Caused by: java.lang.ClassNotFoundException: Main > jvm 3 | at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > jvm 3 | at java.security.AccessController.doPrivileged(Native > Method) > jvm 3 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:190) > jvm 3 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > jvm 3 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > jvm 3 | at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > jvm 3 | Could not find the main class: Main. Program will exit. > > > -- Kiran Ayyagari http://keydap.com
