Description:
Missing the MSVC libraries can lead to some errors at various moments.
For example, you could get an HTTP Error 500 when trying to register the SiteMinder Administrative UI.
In the smps.log, you would see messages like:
2010-01-25 16:28:03,275 INFO [STDOUT] FATAL ERROR: Exception from System.loadLibrary java.lang.UnsatisfiedLinkError:
D:\Applis\jboss-4.2.3.GA\server\default\deploy\iam_siteminder.ear\library\smcommonutil.dll: Can't find dependent libraries
2010-01-25 16:28:03,275 INFO [STDOUT] FATAL ERROR: Exception from AgentAPI.initialize() java.lang.UnsatisfiedLinkError: initialize
2010-01-25 16:28:03,275 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/iam/siteminder].[default]] Servlet.service() for servlet default threw exception java.lang.UnsatisfiedLinkError: javaagent_api_init
Solution:
Microsoft Visual C++ (MSVC) Libraries are required by SiteMinder in order to function properly. However, up to SiteMinder 12.2, the MSVC libraries are not installed by the installer, and they are not present on Windows by default. From MSVC 8.0(Coming Releases) we will have a distributable exe which Installer will run to make sure that MSVC 8.0 files are present on the system.
The DLLs which are needed are:
And these file should be under C:\windows\system32 folder.
If you are missing those DLLs, you can find them under
<install_dir>/IAM Suite\siteminderWAM\agentframework_backup\win32.
Copy these two files to C:\windows\system32 and restart the application server and register WAMUI with PS.