After updating JDK to 1.7.x it is working now. Thanks, Sunil.
> Date: Mon, 1 Jun 2015 10:26:24 +0200 > From: [email protected] > To: [email protected] > Subject: Re: Unable to start ApacheDS 2.0.0-M20 > > Le 01/06/15 07:44, Sunil Kalahasti a écrit : > > We are unable to start ApacheDS 2.0.0-M20. > > > > Following is the error log: > > > > STATUS | wrapper | 2015/06/01 00:39:16 | --> Wrapper Started as Daemon > > STATUS | wrapper | 2015/06/01 00:39:16 | Launching a JVM... > > INFO | jvm 1 | 2015/06/01 00:39:16 | Exception in thread "main" > > java.lang.UnsupportedClassVersionError: > > org/apache/directory/server/wrapper/ApacheDsTanukiWrapper : Unsupported > > major.minor version 51.0 > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > java.lang.ClassLoader.defineClass1(Native Method) > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > java.lang.ClassLoader.defineClass(ClassLoader.java:643) > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > java.net.URLClassLoader.defineClass(URLClassLoader.java:277) > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > java.net.URLClassLoader.access$000(URLClassLoader.java:73) > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > java.net.URLClassLoader$1.run(URLClassLoader.java:212) > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > java.security.AccessController.doPrivileged(Native Method) > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > java.net.URLClassLoader.findClass(URLClassLoader.java:205) > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > java.lang.ClassLoader.loadClass(ClassLoader.java:323) > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) > > INFO | jvm 1 | 2015/06/01 00:39:16 | at > > java.lang.ClassLoader.loadClass(ClassLoader.java:268) > > ERROR | wrapper | 2015/06/01 00:39:17 | JVM exited while loading the > > application. > > INFO | jvm 1 | 2015/06/01 00:39:17 | Could not find the main class: > > org.apache.directory.server.wrapper.ApacheDsTanukiWrapper. Program will > > exit. > > FATAL | wrapper | 2015/06/01 00:39:17 | There were 1 failed launches in a > > row, each lasting less than 300 seconds. Giving up. > > FATAL | wrapper | 2015/06/01 00:39:17 | There may be a configuration > > problem: please check the logs. > > STATUS | wrapper | 2015/06/01 00:39:17 | <-- Wrapper Stopped > > > > It seems it is due the JDK version. We have JDK 1.6.x. > > Most certainly the pb. Switch to Java 8. Anyway, Java 6 is EOL for more > than 2 years and Java 7 is EOL since last month. > > > > As per > > http://directory.apache.org/apacheds/basic-ug/1.3-installing-and-starting.html > > , it should work with JDK 6 as well. > > I have updated the page. Thanks for pointing that out ! >
