Thanks to you guys, I got quite a bit further in trying to figure out how to make webmail work!!!
My environment is as follows:
- Open ACS 3.2.4
- SuSE 7.0 linux (2.2.16)
- postgresql-7.0.3
- aolserver 3.2
- JRE 1.3
I'm able to get to the point where the log says:
[04/Feb/2001:23:06:07][26072.1024][-main-] Notice: ModuleInit: Java Module ENABLED
but then it just hangs.
If I set VerboseJvm to "on", then the last 10 log entries I get are as follows:
[Preparing java/util/Collections$EmptyMap]
[Loaded java.util.Collections$ReverseComparator from /usr/lib/jre1.3/jre/lib/rt.
jar]
[Loading superclasses of java/util/Collections$ReverseComparator]
[Preparing java/util/Collections$ReverseComparator]
[Loaded java.lang.InheritableThreadLocal from /usr/lib/jre1.3/jre/lib/rt.jar]
[Loading superclasses of java/lang/InheritableThreadLocal]
[Loaded java.lang.ThreadLocal from /usr/lib/jre1.3/jre/lib/rt.jar]
[Loading superclasses of java/lang/ThreadLocal]
[Preparing java/lang/ThreadLocal]
so it appears to hang at java/lang/ThreadLocal.
I compiled using the instructions for CLASSPATH and LD_LIBRARY_PATH in the various postings I've seen to date. I found that I had to add
/usr/lib/jre1.3/jre/bin and /usr/lib/jre1.3/jre/bin/classic (the latter is for libjvm.so) to LD_LIBRARY_PATH in my nsd startup environment, and that seems to have taken care of the missing libraries problem.
Also, here's the relevant entries from my nsd.tcl file:
ns_section "ns/server/${server}/modules"
ns_param nsjava ${bindir}/libnsjava.so
ns_section "ns/server/${server}/module/nsjava"
ns_param EnableJava "on"
ns_param VerboseJvm "off"
ns_param LogLevel "Notice"
ns_param DestroyJvm "off"
ns_param DisableJITCompiler "off"
ns_param ClassPath "/usr/lib/jre1.3/jre/lib/rt.jar:/usr/lib/jre1.3/jre/lib/tools.jar:/web/ruchirasala/www/webmail/java:/usr/local/aolserver/bin/nsjava.jar:/usr/local/aolserver/bin/mail.jar:/usr/local/aolserver/bin/activation.jar"
Any ideas what could be causing this to hang? (Need any more info?)