I will be using a spare server for my recommender server. There is very little to no documentation on how to alter the run.sh file to point to another server. Im getting the
./run.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org/drupal/project/recommender/RecommenderApp
Caused by: java.lang.ClassNotFoundException: org.drupal.project.recommender.RecommenderApp
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.drupal.project.recommender.RecommenderApp. Program will exit.
Maybe we could have an example run.sh file that shows a seperate recommender server.
Comments
Comment #1
ktleow commentedHmm I'm using the same server and ran into the same error as described above.
Did you get yours to work in same server?
Comment #2
bigsyke commentedI did get this working... Here is my run.sh
recommender directory is at ~/recommender...so its /home/xxx/recommender
Run.sh
config.properties
Comment #3
ktleow commentedHmmm sorry it was my bad.
Somehow the Java isnt loading Apache Commons libraries from async_command module.
Had to hardcode the paths.
Thanks!
Comment #4
danithaca commentedThanks for the report. I'll try to make better documentation in the next version.
I'll consider this problem as "fixed", right? If the problem still persists, please re-open the issue again.
Comment #5
danithaca commented