This problem and solution was found useful in the following conditions:
- IM Connector Server (CS) is installed Windows Server 2008 SP2 (not 2008 R2).
- SAPJCO3.JAR/SAPJCO3.DLL package version 3.0.10(2013-08-08)
You have properly run "sap_post_install" to generate sapConnectorLibsOsgi.jar with sapjco3.dll and sapjco3.jar binary files.
From IAM CS UI you have properly imported the com.ca.jcs.sap.libs pointing at this sapConnectorLibsOsgi.jar.
When you click on a SAP R3 Endpoint in Provisioning Manager, you get the following errors:
" java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError:
C:\Program Files (x86)\CA\Identity Manager\Connector Server\data\cache\org.eclipse.osgi\bundles\<nnn>\<m>\.cp\sapjco3.dll:
The application has failed to start because its side-by-side configuration is incorrect.
Please see the application event log for more detail.
The application event log shows the following "SideBySide" error message:
" Activation context generation failed for "C:\Program Files (x86)\CA\Identity Manager\Connector Server\data\cache\org.eclipse.osgi\bundles\<nnn>\<m>\.cp\sapjco3.dll".
could not be found. Please use sxstrace.exe for detailed diagnosis."
Note: <nnn>\<m> depends on your custom implementations.
The SAPJCO3.DLL needs to call MSVCR80.DLL (Microsoft Visual C Runtime).
But this dependency is not found; The following file is expected to be found:
Since this dependency is missing the SAPJCO3.DLL cannot be loaded.
Download "Microsoft Visual C++ 2005 Service Pack 1 Redistributable" from the following link:
Download vcredist_x86.exe and also vcredist_x64.exe and run both executable files.