You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Durfee, Bernard" <Be...@suny.edu> on 2005/04/06 22:33:45 UTC

java.library.path - DLL - Domino

I am trying to use the native library for connecting to Domino from a
servlet. I was under the impression that the DLL needed to be in the
path specified by the java.library.path system property. However, this
does not seem to work.

I got to the point where even brute force did not work...

System.setProperty("java.library.path", "D:\\Lotus\\Domino");
m_logger.info("Using java.library.path: " +
System.getProperty("java.library.path"));

...from the logger...

Using java.library.path: D:\Lotus\Domino

...then the line...

System.loadLibrary("nlsxbe");

...fails with the following exception...

java.lang.UnsatisfiedLinkError: no nlsxbe in java.library.path
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)

...and indeed I do have a DLL file D:\Lotus\Domino\nlsxbe.dll. This is
on a Windows 2000 machine. Any ideas?

Bernard Durfee

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: java.library.path - DLL - Domino

Posted by Jason Bainbridge <jb...@gmail.com>.
On Apr 6, 2005 3:33 PM, Durfee, Bernard <Be...@suny.edu> wrote:
> I am trying to use the native library for connecting to Domino from a
> servlet. I was under the impression that the DLL needed to be in the
> path specified by the java.library.path system property. However, this
> does not seem to work.

Try manually registering the DLL:

regsvr32 "D:\Lotus\Domino\nlsxbe.dll"

REgards,
-- 
Jason Bainbridge
http://kde.org - webmaster@kde.org
Personal Site - http://jasonbainbridge.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org