“Exception In Reading Artifacts” On OamMigrate Command

(Doc ID 1925487.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Access Manager - Version and later
Information in this document applies to any platform.


We have an 11gR2 environment and we want migrate the artifacts from 10g to 11g.

Following the manual http://docs.oracle.com/cd/E27559_01/doc.1112/e28183/oam_mig.htm#CHDBCEBC, we create the properties file “oam_migration.properties” .

When we open C:\Program Files\NetPoint\access\oblix\config\ldap file we have two entry “ldapRootPasswd” and “newldapRootPasswd” , so we have try with the both ones configuring oam_migration.properties section related to  “config_store_password”:

1.      Using “ldapRootPasswd” the response of the command oamMigrate is the error message :
Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid
      at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3067)
      at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)
      at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2815)
      at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2729)
      at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:296)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
2.      Using “newldapRootPasswd”, the response of the command oamMigrate is the error message:
java.lang.RuntimeException: Exception in reading artifacts.
      at oracle.security.am.migrate.oam.reader.ReaderImpl.run(ReaderImpl.java:
      at java.lang.Thread.run(Thread.java:662)
Caused By: oracle.security.am.migrate.oam.exceptions.OAMMigrationException: [LDA
P: error code 49 - Invalid Credentials]

Because of above oammigrate command is failing


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms