CAS is not working with Java 1.7 on Windows
If Guardium change audit system is not working
with Java version 1.7 on Windows, copy msvcr100.dll to your CAS bin
folder.
Symptoms
Guardium CAS works with older Java versions but not with Java 1.7.
Causes
msvcr100.dll is missing from <GUARDIUM STAP directory>\cas\bin\
Environment
Guardium CAS on Windows is affected.
Resolving the problem
To resolve the problem, complete the following steps.
- Find the path where Java 1.7 is installed on your system such as C:\Program Files (x86)\Java\jre7\bin
- Find the location of the library jvm.dll within the Java path found in the previous step.
- Edit the cas.cfg file in the <CAS directory>\conf directory. For example, C:\Program Files (x86)\GUARDIUM_STAP\cas\conf\cas.cfg is a typical file path.
- Find the line corresponding to the JVM such as ;JVM=c:\program files\java\jre1_2_3\bin\client\jvm.dll.
- Remove the semicolon from the beginning of the line. Then, set
the JVM to the path of the library jvm.dll in
step 2.
JVM=C:\Program Files (x86)\Java\jre7\bin\server\jvm.dll
. - Copy msvcr100.dll from the bin folder in your Java 7 installation directory to your <CAS directory>\bin folder. For example, copy C:\Program Files (x86)\Java\jre7\bin\msvcr100.dll to C:\Program Files (x86)\Guardium\GUARDIUM_STAP\cas\bin\msvcr100.dll.
- Restart the change audit system.
Note: This is only needed for Java version 1.7. For older versions
of Java, this step is not needed.