This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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:
Please let me know if i need to change anything from Java Standalone application to TOMCAT web application.