Closed boskamp closed 2 years ago
This results from a conflict between the Sybase JDBC driver on one hand and the SAP BusinessObjects SDK for Java on the other. Both components include different versions of the RSA cryptographic libraries for Java (cryptoj*.jar), which results in a conflict at runtime.
Depending on which order the JDBC driver JARs occur on the classpath relative to the order of the SAP BusinessObjects SDK for Java JARs, cryptograpy-related tasks of the SDK may cease to work, resulting in the above exception. A typical error message contained in the stack trace is:
Cryptographic library is not FIPS-140-compliant.
To solve this problem, you need to make sure that all the SDK JARs are listed before the JDBC driver JARs on the Java classpath defined by the SAP IDM dispatcher scripts.
"$DSE_HOME/jdbc-libs"
and "$DSE_HOME/bobj-libs"
MXDRIVERJAR="${DSE_HOME}/bobj-libs/*:${DSE_HOME}/jdbc-libs/*"
The critical point is that bobj-libs is listed first, and jdbc-libs only after that. The asterisk notation loads all JAR files in the given directory.
Alternatively, you could set the "Additional Driver JARs" property from dispatcherutil.sh gui
, which will internally calculate MXDRIVERJAR for the dispatcher script. However, double-check that the value of MXDRIVERJAR is really what you expect after you have re-generated the scripts from dispatcherutil.sh.