Unable to start the JD Edwards EnterpriseOne Adapter v6.0.0 and above with BW 5.15 and BW 5.14.1 due to AXSecurityException

book

Article ID: KB0072316

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for JD Edwards EnterpriseOne 6.0.0

Description

Issue: We are not able to start the TIBCO ActiveMatrix(R) Adapter for JD Edwards EnterpriseOne 6.0.0 and above with BW5.15 and BW 5.14.1 due to below exception:

com.tibco.security.AXSecurityException: Cannot initialize BouncyCastle provider in classpathjava.lang.reflect.InvocationTargetException

Cause: This issue is originated because of RV 8.5.x has a different bcfips library than TRA (TPCL) provides(which is the one that BW uses).This issue occurs only because RV bcfips library is loaded before TPCL/lib/bc-fips-1.0.2.jar and TPCL/lib/bc-fips.jar from BW 5.15.x and  BW 5.14.1 respectively. this version is not the one that BW/Adapter uses. The issue is caused by conflict with the BouncyCastle JAR file from RV 8.5 installation - RV_HOME/lib/bcprov-jdk15on-162.jar

Environment

BW 5.15, BW 5.14.1

Resolution

To resolve the issue, please follow below workaround:
-----------------------------------------------------
1. Open the $Tibco_Home/designer/$version/bin/designer.tra

2. Need to prepend and add the - %TPCL_HOME%/lib/;  for the tibco.class.path.extended in designer.tra file like below

tibco.class.path.extended %TPCL_HOME%/lib/;%CUSTOM_CP_EXT%;%STD_CP_EXT%;%EMS_HOME%/lib;

3. Save the file.

4. Open the $Tibco_Home/adapter/adjdexe/$version/bin/adjdexe.tra

5.  Need to prepend and add the - %TPCL_HOME%/lib/;  for the tibco.class.path.extended in adjdexe.tra file.like below

tibco.class.path.extended %TPCL_HOME%/lib/;%SDK_HOME%/hotfix/lib;...

6. Save the file 

7. Restart the designer, adapter and test it again.
-----------------------------------------------------

Issue/Introduction

Unable to start the JD Edwards EnterpriseOne Adapter v6.0.0 and above with BW 5.15 and BW 5.14.1 due to AXSecurityException