Forum OpenACS Q&A: Response to Java Module NOT Enabled

Collapse
Posted by Jason Tauber on
Thanks for the help, I now get the following message in my server log:

[08/Aug/2001:12:52:49][17503.1024][-main-] Notice: modload: loading '/usr/local/aolserver/bin/libnsjava.so'

[08/Aug/2001:12:52:49][17503.1024][-main-] Notice: ModuleInit: Java Module ENABLED

[08/Aug/2001:12:52:50][17503.1024][-main-] Notice: ModuleInit: JVM init succeeded!

I have libnsjava.so in my /usr/local/aolserver/bin directory and its specified as my bin dir and its also included in my LD_LIBRARY_PATH, but I still get this message:

[08/Aug/2001:12:53:51][17503.6151][-sched:87-] Notice: Running scheduled proc wm_process_queue...

libnsjava.so: cannot open shared object file: No such file or directory (libnsjava.so)

java.lang.UnsatisfiedLinkError: no nsjava in shared library path
        at java.lang.LinkageError.<init>(Compiled Code)
        at java.lang.UnsatisfiedLinkError.<init>(Compiled Code)
        at java.lang.Runtime.loadLibrary(Compiled Code)
        at java.lang.System.loadLibrary(Compiled Code)
        at
        at MessageParser.process_queue(Compiled Code)

[08/Aug/2001:12:53:51][17503.6151][-sched:87-] Error: JavaEvalCmd:  Java exception occured:

[08/Aug/2001:12:53:51][17503.6151][-sched:87-] Error: JavaEvalCmd:  Java exception occured:

Args:
ns_java
-detach
MessageParser::process_queue
/usr/local/aolserver/qmail/queue/

[08/Aug/2001:12:53:51][17503.6151][-sched:87-] Notice: Done running scheduled proc wm_process_queue.
[08/Aug/2001:12:54:51][17503.7175][-sched:87-] Notice: Running scheduled proc wm_process_queue...
java.lang.NoClassDefFoundError: nsjava/NsLog

Is there a reason why it can't find libnsjava.so?  This webmail thing is getting to be a real hassle but it's the most important part of openacs that I want running.  Thanks for all the help Dan, you've helped me get pretty far but I'm not there yet.

Thanks again

-Jason Tauber