Forum OpenACS Q&A: Re: nsjk2 module

Collapse
8: Re: nsjk2 module (response to 1)
Posted by Steve Manning on
Nick

I had the nsjk2 module running in openacs a few months back as a possible way of introducing some legacy Java code. I didn't go much further than running up the Tomcat samples but it did work.

Looking at your config settings I notice mine was a little simpler. It might help if you cut down the settings to the minimum and try that. Specifically I just had:

ns_section ns/server/${server}/modules
ns_param nsjk2 ${bindir}/nsjk2.so

ns_section "ns/module/nsjk2"
ns_param serverRoot /usr/local/tomcat
ns_param loggerName aolserver

ns_section "ns/server/${servername}/module/nsjk2"
ns_param serverName "${hostname}"

To simplify your problem its probably worth running Aolserver up outside of OACS with the nsjk2 module loading to see if it works standalone. I used the nsjk2 supplied startup script and had all the verbose settings turned on in the tomcat configs to see what was happening.

- Steve