facebook

Native Libraries not found when using Tomcat in Debug Mode?

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #246283 Reply

    NotesSensei
    Member

    Hi there,

    I ran into an issue I can’t explain. I have a servlet that is using a jar that contains a native call (Notes.jar of Lotus Domino to be precise). The called DLL is in my system path. When I run the servlet on Tomcat running as a windows service it works fine without any problem (other than my poor Java coding, but that’s a different story 🙁 ).
    When I run Tomcat from inside Eclipse (to debug my code) I get an Unsatisfied link error complaining that the DLL was not found.
    What do I need to do, so Tomcat in Eclipse/Debug behaves similar to Tomcat as service?
    🙂 stw

    #246314 Reply

    Riyad Kalla
    Member

    Navigate to your Window > Prefs > MyEclipse > App Server > Tomcat 5 > Paths settings and in the last box, be sure to add the dir that contains the DLLs so Tomcat can find them.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Native Libraries not found when using Tomcat in Debug Mode?

You must be logged in to post in the forum log in