Problem:
With the agent for SharePoint during the Claims (Federation) transaction, the following error is seen in the SSO Policy Server Trace Logs.
[04/13/2016][13:50:26][13:50:26.903][][][][][][4562][3610782608][][][][][][][][][][SmJVMSupport.cpp:472][][][][][][][][][][][][][][][][][][][][][][][][][][][][LogMessage:ERROR:[sm-JavaApi-00960] SmJVMSupport: Error creating JVM - JNI code: -6(JNI_EINVAL)][][][][][][][][][]
Environment:
Single Sign On
Federation
SSO Agent For SharePoint
Cause:
In this case, we found that the JVM process would not start during the federation transaction. Looking at the configuration for JAVA on the policy server, JVMOptions.txt file, we found that the memory settings were set to high values of Xms4096m and mx4096m.
Resolution/Workaround: