I forgot about the /etc/ld.so.conf file, sorry! I placed the location of libnsjava.so there and it worked! At least the server log didn't report any error messages. The problem now is that the site stays up for about a minute and then is unable to be reached. This is what's reported when I run the command ps aux:
nsadmin 17703 0.8 7.7 55748 14944 ? S 17:18 0:02 /usr/local/aolserver/bin/nsd -it /usr/local/aolserver/nsd.tcl -u nsad
nsadmin 17706 0.0 0.0 0 0 ? Z 17:18 0:00 [nsd <defunct>]
Could anybody please help and tell me why this is happening and what defunct means?