facebook

WAS server Adapter not setting java.library.path

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

    sathis.g
    Member

    Hi,

    I have EAR application which is deployed in WAS 7.0.
    The EAR application uses some native libraries(dll files). The path to these files are added in Window PATH attribute. When i export the EAR and deploy the application in WAS 7.0 there is no issue.

    But, when i start the WAS 7.0 through the WAS server adapter in MyEclipse and deploy my application using Add Deplyoment context menu. It throws the java.lang.UnsatisfiedLinkError. library not found in java.library.path.

    I included the path of the DLL files while Adding the Server configuration in MyEclipse. See the image for more details.
    .

    Kindly help me solve this issue.[/url]

    #309350 Reply

    sathis.g
    Member

    I forgot to mention that i Use MyEclipse 8.5

    #309351 Reply

    sathis.g
    Member

    When i looked at the Console I found that the Java Library path is set to D:\IBM\WAS7.0\bin.
    I manually copied all my native libraries to this location, then the application works.

    Why java.library.path that i gave above (above screenshot) was not appended to the existing one?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: WAS server Adapter not setting java.library.path

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