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
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(
      at java.lang.ClassLoader.loadLibrary(
      at java.lang.Runtime.loadLibrary0(
      at java.lang.System.loadLibrary(
      at lotus.domino.NotesThread.load(
      at lotus.domino.NotesThread.checkLoaded(
      at lotus.domino.NotesThread.sinitThread(

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

Question by:madhurikg
    1 Comment
    LVL 10

    Accepted Solution


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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
    Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now