I earlier discussed about OAMCFGTOOL, If you are integrating Fusion Middleware 10g/11g (SOA, WebCenter, OBIEE..) with OAM 10g and using Automated Script like “java -jar $MW_HOME/ oracle_common/ modules/ oracle.oamprovider_11.1.1/ oamcfgtool.jar …….” and get errors like below then make sure that OAM 10g is already configured with LDAPserver (one you are using in oamcfgtool.jar)
Note : Do NOTuse OAMCFGTOOL.JAR to integrate Fusion Middleware with OAM 11g (use RREG or OAMConsole)
.
___E_R_R_O_R___
INFO: Processed input parameters
17-Apr-2011 13:34:03 oracle.security.oam.oamcfg.OAMCfgGlobalConfigHandler constructGlobalConfig INFO: Could not initialize global config::OAMCFG-60024: The LDAP operation failed.OAMCFG-60014: Oracle Access Manager is not configured with this directory.::OAMCFG-60014: Oracle Access Manager is not configured with this directory.17-Apr-2011 13:34:03 oracle.security.oam.oamcfg.OAMCfgTool main WARNING: OAMCFG-60083: OAM Configuration did not complete successfully. Refer log for details17-Apr-2011 13:34:03 oracle.security.oam.oamcfg.OAMCfgTool main WARNING: Stack trace::
oracle.security.oam.oamcfg.db.OAMCfgLDAPUtil:getOAMBase() in file OAMCfgLDAPUtil.java:265
oracle.security.oam.oamcfg.OAMCfgGlobalConfigHandler:intializeGlobalConfig() in file OAMCfgGlobalConfigHandler.java:1156
oracle.security.oam.oamcfg.OAMCfgGlobalConfigHandler:constructGlobalConfig() in file OAMCfgGlobalConfigHandler.java:1785
oracle.security.oam.oamcfg.impl.OAMCfgToolConfigHandler:handleConfig() in file OAMCfgToolConfigHandler.java:68
oracle.security.oam.oamcfg.OAMCfgTool:main() in file OAMCfgTool.java:15417-Apr-2011 13:34:03 oracle.security.oam.oamcfg.OAMCfgTool main WARNING: Root cause: oracle.security.oam.oamcfg.OAMCfgException: OAMCFG-60014: Oracle Access Manager is not configured with this directory.__________
Fix: Make sure OAM 10g is already configured with LDAPserver (one you are using in oamcfgtool.jar)
If you are using OAM 11g then use RREG (Remote Registration Tool) or OAM Console to register Webgate Instance.