Hi,
We are having an issue with a dll in a notes plugin.
When we call this: NotesFactory.createSession();
we get this error:
Unable to create view: nlsxbe (The filename or extension is too long. java.lang.UnsatisfiedLinkError: nlsxbe (The filename or extension is too long. ) at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:952) at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:921) at java.lang.System.loadLibrary(System.java:452) at lotus.domino.NotesThread.load(Unknown Source) at lotus.domino.NotesThread.checkLoaded(Unknown Source) at lotus.domino.NotesThread.sinitThread(Unknown Source) at com.atempo.adam.lotus.plugin.views.TopicView.createPartControl(TopicView.java:609)
NotesFactory is in Notes.jar, that we have included in our "plugin.xml" in dependencies tab. (The dependencie is: "com.ibm.notes.java.api").
The path to the jar is: "C:\Archivos de programa\IBM\Lotus\Notes\framework\rcp\eclipse\plugins\com.ibm.rcp.j2se.win32.x86_1.5.0.SR4-200707311521\jre\lib\Notes.jar" That is longer than 128 characters. If we install notes in "c:\program files\IBM" instead of "C:\Archivos de programa\IBM", the resulting path is shorter than 128 and we don't get the error.
We have also tried copying nlsxbe.dll to WIN\System32 or registring nlsxbe.dll with the regsvr32 command, but we get the same error.
Versions are: Lotus notes 8.0, Revision 20070803.1143 java 1.5.0
thanks