• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Path, classpath issue

 
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to connect to informatica server from Java using Load Manager SDK provided by informatica. There are JAR files such as JlmApi.jar which has dependency on few DLL files.
I wrote 1 standalone Java class using Eclipse IDE and running it in eclipse using Run As > Java Application. I have kept DLLs in the 1 folder under C:\ and have put this in System PATH. And all the required JAR files in lib folder and added them in Java Build path in eclipse. This works fine and connects to the Informatica server and bring me the required details.

Now i have a requirement where i have a Struts application and on click of button it should make informatica connection and bring the required details. For this i've created TOMCAT project in Eclipse and have put all required JARs in WEB-INF/lib folder and DLLs in C:\ and this folder is in PATH. When i click on the button, its able to connect to informatica server but after connection, when it tries to login to the server, its not able to do so and throws this error:
java.lang.UnsatisfiedLinkError: com.informatica.powercenter.sdk.lm.JLMConnection10.nativeLogin(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;Lcom/informatica/powercenter/sdk/lm/Result;)V

Please let me know if i need to change anything from Java Standalone application to TOMCAT web application.

Thanks
 
Screaming fools! It's nothing more than a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic