Can not change security vendor after it has been initialized" while starting TIBCO ActiveMatrix BusinessWorks Plug-in for Database (ADB adapter)

Can not change security vendor after it has been initialized" while starting TIBCO ActiveMatrix BusinessWorks Plug-in for Database (ADB adapter)

book

Article ID: KB0073796

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Database 7.2

Description

After starting TIBCO ActiveMatrix BusinessWorks Plug-in for Database (ADB adapter) is throwing error:
 Got SDK error in method <main()>:
          Error code: AESDKJ-0518
          Error Message: "JMS error: "Failed to connect to any server at: ssl://<host>:<port> [Error: Can not change security vendor after it has been initialized: url that returned this exception = ssl://<host>:<port> ] 

Environment

=================================================== Product:TIBCO ActiveMatrix BusinessWorks Plug-in for Database Version: 7.2 OS: All Supported Operating Systems ====================================================

Resolution

When the same security vendor is configured at EMS server and ADB application side, ADB application reinitiates the security vendor twice and application throws the error:
Got SDK error in method <main()>:
          Error code: AESDKJ-0518
          Error Message: "JMS error: "Failed to connect to any server at: ssl://<host>:<port> [Error: Can not change security vendor after it has been initialized: url that returned this exception = ssl://<host>:<port> ] 
 
Steps to resolve this error:
1.add following property in desginer.tra or application.tra or bwengine.tra
    =======================================
     java.property.TIBCO_SECURITY_VENDOR=<VendorName>
             Ex:  java.property.TIBCO_SECURITY_VENDOR=j2se
    ========================================

2. As well as remove following property from factories.conf at the EMS server
    ==============
     ssl_vendor = <VendorName>
        Ex: ssl_vendor = j2se
    ==============

3. Restart the EMS server and ADB adapter application.
 

Issue/Introduction

Remove " ssl_vendor = j2se" from factories.conf at EMS server.