Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.UnsatisfiedLinkError

843829Jan 22 2003 — edited Aug 31 2004
I am getting this error very consistently while executing the following java program using NetBeans...


Java.exe - Entry Point Not Found

The procedure entry point JSJ_ConvertJavaObjectToJSValue could not be localted in the dynamic link library js32.dll


The Java program for domino server access is....

import java.util.*;
import lotus.domino.*;

public class Request extends NotesThread {

public static void main(String argv[]) {
Request t = new Request();
t.start();
}

public void runNotes() {
try {
Session s = NotesFactory.createSession();
System.out.println("User name = " + (String)s.getUserName());
}
catch (Exception e) {
e.printStackTrace();
}
}

}

Can anyone figure out what could be the problem ? What i am trying to do is create a thread which when executed creates a session object for the current notes user using API's provided in Java toolkit for Domino server access. Now it is very much possible to do so according to the documentation and they even have a login method where you can login to a domino server from backend by just providing the server name , user and password. But I am not able to get past the this error itself. I get this in the output.

java.lang.UnsatisfiedLinkError: C:\Lotus\Notes\nlsxbe.dll: The specified procedure could not be found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at lotus.domino.NotesThread.load(NotesThread.java:281)
at lotus.domino.NotesThread.checkLoaded(NotesThread.java:301)
at lotus.domino.NotesThread.initThread(NotesThread.java:139)
at lotus.domino.NotesThread.run(NotesThread.java:197)

Can anyone throw some light on this one ?

Thank you
Yogesh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 28 2004
Added on Jan 22 2003
2 comments
645 views