Previous Topic: Signing Not Working for SAML Session Tickets in SOAP Envelope (74036)

Next Topic: Operation-Level Policy Changes Not Committed In Certain Situation When Configuring Application Policy From WSDL (69006)

"JVM - JNI code: -1(JNI_ERR)" Errors in Policy Server Log (68569)

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:

-Xms

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).

-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.