The timeout configuration does not adequately accommodate the migration process.


The migration of identity store fails with the following timeout error message.

vra-cafe:~/bin # ./migrate-identity-stores
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: com/vmware/identity/idm/InvalidArgumentException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(
at java.lang.Class.privateGetMethodRecursive(
at java.lang.Class.getMethod0(
at java.lang.Class.getMethod(
at sun.launcher.LauncherHelper.validateMainClass(
at sun.launcher.LauncherHelper.checkAndLoadMain(
Caused by: java.lang.ClassNotFoundException: com.vmware.identity.idm.InvalidArgumentException
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
... 7 more


The configuration timed out before the migration process could successfully complete.


  1. Open a command-line prompt.
  2. Open the executable migrate-identity-stores script.
  3. Scroll to the bottom of the script and locate the execution of a java command.

    For example, exec "$JAVACMD" $JAVA_OPTS -Xms256m -Xmx512m -Dverbose=false -Dlog4j.configurationFile=log4j2.xml

  4. Increase the system property value for the client socket timeout to one hour.


  5. Run the migrate-identity-stores script on the Single-sign on 2.0 server.

What to do next

Start the migration process.