thanks Marco...My application deals with connecting to Unix server to fetch statistics & not the CPU stats.
However, before jumping to that my code is giving me below error while compiling.
Please note that my code runs individually successfully in eclipse version opened by Integration studio. After saving when I Verify it , I get the compiling error as below :
J2EE Compilation.
Buildfile: C:\Users\*****\AppData\Local\Temp\Integration Studio\LfveLAfAy0yuBYE6mBAz9w\Source\J2EE\build.xml
clean:
[delete] Deleting directory C:\Users\*****\AppData\Local\Temp\Integration Studio\LfveLAfAy0yuBYE6mBAz9w\Source\J2EE\bin
[delete] Deleting directory C:\Users\*****\AppData\Local\Temp\Integration Studio\LfveLAfAy0yuBYE6mBAz9w\Source\J2EE\docs
init:
compile:
[mkdir] Created dir: C:\Users\*****\AppData\Local\Temp\Integration Studio\LfveLAfAy0yuBYE6mBAz9w\Source\J2EE\bin
[javac] Compiling 7 source files to C:\Users\*****\AppData\Local\Temp\Integration Studio\LfveLAfAy0yuBYE6mBAz9w\Source\J2EE\bin
[javac] C:\Users\*****\AppData\Local\Temp\Integration Studio\LfveLAfAy0yuBYE6mBAz9w\Source\J2EE\SshConnectionManager.java:32: error: no suitable method found for setConfig(String,String)
[javac] session.setConfig("PreferredAuthentications", "publickey,keyboard-interactive,password");
[javac] ^
[javac] method Session.setConfig(Properties) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] method Session.setConfig(Hashtable) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] 1 error
BUILD FAILED
C:\Users\*****\AppData\Local\Temp\Integration Studio\LfveLAfAy0yuBYE6mBAz9w\Source\J2EE\build.xml:34: Compile failed; see the compiler error output for details.
Total time: 4 seconds
I am not sure here because the code runs successfully in eclipse however fails when compiling using Verify option in Integration studio.
Regards
Saurabh