Forum OpenACS Q&A: ns_java Error

Collapse
42: ns_java Error (response to 1)
Posted by Andrew Smith on
Hi,

   I am trying to make use of webmail package of openacs 3.2.4.
I am using Redhat Linux 7.1 with Postgres Sql 7.1.3 and AOL3.2

   I have followed most the instructions on webmail installation that
I could find.

   I have downloaded and installed nsjava from sourceforge. 

The bin dir of my aolserver now contains 

libnsjava.so,nsjava.jar,activation.jar,mail.jar,mailapi.jar,imap.jar

The classpath in the server.tcl file contains

 ns_param   ClassPath "/usr/local/jdk/jdk118_v3/lib/classes.zip:/usr/local/aol32/bin/nsjava.jar:/usr/local/aol32/bin/activation.jar:/usr/local/aol32/bin/mail.jar:/web/server/www/webmail/java"

And The modules 

ns_section "ns/server/${server}/modules"
        ns_param   nssock          ${bindir}/nssock.so
        ns_param   nslog           ${bindir}/nslog.so
        ns_param   nsperm          ${bindir}/nsperm.so 
#       ns_param   nscgi           ${bindir}/nscgi.so 
        ns_param   nsjava          ${bindir}/libnsjava.so


I have compiled the java files under /web/server/www/webmail/java directory with no errors.

But still when I try to send a mail on page message-send-3.tcl . I get the error 

"
Database Error
An error occured while we attempted to compose your message: 

                invalid command name "nsjava"

webmaster@yourdomain.com
"

Any help would be greatly appreciated Thanks in advance