Java Local Access with 6.5/Linux

Hi!I compiled both “IntroLocalApp” and “IntroCorbaApp” from the Domino Toolkit on a Linux system with Domino 6.5 installed. The Corba App works fine:

[root@rh-pilot notestest]# java -classpath ./:/local/notesdata/domino/java/NCSO.jar IntroCorbaApp localhost Intro

Connected to server domino-linux/dom-linux as Anonymous

Title of database Intro.nsf is API Test Database (intro)

[root@rh-pilot notestest]#

To use local access I set up the LD_LIBRARY_PATH to

[root@rh-pilot notestest]# export LD_LIBRARY_PATH=/opt/lotus/notes/latest/linux/

where all the lib*.so are. But the program fails:

[root@rh-pilot notestest]# java -classpath ./:/opt/lotus/notes/latest/linux/Notes.jar IntroLocalApp

Aborted

[root@rh-pilot notestest]#

If I don’t set the LD_LIBRARY_PATH the following error occurs:

[root@rh-pilot notestest]# java -classpath ./:/opt/lotus/notes/latest/linux/Notes.jar IntroLocalApp

java.lang.UnsatisfiedLinkError: no lsxbe in java.library.path

    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)

    at java.lang.Runtime.loadLibrary0(Runtime.java:788)

    at java.lang.System.loadLibrary(System.java:834)

    at lotus.domino.NotesThread.load(NotesThread.java:306)

    at lotus.domino.NotesThread.checkLoaded(NotesThread.java:327)

    at lotus.domino.NotesThread.initThread(NotesThread.java:147)

    at lotus.domino.NotesThread.run(NotesThread.java:209)

So setting the LD_LIBRARY_PATH should be the right thing to do.

Has anyone an idea how to solve the problem? Both apps work fine with 5.0.11 on Windows.

Best regards,

Dirk