in fact it's dying in the first line.
Ns_ModLog(Debug, javaModLogHandle, "jdk options 0");
moduleConfigPath = Ns_ConfigGetPath(Ns_ConnServer(NULL), "nsjava", NULL);
Ns_ModLog(Debug, javaModLogHandle, "jdk options 0.1");
the second log message never arrives.