Problems using local API on Linux

Hello @all!I encounter a strange problem trying to use the local API on Linux (Ubuntu 8.04). Using “NotesThread.sinitThread();” inside a servlet running on Tomcat prints out “terminate called after throwing an instance of ‘char const*’” crashing Tomcat.

I have created symbolic links in /usr/lib pointing to the shared object libs (libnotes.so, libndgts.so, libxmlproc.so, liblsxbe.so) and the notes.ini can be found from the servlet as well.

Has anyone out there some suggestions how to solve this problem?

Many Thanks in advance

Tim

Subject: SOLVED!

Just found the solution to my problem. Maybe it’s not the best solution but now it works:

  • changed the LD_LIBRARY_PATH in order to include the directory where Domino was installed in.

  • changed the PATH to include the directory where Domino was installed in.

  • added a file called domino.conf to /etc/ld.so.conf.d containing a row with the directory where Domino was installed in.

  • made a ldconfig in order to reflect the changes in ld.so.cache

Now I’m able to use the local API from within Java.