In some situations, the default JVM memory allocations can be insufficient on the Policy Server, preventing retrieval of certificates from the key store. If this happens, "JVM - JNI code: -1(JNI_ERR)" errors are written to the Policy Server log.
Workaround
Add a line specifying appropriate the minimum and maximum JVM memory allocation pool sizes to the JVMOptions.txt file in SOA_HOME\siteminder\config using the following parameters:
Specifies the minimum size of the JVM memory allocation pool. Set this value to a multiple of 1024 that is greater than 1MB. As a general rule, set minimum heap size (-Xms) equal to the maximum heap size (-Xmx).
Specifies the maximum Java heap size. Set this value to a multiple of 1024 that is greater than 1MB.
For example:
-Xms128m -Xmx128m
Note: For complete information about the settings contained in the JVMOptions.txt file, see your Java documentation.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |