?
Solved

I am getting the java.lang.UnsatisfiedLinkError: Native Library C:\Lotus\Notes\nlsxbe.dll already loaded in another class exception when i am redeploying my ear file without restarting the webserver.

Posted on 2006-06-07
1
Medium Priority
?
2,507 Views
Last Modified: 2013-12-10
I am creating ear file and deploying the application in weblogic. My application contains a message driven been that sends email using lotus api when ever a message comes. This is contained in a jar file in the ear.

I am getting the following exception when i am redeploying the application without restarting my server.

<ExecuteThread: '12' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
 java.lang.UnsatisfiedLinkError: Native Library C:\Lotus\Notes\nlsxbe.dll already loaded in another classloader.
java.lang.UnsatisfiedLinkError: Native Library C:\Lotus\Notes\nlsxbe.dll already loaded in another classloader
      at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1551)
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
      at java.lang.Runtime.loadLibrary0(Runtime.java:788)
      at java.lang.System.loadLibrary(System.java:834)
      at lotus.domino.NotesThread.load(NotesThread.java:281)
      at lotus.domino.NotesThread.checkLoaded(NotesThread.java:301)
      at lotus.domino.NotesThread.sinitThread(NotesThread.java:171)

 Is it a configuration issue? Should i have to put my jar file in some other place?
 looking for suggestions...

Thanks
0
Comment
Question by:madhurikg
1 Comment
 
LVL 10

Accepted Solution

by:
ECollin earned 1500 total points
ID: 16854317
Hi,

your application also use a native api to send your emails. Put it in the server's classpath instead of the jar file.

Emmanuel
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question