Forum OpenACS Q&A: Missing libnsjava.so file during server start.
Just got through installation of OpenACS, PG and AOLServer. Compiled
and loaded the postgres driver from here and cleared up the postgres
driver failing to load. I've got the data models loaded in PG.
Everything is ready! But! My aolserver is failing when trying to load
the libnsjava.so file. It's looking in my /home/aolserver/bin
directory and it's right, the file isn't there! In fact the file is
nowhere on my system. I'm using the aolserver version 3.3.1 Any
suggestions? AOLserver does load and I can connect withit when using
the sample .tcl file included with the distro. Oh, I'm on a Redhat 7
system with 512 meg of RAM.
If I'm not on the right track, please let me know...
# # nsjava - aolserver module that embeds a java virtual machine. Needed to # support webmail. See http://nsjava.sourceforge.net for further # details. # ns_section "ns/server/acs-pg/module/nsjava" ns_param EnableJava "off" ;# Set to on to enable nsjava. ns_param VerboseJvm "off" ;# Same as command line -debug. ns_param LogLevel "Notice" ns_param DestroyJvm "off" ;# Destroy jvm on shutdown. ns_param DisableJITCompiler "off" ns_param ClassPath "/usr/local/jdk/jdk118_v1/lib/classes.zip:/usr/local/aolserver/bin/nsjava.jar:/home/nsadmin/mirror/acs3-pg/www/webmail/java/activation.jar:/home/nsadmin/mirror/acs3-pg/www/webmail/java/mail.jar:/home/nsadmin/mirror/acs3-pg/www/webmail/java"
Although I have never configured webmail in either ACS Classic or OpenACS, my guess is that you might be better off downloading the nsjava module first and reading any accompanying documentation to figure out how to compile it properly.