I have
Java code that generates the following error:
HTTP JVM: [Signaling in VM: java/lang/UnsatisfiedLinkError, message: /opt/lotus/notes/65040/ibmpow/libXfoJavaCtl.so: load ENOENT on shared library(s)]
The code is as follows. It fails on the line: axfo = new XfoObj();
import lotus.domino.*;
import java.io.*;
import java.util.*;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.stream.StreamSource;
import javax.xml.transform.stream.StreamResult;
import jp.co.antenna.XfoJavaCtl.*;
public class JavaAgent extends AgentBase {
public void NotesMain() {
XfoObj axfo = null;
try {
Session session = getSession();
System.out.println("About to create an instance of \"XfoObj\" class . . .");
axfo = new XfoObj();
System.out.println("Created an instance of \"XfoObj\" class . . .");
} catch (Throwable th) {
th.printStackTrace();
} finally {
if (axfo != null) {
try {
axfo.releaseObjectEx();
System.out.println("\"XfoObj\" instance released . . .");
} catch (Throwable th) {
th.printStackTrace();
}
axfo = null;
}
System.runFinalization();
System.gc();
}
}
}
I'd appreciate any suggestions on how to resolve this error.
Additional details:
The file 'libXfoJavaCtl.so' comes with third party software (Antenna House) which is integrated with a Domino application. I tried copying this file
from its original location in the Antenna House 'lib' directory
to the directory '/opt/lotus/notes/65040/ibmpow'. However, the Java code still does not run to completion.
Thanks.