Hi this problem got solved when I pointed to C:\ds\Apache Directory Server\conf\apacheds.conf
Instead of > C:\ds\Apache Directory Server\bin>apacheds -c > ..\instances\default\conf\apacheds.conf But still one error on console like "unabe to start the server". I have ignored this because even though this error is on console Apacheds works fine. Yes it is 1.5.6. -----Original Message----- From: Stefan Zoerner [mailto:[email protected]] Sent: Sunday, April 04, 2010 10:33 PM To: [email protected] Subject: Re: problem in starting apacheds Which version of ApacheDS do you use? Is it 1.5.6? have you tried to start it as a service? Muralidhar Yaragalla wrote: > Hi I am trying to start the server with the following command on windows7 > > > > C:\ds\Apache Directory Server\bin>apacheds -c > ..\instances\default\conf\apacheds.conf > > > > When I moved to bin directory and tried with the above command the following > error is coming up. Please help me in starting the server in console mode. > > > > wrapper | --> Wrapper Started as Console > > wrapper | Launching a JVM... > > jvm 1 | java.lang.NoClassDefFoundError: Main > > jvm 1 | Caused by: java.lang.ClassNotFoundException: Main > > jvm 1 | at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > jvm 1 | at java.security.AccessController.doPrivileged(Native > Method) > > jvm 1 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > jvm 1 | at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > > jvm 1 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > > > jvm 1 | at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > > jvm 1 | at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > > > > jvm 1 | Could not find the main class: Main. Program will exit. > > jvm 1 | Exception in thread "main" > > wrapper | JVM exited while loading the application. > > wrapper | Launching a JVM... > > jvm 2 | java.lang.NoClassDefFoundError: Main > > jvm 2 | Caused by: java.lang.ClassNotFoundException: Main > > jvm 2 | at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > jvm 2 | at java.security.AccessController.doPrivileged(Native > Method) > > jvm 2 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > jvm 2 | at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > > jvm 2 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > > > jvm 2 | at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > > jvm 2 | at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > > > > jvm 2 | Could not find the main class: Main. Program will exit. > > jvm 2 | Exception in thread "main" > > wrapper | JVM exited while loading the application. > > wrapper | Launching a JVM... > > jvm 3 | java.lang.NoClassDefFoundError: Main > > jvm 3 | Caused by: java.lang.ClassNotFoundException: Main > > jvm 3 | at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > jvm 3 | at java.security.AccessController.doPrivileged(Native > Method) > > jvm 3 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > jvm 3 | at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > > jvm 3 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > > > jvm 3 | at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > > jvm 3 | at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > > > > jvm 3 | Could not find the main class: Main. Program will exit. > > jvm 3 | Exception in thread "main" > > wrapper | JVM exited while loading the application. > > wrapper | Launching a JVM... > > jvm 4 | java.lang.NoClassDefFoundError: Main > > jvm 4 | Caused by: java.lang.ClassNotFoundException: Main > > jvm 4 | at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > jvm 4 | at java.security.AccessController.doPrivileged(Native > Method) > > jvm 4 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > jvm 4 | at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > > jvm 4 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > > > jvm 4 | at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > > jvm 4 | at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > > > > jvm 4 | Could not find the main class: Main. Program will exit. > > jvm 4 | Exception in thread "main" > > wrapper | JVM exited while loading the application. > > wrapper | Launching a JVM... > > jvm 5 | java.lang.NoClassDefFoundError: Main > > jvm 5 | Caused by: java.lang.ClassNotFoundException: Main > > jvm 5 | at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > jvm 5 | at java.security.AccessController.doPrivileged(Native > Method) > > jvm 5 | at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > jvm 5 | at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > > jvm 5 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > > > jvm 5 | at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > > jvm 5 | at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > > > > jvm 5 | Could not find the main class: Main. Program will exit. > > jvm 5 | Exception in thread "main" > > wrapper | JVM exited while loading the application. > > wrapper | There were 5 failed launches in a row, each lasting less than 300 > sec > > onds. Giving up. > > wrapper | There may be a configuration problem: please check the logs. > > wrapper | <-- Wrapper Stopped > > > >
