Here is my classpath in nsd.tcl:
ns_section "ns/server/${server}/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/local/aolserver/bin/
activation.jar:/usr/local/aolserver/bin/mail.jar:/web/stirling/www/webmail/java:/usr/local/aolserver/bin/libnsjava.so"
I included /usr/local/aolserver/bin/libnsjava.so in the classpath to try and trouble shoot the problem but it didn't fix it. I know libnsjava.so is in that directory so this is really strange.
Here is my LD_LIBRARY_PATH in /etc/profile, is this the only place you have to set it? I'm not sure.
# used to load postgreSQL libraries and java libraries
LD_LIBRARY_PATH=/usr/local/pgsql/lib:/usr/lib/ibm-java/jdk118/lib/linux/native_threads:/usr/local/aolserver/bin
export LD_LIBRARY_PATH
I really appreciate your quick responses Dan. I will have a huge celebration when this gets working! :) You will definitely be invited.