Forum OpenACS Q&A: nsjava error

Collapse
43: nsjava error (response to 1)
Posted by Andrew Smith on

On message-send-3.tcl page I used 

ns_java MessageComposer::compose_message $outgoing_msg_id $tmpfile

but still it gave me same error

I then tried using 

exec java MessageComposer::compose_message $outgoing_msg_id $tmpfile

It gave me different error

"
Database Error

An error occured while we attempted to compose your message: 

       Can't find class MessageComposer::compose_message
        
webmaster@yourdomain.com

"

I then modified it to 


exec java MessageComposer $outgoing_msg_id $tmpfile


Then it gave me different error

"
Database Error

An error occured while we attempted to compose your message: 

 In class MessageComposer: void main(String argv[]) is not defined

webmaster@yourdomain.com

"


Any help would be appreciated
Thanks