How to Handle "Algorithm Negotiation Failure" error in TIBCO ActiveMatrix BusinessWorks (TM) Plug-in for sFTP.

How to Handle "Algorithm Negotiation Failure" error in TIBCO ActiveMatrix BusinessWorks (TM) Plug-in for sFTP.

book

Article ID: KB0076202

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for sFTP TIBCO ActiveMatrix BusinessWorks (TM) Plug-in for sFTP 1.1.0

Description

Description:

With TIBCO ActiveMatrix BusinessWorks (TM) Plug-in for sFTP version 1.1.0 the default jar is "
jsch-0.1.51.jar"and  when applying hotfix-02 on top of TIBCO ActiveMatrix BusinessWorks (TM) Plug-in for sFTP 1.1.0 , it replaces the jsch-0.1.51.jar with  'jsch-0.1.53.jar'.

 Possible Causes For Error :  "Algorithm Negotiation Failure"

 
 If hotfix -02 already applied but location "TIBCO_HOME/bw/plugins/lib" shows older jar that is " jsch-0.1.51.jar".
                                                                                      OR 
   If hotfix-02 already applied but location "TIBCO_HOME/bw/plugins/lib" shows old jar and new jar --> that is "jsch-0.1.51.jar" & "jsch-0.1.53.jar".
 

 

Issue/Introduction

With TIBCO ActiveMatrix BusinessWorks (TM) Plug-in for sFTP version 1.1.0 the default jar is jsch-0.1.51.jar ,once we apply hotfix-02 on top of TIBCO ActiveMatrix BusinessWorks (TM) Plug-in for sFTP1.1.0 ,the existing jar is replaced by jar 'jsch-0.1.53.jar'.If correct jars not found in location "TIBCO_HOME/bw/plugins/lib" ,then test connection for TIBCO ActiveMatrix BusinessWorks (TM) Plug-in for sFTP gets errored out with " Algorithm Negotiation Failure".

Resolution

- If applying hotfix -02, then need to verify if location --> TIBCO_HOME/bw/plugins/lib path holds "jsch-0.1.53.jar" file.

   If "jsch-0.1.51.jar" still reflects on the above path, delete the "jsch-0.1.51.jar" file from tibco_home/BW/plugins. 

    So it directed to "jsch-0.1.53.jar".

 For Problematic environment which is causing the same issue in deployed application.

 - Need to Modify Application.tra file  of the deployed application,
   
   Follow the below step,
   
   Use prepend the ‘jsch-0.1.53.jar’ for below line;

   tibco.env.CUSTOM_EXT_PREPEND_CP=/home/tibco/temp/jsch-0.1.53.jar\:
   
   After adding the above line the Test Connection for TIBCO ActiveMatrix BusinessWorks (TM) Plug-in for sFTP connection works fine.