Can anybody please help with this problem? I'm trying to setup
webmail which requires the nsjava module to be enabled. I can't get
java to be enabled no matter what I do. I'm running AOLserver 3.2
with openacs 3.2.5 and postgreSQL 7.1. I'm sure its something
obvious that I've overlooked, so if somebody can offer some advice, I
would greatly appreciate it. I included a part of my server.log
below:
[03/Aug/2001:20:29:55][1471.1024][-main-] Notice: modload:
loading '/usr/local/aolserver/bin/nscgi.so'
[03/Aug/2001:20:29:55][1471.1024][-main-] Notice: modload:
loading '/usr/local/aolserver/bin/libnsjava.so'
[03/Aug/2001:20:29:55][1471.1024][-main-] Notice: ModuleInit: Java
Module NOT enabled
[03/Aug/2001:20:29:55][1471.1024][-main-] Notice: modload:
loading '/usr/local/aolserver/bin/nscp.so'
[03/Aug/2001:20:29:55][1471.1024][-main-] Error: nscp: could not
listen on 127.0.0.1:9999
[03/Aug/2001:20:29:55][1471.1024][-main-] Error: modload: failed to
load '/usr/local/aolserver/bin/nscp.so': 'Ns_ModuleInit' returne
d -1
[03/Aug/2001:20:29:55][1471.1024][-main-] Fatal: modload: failed to
load module '/usr/local/aolserver/bin/nscp.so'
If somebody could also point out what causes 'Ns_ModuleInit'
returned -1, I would appreciate it. A part of my server.tcl and
nsd.tcl are below also if they're needed:
ns_section "ns/server/acs-pg/module/nsjava"
ns_param EnableJava "on" ;# Set to on to enable nsjava.
ns_param VerboseJvm "off" ;# Same as command line -debug.
ns_param LogLevel "Notice"
ns_param DestroyJvm "on" ;# Destroy jvm on shutdown.
ns_param DisableJITCompiler "off"
ns_param ClassPath "/usr/lib/ibm-
java/jdk118/lib/classes.zip:/usr/local/aolserver/bin/nsjava.jar:/usr/l
ocal/aolserver/bin/activation.jar:/usr/local/aolserver/bin/mail.jar:/w
eb/stirling/www/webmail/java"
and heres my server.tcl file:
ns_section ns/server/${server}/acs/webmail
# This module requires the aolserver module nsjava.
# See http://nsjava.sourceforge.net
ns_param WebmailEnabledP 1
It seems to me that these are the 2 places you should enable
webmail. On top of this, I did all the preliminary steps for
configuring webmail such as installing nsjava-0.0.9 successfully and
copying mail.jar, activation.jar, nsjava.jar, and libnsjava.so into
my /usr/local/aolserver/bin directory. There must be something I've
overlooked, please help.
Thanks
-Jason Tauber