• Post Reply Bookmark Topic Watch Topic
  • New Topic

Path, classpath issue  RSS feed

Grishma Dube
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!