This works, but I'd like to get the wrapper working. Any other ideas? Mike K.
On Tue, May 25, 2010 at 4:02 AM, [email protected] < [email protected]> wrote: > Looks like a problem with Java service wrapper which Adito uses: > > <http://wrapper.tanukisoftware.org/doc/english/download.jsp> > > The wrapper is a native binary (in your case for Linux) and it's pretty > old, released in 2008 (or earlier?). It might be that your OS is simply > too new for the binary to work properly. Another possibility is that > you're using GNU Java (gcj) instead of Sun's Java (sun-java6-jdk / > openjdk-something). > > Anyways, you can launch Adito without using the wrapper. Just descend > into the Adito's root directory which contains the build.xml and issue > > ant start-using-java > > Let me know if this helps. > > Samuli > > > > > Google tells me this is an error in java not knowing its classpath. > > IANAP, and could use some help in resolving this. > > > > I've followed the instructions available at various sites, and the > > installation went fine. > > > > When I start the service I get the following in the wrapper.log: > > > > Code: > > > > r...@twin:/etc# service adito console > > Running Adito... > > wrapper | --> Wrapper Started as Console > > > > wrapper | Launching a JVM... > > 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:307) > > > > jvm 1 | at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > jvm 1 | at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > > jvm 1 | Could not find the main class: Main. Program will exit. > > > > ... > > ... PREVIOUS LINES REPEAT 5 TIMES ... > > ... > > wrapper | JVM exited while loading the application. > > wrapper | There were 5 failed launches in a row, each lasting less than > 300 seconds. Giving up. > > wrapper | There may be a configuration problem: please check the logs. > > > > wrapper | <-- Wrapper Stopped > > > > Any suggestions would be greatly appreciated. > > > > M. Knisely > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Openvpn-als-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/openvpn-als-user > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Openvpn-als-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openvpn-als-user >
------------------------------------------------------------------------------
_______________________________________________ Openvpn-als-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-als-user
