Question

I think launchd is the answer, but using this plist:

http://gist.github.com/553573

I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: net/appjet/oui/main
Caused by: java.lang.ClassNotFoundException: net.appjet.oui.main
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    ...

Any ideas?

Was it helpful?

Solution

Classpath problems perhaps? The script /usr/local/etherpad/trunk/etherpad/bin/run-local.sh is supposed to be started from a specific directory (path). Try editing your copy to start with a cd command to go the right folder just before it creates subfolders data/appjet.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top