OIM 11g installation

HI All,
I am trying to install OIM 11g but I am getting following error when I am trying to run "OUI configuration wizard" while configuring database
INST-6177: OIM Schema version is lower than the expected value
Create OIM 11g schema using Repository Creation Utility and proceed with configuration.
Environment:
OS:Windows Server 2003
Database:Oracle 11g R2
Application Server:wls1033_win32
RCU utiltity:ofm_rcu_win_11.1.1.3.2_disk1_1of1
Thanks in advance.

Hi,
How did you install OIM Schema.
I' m running RCU tool and selected Identity Management. All i see is OID and OIF. I don' t see OIM Schema.
The documentation says that The SOA Infrastructure schema, the User Messaging Service schema, and the Metadata Services schema are also selected, by default upon selecting Identity Management. Thats not happening either.
Thanks.
- Kishan

Similar Messages

  • OIM 11g installation : Create Oracle Internet Directory Failed

    Hi, everyone,
    I have try to install OIM 11g for many times , but also error happened....
    I did like follow:
    1, install OS, window 2008 R2 64bit.(I have install oracle database 11g on another machine.)
    2, install weblogic 10.3.3 (without config domain)
    3, install OIM 10.1.1.2 64bit (without config, only software)
    4, install OIM patch set2 10.1.1.3 64bit
    5, use config.bat to config...
    select the new domain ...
    but , when start the Oracle Internet Directory , error happened and message like followed..
    AdminServer port is 7001
    trying to connect to TPC3013 7001
    Successful
    getDomainRuntimeMBeanServerConnection ...
    Connecting to Domain runtime ...
    trying to connect to TPC3013 7001
    Successfully connected to the Domain Runtime ...
    trying to connect to TPC3013 7001
    Successful
    MBean Server Connection is :javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection@5e83450d
    TPC3013 7001
    Instance asinst_1 already exists, continuing with component creation
    C:\Oracle\Middleware\Oracle_IDM1 C:\Oracle\Middleware\asinst_1 asinst_1
    oracle.as.config.ProvisionException: OID-23663
         at oracle.iam.management.oid.install.wls.OIDComponentHelper.setSuperUserCredentials(OIDComponentHelper.java:2267)
         at oracle.iam.management.oid.install.wls.OIDComponent.postCreateConfig(OIDComponent.java:343)
         at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:145)
         at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:73)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv._createComponent(ASInstanceProv.java:401)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createComponent(ASInstanceProv.java:358)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:136)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:522)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:438)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:865)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.ldap.util.UtilException: NamingException encountered in ldapModify [LDAP: error code 32 - No Such Object]
         at oracle.ldap.util.Util.ldapModify(Util.java:2555)
         at oracle.iam.management.oid.install.wls.OIDComponentHelper.setSuperUserCredentials(OIDComponentHelper.java:2254)
         ... 19 more
    help, thanks.

    I think this
    +Caused by: oracle.ldap.util.UtilException: NamingException encountered in ldapModify [LDAP: error code 32 - No Such Object]+
    shows the cause of error.
    I entered dc=com for OVD and realm: dn=myrealm for OID. Is it correct?
    Edited by: mfedo on Apr 15, 2011 12:43 AM

  • OIM 11g installation: oim-config.xml was not found in MDS Repository

    Hi,
    I just installed Oracle Identity Manager 11g (the latest version) on out test system. The installation worked fine. I can start the admin server as well as the soa_server. But when I start the oim_server1, the deployment of oim fails with the following error message:
    ####<Aug 18, 2010 3:33:22 PM CEST> <Error> <Deployer> <oim11g> <oim_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1282138402834> <BEA-149205> <Failed to initialize the application 'oim [Version=11.1.1.3.0]' due to error oracle.iam.platform.utils.OIMAppInitializationException:
    OIM application intialization failed because of the following reasons:
    oim-config.xml was not found in MDS Repository.
    Unable to find keystore "default-keystore.jks" in <DOMAIN_HOME>/config/fmwconfig/.
    Unable to find keystore ".xldatabasekey" in <DOMAIN_HOME>/config/fmwconfig/.
    Password for OIMSchemaPassword is not seeded in CSF.
    Password for xell is not seeded in CSF.
    Password for DataBaseKey is not seeded in CSF.
    Password for JMSKey is not seeded in CSF.
    Password for .xldatabasekey is not seeded in CSF.
    Password for default-keystore.jks is not seeded in CSF.
    Password for SOAAdminPassword is not seeded in CSF.
    oracle.iam.platform.utils.OIMAppInitializationException:
    OIM application intialization failed because of the following reasons:
    oim-config.xml was not found in MDS Repository.
    Unable to find keystore "default-keystore.jks" in <DOMAIN_HOME>/config/fmwconfig/.
    Unable to find keystore ".xldatabasekey" in <DOMAIN_HOME>/config/fmwconfig/.
    Password for OIMSchemaPassword is not seeded in CSF.
    Password for xell is not seeded in CSF.
    Password for DataBaseKey is not seeded in CSF.
    Password for JMSKey is not seeded in CSF.
    Password for .xldatabasekey is not seeded in CSF.
    Password for default-keystore.jks is not seeded in CSF.
    Password for SOAAdminPassword is not seeded in CSF.
         at oracle.iam.platform.utils.OIMAppInitializationListener.preStart(OIMAppInitializationListener.java:145)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
    Has anybody seen this error before or knows how to fix it? Thanks for your help in advance!
    Best regards
    Tom

    This also solved my issue. If you can backup the .xldatabasekey file before you reinstall this will allow the OIM application to read the OIM database. I was successfully able to run rm -Rf and wipe my entire Middleware directory. Then I reinstalled ALL of OIM and SOA back to the same VM. I saved the .xldatabasekey file before hand and dropped it right back to the same folder before I ran the rm -Rf command later after the OIM Domain was installed. Finally, as mentioned above, I logged into EM and found that I needed to add the .xldatabasekey "password" and simply used the same password that I entered during the OIM configure steps for the keystore. Remember the .xldatabasekey password IS NOT the xelsysadm password, but the KEYSTORE password. They are different. I am now able to log into OIM and I can see all the pre-existing users. Thanks for the help!

  • OIM 11g installation failed: Error Restart domain step failed

    Hi,
    I'm stuck in OIM installation at the following point. Please help.
    Here is the description of error:
    Bootstrap Domain Configuration
    Log
    Config Action Bootstrap Domain Configuration started
    Create Domain
    Log
    Create Domain
    Step Create Domain started
    Create Domain
    Step Create Domain ended successfully
    Create ODS Managed Server
    Log
    Create ODS Managed Server
    Step Create ODS Managed Server started
    Create ODS Managed Server
    Step Create ODS Managed Server ended successfully
    Create OIF Managed Server
    Log
    Step Create OIF Managed Server started
    Step Create OIF Managed Server ended successfully
    Stop Managed Server
    Log
    Stop Managed Server
    Step Stop Managed Server started
    Stop Managed Server
    Step Stop Managed Server ended successfully
    Apply Java Required Files
    Log
    Step Apply Java Required Files started
    Step Apply Java Required Files ended successfully
    Apply EM Template
    Log
    Step Apply EM Template started
    Step Apply EM Template ended successfully
    Restart Domain
    Error
    Error while starting the domain.
    Cause:
    An error occurred while starting the domain.
    Action:
    See logs for more details.
    Step Restart Domain failed
    Log
    Step Restart Domain started
    Error while starting the domain.
    Cause:
    An error occurred while starting the domain.
    Action:
    See logs for more details.
    Step Restart Domain failed
    Following is the description from the log file: C:\Program Files (x86)\Oracle\Inventory\logs\install2012-06-15_02-17-54AM.log
    [2012-06-15T04:21:41.828-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 19] [ecid: 0000JVjWcgOFs1WFLz7U8A1FqjrQ00000A,0]
    [2012-06-15T04:21:41.828-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 19] [ecid: 0000JVjWcgOFs1WFLz7U8A1FqjrQ00000A,0] [[
    oracle.as.provisioning.util.ConfigException:
    Error while starting the domain.
    Cause:
    Starting the Admin_Server timed out.
    Action:
    See logs for more details.
         at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
         at oracle.as.provisioning.weblogic.ASDomain.startDomain(ASDomain.java:3150)
         at oracle.as.provisioning.engine.WorkFlowExecutor._startStopServersAndApps(WorkFlowExecutor.java:830)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:483)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.idm.install.config.BootstrapConfigManager.doExecute(BootstrapConfigManager.java:1105)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
         at java.lang.Thread.run(Thread.java:662)
    Thanks in advance for help.
    Thanks,
    Prasad Shinde

    Your problem sounds somewhat like mine, although not exactly. In my case it seems as if my CD/DVD drive didn't like the hologram on my Windows XP install CD. I solved this by using Disk Utility to make a disk image of the Windows DVD and then burning the disk image onto a new DVD with an opaque "label". That solved that problem.
    A further problem occurred after that. When I got to the screen that told me to hit "Enter" to start the installation process my keyboard was unresponsive. I solved this by buying a cheap Windows keyboard. That solved that problem and I now have Windows XP running just fine.
    I think that you'll find that Apple tech support isn't very responsive to these sort of problems. I don't have Apple Care but was willing to pay my $49 for tech support. I ended up talking to a "Boot Camp specialist". He was polite but told me that it was "a windows problem" and that Apple didn't support Windows. I agree that Apple can't support windows but it seemed like my two problems were "Mac problems". Anyway, after tearing my hair out for 4 days I finally got it done. I have to admit that I'm not happy with apple tech support.

  • OIM 11g Installation - Oracle_IDM1/bin/config.sh : segmentation fault

    Hello,
    I'm installing all the components on a single machine : CentOS 5.5 64bits (equivalent to RH5.5).
    Here are the steps that I followed :
    1) I installed Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 and WebLogic Server Version: 10.3.3.0
    2) I applied the Repository Creation Utility ofm_rcu_linux_11.1.1.3.3
    3) I installed SOA Suite ofm_soa_generic_11.1.1.2.0 then patched it using ofm_soa_generic_11.1.1.3.0 (Installation without configuration)
    4) I installed Oracle Identity and Access Management ofm_soa_generic_11.1.1.3.0
    5) I created a Weblogic domain using +$ORACLE_MWHOME/Oracle_IDM1/common/bin/config.sh+
    6) I started Weblogic and the Node Manager
    7) When I run the configuration tool cd $ORACLE_MWHOME/Oracle_IDM1/bin then +./config.sh+ I had a segmentation fault error :
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-03-08_02-13-15PM. Please wait ..../config.sh: line 159: 11022 Segmentation fault      $INSTALLER_DIR/runInstaller -weblogicConfig ORACLE_HOME="$ORACLE_HOME" -invPtrLoc $ORACLE_HOME/oraInst.loc -oneclick $COMMANDLINE -Doracle.config.mode=true
    when I run it using strace, I saw that the installer can't find a libc.mo file :
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    write(2, "./config.sh: line 159:  8897 Seg"..., 209./config.sh: line 159:  8897 Segmentation fault      $INSTALLER_DIR/runInstaller -weblogicConfig ORACLE_HOME="$ORACLE_HOME" -invPtrLoc $ORACLE_HOME/oraInst.loc -oneclick $COMMANDLINE -Doracle.config.mode=true
    +) = 209+
    So I made a symbolic link to one that actually exists :
    sudo ln -s /usr/share/locale/en_GB/LC_MESSAGES/libc.mo /usr/share/locale/en/LC_MESSAGES/libc.mo
    Now the installer can find it, but I still have a segfault :
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = 3
    +fstat(3, {st_mode=S_IFREG|0644, st_size=1474, ...}) = 0+
    mmap(NULL, 1474, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b2d76c27000
    close(3)                                = 0
    write(2, "./config.sh: line 159:  9160 Seg"..., 209./config.sh: line 159:  9160 Segmentation fault      $INSTALLER_DIR/runInstaller -weblogicConfig ORACLE_HOME="$ORACLE_HOME" -invPtrLoc ORACLE_HOME/oraInst.loc -oneclick $COMMANDLINE -Doracle.config.mode=true
    +) = 209+
    Any idea on what would be the reason for that ?
    Thanks in advance !

    Translated:
    Not certified means in case of an error, you are on your own. Usual advice, try the same with a certified OS. If the issues persists, you can file a support ticket.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                           

  • OIM 11g Installation: LADP Sync Problem

    I am trying to configure LADP sync with a OID/OVD on a separate machine then OIM. I have 4 vms. The first has oracle database. The second has OIM and SOA. The third has OAM and the admin server. OAM/OIM/SOA/admin all are in same domain. The fourth has OID/OVD in a separate weblogic domain. I have installed the databse and created all necessary schema. I installed and configured OID/OVD. I have also installed OIM/OAM/SOA/admin but am getting an error when running LDAPConfigPostSetup.bat
    [Enter OID admin password:]
    [Enter password for xelsysadm:]
    javax.security.auth.login.LoginException: unable to find LoginModule class: webl
    ogic.security.auth.login.UsernamePasswordLoginModule
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:808)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1
    86)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:6
    80)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLog
    inHandler.java:61)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
    at oracle.iam.platformservice.utils.LDAPConfigPostSetup.<init>(LDAPConfi
    gPostSetup.java:130)
    at oracle.iam.platformservice.utils.LDAPConfigPostSetup.main(LDAPConfigP
    ostSetup.java:91)
    Unable to get either LDAP, OIM connection and reason is:unable to find LoginModu
    le class: weblogic.security.auth.login.UsernamePasswordLoginModule
    The main thing I do not understand is how I'm supposed to start the OIM and OAM servers before running the pre and post configurations If I have not yet configured OIM server which is does not state to do. I tried to configure and run OIM without LDAP sync and I still get the same error.
    Any help would be greatly appreciated thanks in advance.
    Edited by: 792714 on Sep 3, 2010 10:12 AM

    dn: cn=OIM,cn=Products,cn=OracleContext
    changetype: add
    objectclass: orclContainer
    objectclass: top
    cn: OIM
    dn: cn=users,cn=oim,cn=Products,cn=OracleContext
    changetype: add
    objectclass: orclContainer
    objectclass: top
    cn: users
    dn: cn=groups,cn=oim,cn=Products,cn=OracleContext
    changetype: add
    objectclass: orclContainer
    objectclass: top
    cn: groups
    dn: cn=oimadmin,cn=users,cn=oim,cn=products,cn=oraclecontext
    changetype: add
    cn: oimadmin
    sn: Administrator
    givenname: Administrator
    objectclass: top
    objectclass: person
    objectclass: organizationalperson
    objectclass: inetorgperson
    userPassword: %adminpwd%
    dn: cn=oimadmins,cn=groups,cn=oim,cn=products,cn=oraclecontext
    changetype: add
    objectclass: groupOfUniqueNames
    objectclass: orclPrivilegeGroup
    objectclass: top
    cn: oimadmins
    description: OIM administrator role
    uniquemember: cn=oimadmin,cn=users,cn=oim,cn=products,cn=oraclecontext
    dn: %searchbase%
    changetype: modify
    add: orclaci
    orclaci: access to entry by group="cn=oimadmins,cn=groups,cn=oim,cn=products,cn=oraclecontext" (add,browse,delete)
    orclaci: access to attr=(*) by group="cn=oimadmins,cn=groups,cn=oim,cn=products,cn=oraclecontext" (read,search,write,compare)
    dn: cn=changelog
    changetype: modify
    add: orclaci
    orclaci: access to entry by group="cn=oimadmins,cn=groups,cn=oim,cn=products,cn=oraclecontext" (browse)
    orclaci: access to attr=(*) by group="cn=oimadmins,cn=groups,cn=oim,cn=products,cn=oraclecontext" (read,search,compare)
    Did you try oimadmin and the password you set when you ran LDAPConfigPreSetup? That might work.

  • OIM 11g Installation : Configure OIM server failed

    Hi,
    I'm facing problem in configuring the OIM server and Design console.
    Configure OIM Server
    Error
    Exception occured while encrypting the configuration and database
    Step Configure OIM Server failed
    Here is the description of the error from the log file.
    [2012-06-27T07:46:07.015-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptDBContent] ENTRY
    [2012-06-27T07:46:07.015-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] [[
    [OIM_CONFIG] Crypto Provider set to SUNJCE
    [2012-06-27T07:46:07.015-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Load the provider class
    [2012-06-27T07:46:07.015-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Get the instance of KeyStore
    [2012-06-27T07:46:07.015-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Generate the key
    [2012-06-27T07:46:07.046-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Store the keystore to .xlDatabasekey
    [2012-06-27T07:46:07.046-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Create the Database connection
    [2012-06-27T07:46:07.046-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: setDBEncrypted] ENTRY
    [2012-06-27T07:46:07.078-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated[[
    java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:89)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1094)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1040)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1352)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3566)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3692)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:289)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:124)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-06-27T07:46:07.078-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Exception occured in updateMLSLocale method while updating Locale to OIM DB [[
    java.lang.Exception: Exception occured in updateMLSLocale method while updating Locale to OIM DB
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:297)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:124)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:89)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1094)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1040)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1352)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3566)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3692)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:289)
         ... 13 more
    [2012-06-27T07:46:07.078-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Exception occured while encrypting the database [[
    java.lang.Exception: Exception occured while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:138)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured in updateMLSLocale method while updating Locale to OIM DB
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:297)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:124)
         ... 12 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:89)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1094)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1040)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1352)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3566)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3692)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:289)
         ... 13 more
    [2012-06-27T07:46:07.078-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] [[
    [OIM_CONFIG] Database Encrytion failed.
    [2012-06-27T07:46:07.078-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWiPympFs1WFLz7U8A1Fuljj000003,0] Exception[[
    java.lang.Exception: Exception occured while encrypting the configuration and database
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:213)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:138)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         ... 11 more
    Caused by: java.lang.Exception: Exception occured in updateMLSLocale method while updating Locale to OIM DB
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:297)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:124)
         ... 12 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:89)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1094)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1040)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1352)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3566)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3692)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
         at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:289)
         ... 13 more
    Thanks in advance for help.
    Regards,
    Prasad

    Hi Thiago Leoncio and Kerry,
    Thanks guys for the quick reply. I tried it out but it didnt work. The error repeats itself and the configuration fails. I tried both of your methods. This is what i have from the log file.
    Here is the description of the exception :
    [2012-06-29T04:26:23.609-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:23.609-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:23.625-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:24.218-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.[[
    com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptTableColumn(EncryptDataBase.java:499)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:345)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-06-29T04:26:24.218-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:24.218-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:24.234-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.[[
    com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptTableColumn(EncryptDataBase.java:499)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:345)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-06-29T04:26:24.234-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [[
    [OIM_CONFIG] *** Field OSI.OSI_CHILD_OLD_VALUE is being skipped because it is not a Varchar or Char column.
    [2012-06-29T04:26:24.359-07:00] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [SRC_CLASS: EncryptDataBase] [SRC_METHOD: encryptTableColumn] ENTRY
    [2012-06-29T04:26:24.359-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.[[
    com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptTableColumn(EncryptDataBase.java:499)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:345)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-06-29T04:26:24.359-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [[
    [OIM_CONFIG] Get all the columns to encrypt from the SDC table
    [2012-06-29T04:26:24.359-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.[[
    com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:390)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-06-29T04:26:24.359-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] Exception occured in encryptDB method while encrypting the database [[
    java.lang.Exception: Exception occured in encryptDB method while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:411)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:390)
         ... 13 more
    [2012-06-29T04:26:24.359-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] Exception occured while encrypting the database [[
    java.lang.Exception: Exception occured while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:138)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured in encryptDB method while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:411)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         ... 12 more
    Caused by: com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:390)
         ... 13 more
    [2012-06-29T04:26:24.359-07:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] [[
    [OIM_CONFIG] Database Encrytion failed.
    [2012-06-29T04:26:24.359-07:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JWrzSA8Fs1WFLz7U8A1FvOzU000003,0] Exception[[
    java.lang.Exception: Exception occured while encrypting the configuration and database
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:213)
         at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:966)
         at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:538)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:138)
         at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:208)
         ... 11 more
    Caused by: java.lang.Exception: Exception occured in encryptDB method while encrypting the database
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:411)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:132)
         ... 12 more
    Caused by: com.thortech.xl.crypto.tcCryptoException: KeyStore File : C:\Oracle\Middleware\user_projects\domains\oimdomain\config\fmwconfig\.xldatabasekey missing.
         at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
         at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:184)
         at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:172)
         at oracle.as.install.oim.config.util.EncryptDataBase.encryptDB(EncryptDataBase.java:390)
         ... 13 more
    ]]

  • 11g installation for oim & oam

    Explain the steps to install Oracle Indentity Manager & Oracle Access Manager in 11g version?

    Following is high level steps for the same:
    1. Install database
    2. create Schemas using RCU utility
    3. Install weblogic
    4. Install Oracle Fusion middleware components (OIM, OAM etc)
    5. Configure Domains and servers in weblogic
    5. Configure design console
    Refer links below for detailed information:
    http://docs.oracle.com/cd/E21764_01/install.1111/e12002/overview.htm
    OIM 11g installation steps
    Hope this helps.
    regards,
    GP

  • Can  SPML-DSML client (10g) talk to SPML-XSD in OIM 11g?

    Hello.
    I have a SPML client that works with OIM 10g. If I upgrade to OIM 11g, will my client continue to work, or will I need to re-code it?
    I understand OIM 11g supports the newer XSD profile of SPML, but I would hope it is backward compatible with clients written to work with the DSML profile (10g)...But when I got an error when I tried to hit the WS in SPML-XSD with my client, I decided to install the SPML-DSML app (using the SPML-DSML.ear found in my OIM 11g installation, same dir as DSML-XSD.ear).
    The web app shows as Active, however I cannot see any Web Services (tried URL http://<oim-server>:14000/spmlws) ... To confirm, when I open Enterprise Manage 11g, and I do see the app (spml-dsml) under Application Deployments --> Internal Deployments, but when I right click on it to get to Web Services, I get the message "No Web Services are found in the application"...
    I then tried un-installing SPML-XSD, but that did not help...
    Thoughts anybody?
    Edited by: user8663548 on Jul 12, 2012 5:46 PM

    Update:
    I tried again hitting the Web Service in SPML-XSD and saw this error in OIM server log (which I missed the first time, too busy looking at my client app log):
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.wsm.resources.security> <WSM-00069> <The security header is missing. Ensure that there is a valid security policy attached at the client side, and the policy is enabled.>
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.wsm.resources.security> <WSM-00006> <Error in receiving the request: oracle.wsm.security.SecurityException: WSM-00069 : The security header is missing. Ensure that there is a valid security policy attached at the client side, and the policy is enabled..>
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.wsm.resources.enforcement> <WSM-07607> <Failure in execution of assertion {http://schemas.oracle.com/ws/2006/01/securitypolicy}wss-username-token executor class oracle.wsm.security.policy.scenario.executor.WssUsernameTokenScenarioExecutor.>
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.wsm.resources.enforcement> <WSM-07602> <Failure in WS-Policy Execution due to exception.>
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.wsm.resources.enforcement> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=spml-xsd, composite=null, modelObj=SPMLService, policy=oracle/wss_username_token_service_policy, policyVersion=null, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss-username-token.>
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.webservices.service> <OWS-04086> <oracle.fabric.common.PolicyEnforcementException: InvalidSecurity : error in processing the WS-Security security header
    Getting closer!
    Edited by: user8663548 on Jul 12, 2012 5:45 PM

  • Not able to login to OIM 11g

    Hi,
    My OIM 11g installation was working fine. Suddenly I started getting the below error while trying to login to OIM admin and design console
    <Sep 2, 2012 6:34:11 PM IST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\oracle\middleware\user_projects\domains\idmdomain\servers\oim_server1\adr\diag\ofm\idmdomain\oim_server1\incident\incdir_5 with a lockout minute period of 1.>
    <Sep 2, 2012 6:34:23 PM IST> <Error> <XELLERATE.ACCOUNTMANAGEMENT> <BEA-000000><Class/Method: tcDefaultDBEncryptionImpl/initKeyStore encounter some problems: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oim,keyName=.xldatabasekey read)
    java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oim,keyName=.xldatabasekey read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
    at java.security.AccessController.checkPermission(AccessController.java:546)
    at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:436)
    at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:496)
    at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:519)
    at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:611)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.containsCredential(SspCredentialStore.java:299)
    at oracle.iam.platform.utils.config.OIMPrivilegedExceptionAction.run(CSFCredentialProvider.java:205)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.iam.platform.utils.config.CSFCredentialProvider.getPassword(CSFCredentialProvider.java:75)
    at oracle.iam.platform.utils.config.standalone.StandAloneCryptoConfig.getPassword(StandAloneCryptoConfig.java:80)
    at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)
    at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:96)
    at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.encrypt(tcDefaultDBEncryptionImpl.java:193)
    at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:118)
    at com.thortech.xl.crypto.tcCryptoUtil.encrypt(tcCryptoUtil.java:275)
    at oracle.iam.platform.auth.impl.Authenticator.encrypt(Authenticator.java:185)
    at oracle.iam.platform.auth.impl.Authenticator.authenticateWithPassword(Authenticator.java:160)
    at oracle.iam.platform.auth.impl.Authenticator.authenticate(Authenticator.java:133)
    at oracle.iam.platform.auth.providers.wls.OIMAuthLoginModule.login(OIMAuthLoginModule.java:44)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
    at $Proxy25.login(Unknown Source)
    at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.login(WLSJAASLoginServiceImpl.java:89)
    at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticateJAASAuthenticationServiceImpl.java:82)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
    at $Proxy43.authenticate(Unknown Source)
    at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticateWLSJAASAuthenticationServiceWrapper.java:40)
    at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:348)
    at weblogic.servlet.security.internal.SecurityModule.checkAuthenticate(SecurityModule.java:251)
    at weblogic.servlet.security.ServletAuthentication.login(ServletAuthentication.java:413)
    at oracle.idm.common.login.SignInBean.doLogin(SignInBean.java:88)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invokeMethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhaseContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:788)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:306)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.OIMUnauthContextFilter.doFilter(OIMUnauthContextFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    <Sep 2, 2012 6:34:23 PM IST> <Error> <OIM Authenticator> <BEA-000000> <Error encrypting password>
    I uninstalled the whole OIM, SOA and DB and installed the same again but I am still getting the same error.
    Please help me in solving this issue as I am struck and don't know how to process further.
    I am using 64 bit installation of OIM.
    Thanks in advance.

    Have you gone through below.
    1. Check the file permissions on ".xldatabasekey" in <DOMAIN_HOME>/config/fmwconfig/
    2. Check the credential store map in EM. Further reading: http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14308/handlinglcm.htm#CIAEFAGF
    Article 1327577.1, talk about "required steps to be able to deploy a custom J2EE application that is able to interact with the Credential Store Framework to retrieve user credential"

  • OIM 11g high availability - is LDAP required for Weblogic credential store

    Hi all,
    Trying to understand whether we need an LDAP in an HA architecture with [OIM/SOA] - [OIM/SOA/Admin]?
    The HA guide: http://docs.oracle.com/cd/E14571_01/core.1111/e10106/imha.htm#CDEFECJF
    Does not mention this requirement, in fact it specifically says you only need an LDAP if: "only for LDAPSync-enabled Oracle Identity Manager installations and for Oracle Identity Manager installations that integrate with Oracle Access Manager. "
    However I have seen mention of issues with viewing tasks in SOA from OIM:
    How To : ORABPEL-30504: After Oim 11g Installation, Approval Tasks Cannot Be Read Through OIM Console
    Stating then when using OIM, SOA and an isolated Admin server, you need to switch to a proper LDAP as a credential and policy store:
    http://docs.oracle.com/cd/E17904_01/core.1111/e12036/net.htm#CIHIDJCC
    "2.4 LDAP as Credential and Policy Store
    With Oracle Fusion Middleware, you can use different types of credential and policy stores in a WebLogic domain. Domains can use stores based on XML files or on different types of LDAP providers. When a domain uses an LDAP store, all policy and credential data is kept and maintained in a centralized store. However, when using XML policy stores, the changes made on managed servers are not propagated to the Administration Server unless they use the same domain home.
    An Oracle Fusion Middleware SOA Suite Enterprise Deployment Topology uses different domain homes for the Administration Server and the managed server as described in the Section 2.3, "Shared Storage and Recommended Directory Structure." Derived from this, and for integrity and consistency purposes, Oracle requires the use of an LDAP as policy and credential store in context of Oracle Fusion Middleware SOA Suite Enterprise Deployment Topology. To configure the Oracle Fusion Middleware SOA Suite Enterprise Deployment Topology with an LDAP as Credential and Policy store, follow the steps in Section 11.1, "Credential and Policy Store Configuration."
    So which is it does anyone know?
    Thanks,
    Wayne.
    Edited by: wblacklock on May 17, 2012 6:12 AM

    Note that you can use the internal LDAP that comes with WebLogic, for your users and groups if you want.
    When you have multiple domains, you have a problem with this set-up as the internal LDAP is coupled to
    a specific domain. This means that users you created in one domain are not visible in the other. When using
    a separate LDAP that contains the users. You can configure in each domain an authenticator that points
    to the LDAP. In this way you can share to user accross multiple domains.
    When you are planning to use one domain you can stick with the internal LDAP if you want.
    An example set-up (that uses access manager not identity manager) can be found here: http://middlewaremagic.com/weblogic/?p=7819,
    which might help you in how to proceed.

  • OIM 11g - Install Question

    Hi All,
    Is it possible to install just the files for an OIM 11g installation, but connect it to an existing database?
    For example, if I have a current environment, and I managed to break my WLS to the point where I can't start it, is there any way I can reinstall Weblogic with OIM/SOA but not lose all my OIM configurations?
    Thanks

    The way to do it is to follow the same procedure which you used while installing a new environment but leave the RCU part where you create the schema(s). Once WLS, IAM, SOA are installed you would have to configure IAM. At that step where you configure IAM via the config wizard and provide the db details, there it would prompt you a warning saying that the database is already encrypted from previous installation and that if you want to continue. If you want to continue then you need to copy the .xldatabase key from the previous installation (fwmconfig folder from Oracle_IDM home if I remember it correctly) into the new installation directory. Once copied, you would be able to start OIM successfully.
    The problem with SOA as I understand is that it does not keep the private key into some key file but rather keeps it into the credential map (in the mbeans). If you look at the cretential map of SOA via EM on you current installation, you would see a bunch of passwords saved there. The problem thus is to get the unencrypted value from that and once new installation is complete (pointing to the existing db), update its credential map.
    I think there should be some jps config for it, but haven't got the time to dig around it. Let us know if you get to find anything.
    HTH,
    BB

  • OIM 11g R2 installation Issue. OIM Schema creation failed using RCU 11.1.2

    I have been trying to install OIM 11g R2 on a Windows server 2008 R2 64 Bit and have been encountering the following error during the OIM schema creation. The other schemas, such as Metadata, SOA, user messaging services and other associated schema creation was successful. But, the OIM schema creation was taking more than 2 minutes and finally it fails with the below error.
    RCU-6130: Action failed
    RCU-6135: Error while trying to execute java action.
    Components used:
    OS: Windows Server 2008 R2 64 Bit
    DBS: 11gR2 (11.2.0.1)
    RCU: 11.1.2
    The first error occured was ora-12637 packet receive failed followed by Table or View does not exist. I could not fetch much information from the oim and rcu.log.
    I have set the processes, open_cursors and session_cached_cursors as suggested in the preinstallation step of OIM 11g R2 installation.
    Any pointers on this will be highly appreciated.
    Thanks,
    Srini

    Copy the msvcr71.dll file from rcuHome\jdk\jre\bin inside rcu installer and paste it in C:\Windows\SysWOW64.
    Try running the rcu again with the new user i.e. instead of DEV_OIM, run it with DEV_OIM1.
    Or drop the DEV_OIM user first and then use the same user.

  • Error running Organization Lookup Recon in OIM 11g R2 with Active Directory

    Hi all,
    I have an implementation of OIM 11g R2, with an Active Directory 11.1.1.5.0 connecting to an instance of Active Directory on Windows Server 2008. I am trying to run the "Active Directory Organization Lookup Reconciliation" scheduled task, but the job fails with this error:
    oracle.iam.connectors.icfcommon.exceptions.IntegrationException: Connector ConnectorKey( bundleName=ActiveDirectory.Connector bundleVersion=1.1.0.6380 connectorName=Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector ) not found
    This is the full stack trace from the oim_domain.log file:
    oracle.iam.connectors.icfcommon.exceptions.IntegrationException: Connector ConnectorKey( bundleName=ActiveDirectory.Connector bundleVersion=1.1.0.6380 connectorName=Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector ) not found
    at oracle.iam.connectors.icfcommon.ConnectorFactory.createConnectorFacade(ConnectorFactory.java:176)
    at oracle.iam.connectors.icfcommon.recon.AbstractReconTask.init(AbstractReconTask.java:115)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:116)
    at sun.reflect.GeneratedMethodAccessor739.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.iam.scheduler.impl.quartz.QuartzJob$TaskExecutionAction.run(QuartzJob.java:266)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    The Connector Server is installed on the AD instance, and the key has been set, and used appropriately in the Active Directory Connector Server IT Resource in OIM.
    Any advice on how to resolve this error or on any possible causes would be much appreciated, thank you.

    From the installation media, copy and extract contents of the bundle/ActiveDirectory.Connector-1.1.0.6380.zip file to the CONNECTOR_SERVER_HOME directory
    Refer http://docs.oracle.com/cd/E22999_01/doc.111/e20347/deploy.htm#CHDDJGIG

  • Assistance required for deploying a validation handler in OIM 11g

    Hi All,
    I wanted to deploy a validation handler in OIM 11g so that I can check that the telephone number that is entered by the user has length of ten and all of them are digits.
    I created a new eclipse workspace called TelephoneValidationHandler on the OIM Host machine. I created a new Java project in the workspace with the name TelephoneValidationHandler. I created a class called TelephoneValidationHandler in this project. Put in the following code in this java file -
    /* TelephoneValidationHandler.java */
    package com.custom;
    import java.io.Serializable;
    import java.util.HashMap;
    import oracle.iam.platform.kernel.ValidationException;
    import oracle.iam.platform.kernel.ValidationFailedException;
    import oracle.iam.platform.kernel.spi.ValidationHandler;
    import oracle.iam.platform.kernel.vo.BulkOrchestration;
    import oracle.iam.platform.kernel.vo.Orchestration;
    public class TelephoneValidationHandler implements ValidationHandler{
              @Override
              public void initialize(HashMap<String, String> arg0) {
              // TODO initialization
              System.out.println("***********************************************************************************");
              System.out.println("************************** Init validate event handler ****************************");
              System.out.println("***********************************************************************************");
              @Override
              public void validate(long processId, long eventId, Orchestration orchestration)
              throws ValidationException, ValidationFailedException {
              System.out.println("************************** Beginning of validation *************************");
              HashMap<String, Serializable> parameters = orchestration.getParameters();
              String telephone = (String) parameters.get("Telephone Number");     
              //String regex="[0-9]{10}";
                   if (telephone.length()==10)
                        for(int i=0; i<10; i++)
                             if (Character.isDigit(telephone.charAt(i))){
                                  continue;
                             else
                                  throw new ValidationFailedException();
                        System.out.println("****************** Validated *********************");
              else
                   System.out.println("*************EXCEPTION OCCURRED*******************");
              throw new ValidationFailedException();
              System.out.println("************************** End of validation *************************");
              @Override
              public void validate(long processId, long eventId, BulkOrchestration arg2)
                        throws ValidationException, ValidationFailedException {
              // TODO - N/A
                   System.out.println("************************** INSIDE BULK VALIDATE ***************************");
    I included the files in reference libraries as - right click on the project, click on Build Path -> Configure Build Path -> Add External JARs. In this I selected the jars that were needed to compile the code successfully and i selected them from the place where they exist in the OIM host for eg. C:\Oracle\Middleware\server\platform\iam-platform-kernel.jar path for iam-platform-kernel.jar.
    Now i created a jar file out of this compiled project by right clicking on the project name and clicking Export -> Java -> JAR File. Selected the .classpath and .project files to export as well. Selected first option 1. Export generated class files and resources option. Other three existing options apart from this one which i selected were: 2. Export all output folders for checked projects. 3. Export Java source files and resources 4. Export refactorings for checked projects. So with the 1st option selected, I clicked next and then selected Generate New Manifest file in the final screen and clicked on Finish. Exported this by the name TelephoneValidationHandler.jar to desktop. If I open this jar by changing extension to zip, I see the following folder structure inside it :
    com -> custom -> TelephoneValidationHandler.class
    META-INF -> MANIFEST.INF
    .classpath
    .project
    I created a folder called lib and placed this jar file inside this lib folder. Then outside this lib folder, i placed the plugin.xml file created for this as follows:
    plugin.xml ->
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <plugins pluginpoint="oracle.iam.platform.kernel.spi.ValidationHandler">
    <plugin class="com.custom.TelephoneValidationHandler" version="1.0" name="TelephoneValidationHandler">
    </plugin>
    </plugins>
    </oimplugins>
    Now I selected the lib folder and plugin.xml and created a new zip file by the name TelephoneValidationHandler.zip which will be used for plugin registration. The zip folder directly inside it has the structure - plugin.xml file and lib folder having the jar file inside it.
    lib -> TelephoneValidationHandler.jar
    plugin.xml
    Now I went to the directory C:\Oracle\Middleware\server\plugin_utility and opened the ant.properties file in that and put in the values as:
    ant.properties ->
    # The installation directory for WLS
    wls.home=C:\\Oracle\\Middleware\\wlserver_10.3
    # The home directory for OIM. In case of shiphome its same as install directory
    oim.home=C:\\Oracle\\Middleware\\Oracle_IDM1\\server
    #login file name with path.
    login.config=C:\\Oracle\\Middleware\\Oracle_IDM1\\server\\config\\authwl.conf
    Now I opened a cmd prompt, traversed to C:\Oracle\Middleware\server\plugin_utility directory and typed in "ant -f pluginregistration.xml register" and executed this command.
    It asked for oim userid - xelsysadm, oim password: Password, server url: t3://oimhost:14000, name of plugin file with path: C:\\temp\\TelephoneValidationHandler.zip
    I got these errors in the redirector.out file in C:\Oracle\Middleware\server\plugin_utility :
    Error in registering the plugin. null
    Error occured during the use of plugin registering utility.
    And this is the detailed description in the redirector.err in C:\Oracle\Middleware\server\plugin_utility :
    Jul 17, 2012 6:05:58 PM PluginUtility main
    SEVERE: Exception occured {0}
    java.lang.NullPointerException
         at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
         at java.util.regex.Matcher.reset(Matcher.java:291)
         at java.util.regex.Matcher.<init>(Matcher.java:211)
         at java.util.regex.Pattern.matcher(Pattern.java:888)
         at weblogic.utils.classloaders.FilteringClassLoader.matchesClassFilterList(FilteringClassLoader.java:213)
         at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:97)
         at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at oracle.iam.platform.pluginframework.PluginReader.validateInstance(PluginReader.java:303)
         at oracle.iam.platform.pluginframework.PluginReader.validatePluginsFromFile(PluginReader.java:363)
         at oracle.iam.platform.pluginframework.PluginReader.readPluginsFromZIP(PluginReader.java:147)
         at oracle.iam.platform.pluginframework.PluginReader.readPlugins(PluginReader.java:66)
         at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPlugin(PluginManagerImpl.java:74)
         at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPlugin(PlatformServiceImpl.java:129)
         at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy528.registerPluginx(Unknown Source)
         at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginx(Unknown Source)
         at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Jul 17, 2012 6:05:58 PM PluginUtility main
    SEVERE: Exception occured {0}
    java.lang.NullPointerException
         at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
         at java.util.regex.Matcher.reset(Matcher.java:291)
         at java.util.regex.Matcher.<init>(Matcher.java:211)
         at java.util.regex.Pattern.matcher(Pattern.java:888)
         at weblogic.utils.classloaders.FilteringClassLoader.matchesClassFilterList(FilteringClassLoader.java:213)
         at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:97)
         at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at oracle.iam.platform.pluginframework.PluginReader.validateInstance(PluginReader.java:303)
         at oracle.iam.platform.pluginframework.PluginReader.validatePluginsFromFile(PluginReader.java:363)
         at oracle.iam.platform.pluginframework.PluginReader.readPluginsFromZIP(PluginReader.java:147)
         at oracle.iam.platform.pluginframework.PluginReader.readPlugins(PluginReader.java:66)
         at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPlugin(PluginManagerImpl.java:74)
         at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPlugin(PlatformServiceImpl.java:129)
         at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy528.registerPluginx(Unknown Source)
         at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginx(Unknown Source)
         at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Exception in thread "Main Thread" java.lang.NullPointerException
         at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
         at java.util.regex.Matcher.reset(Matcher.java:291)
         at java.util.regex.Matcher.<init>(Matcher.java:211)
         at java.util.regex.Pattern.matcher(Pattern.java:888)
         at weblogic.utils.classloaders.FilteringClassLoader.matchesClassFilterList(FilteringClassLoader.java:213)
         at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:97)
         at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at oracle.iam.platform.pluginframework.PluginReader.validateInstance(PluginReader.java:303)
         at oracle.iam.platform.pluginframework.PluginReader.validatePluginsFromFile(PluginReader.java:363)
         at oracle.iam.platform.pluginframework.PluginReader.readPluginsFromZIP(PluginReader.java:147)
         at oracle.iam.platform.pluginframework.PluginReader.readPlugins(PluginReader.java:66)
         at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPlugin(PluginManagerImpl.java:74)
         at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPlugin(PlatformServiceImpl.java:129)
         at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy528.registerPluginx(Unknown Source)
         at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginx(Unknown Source)
         at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    But in the end of this run it still does show - BUILD SUCCESSFUL message but it obviously doesn't work properly because after this registration is done, I go to the MDS through command prompt and import the new EventHandlers.xml which I create as shown below:
    EventHandlers.xml ->
    <?xml version='1.0' encoding='UTF-8'?>
    <eventhandlers xmlns="http://www.oracle.com/schema/oim/platform/kernel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel orchestration-handlers.xsd">
    <validation-handler class="com.custom.TelephoneValidationHandler" name="TelephoneValidationHandler" entity-type="User" operation="ANY" order="1002" />
    </eventhandlers>
    This import of EventHandlers.xml is done to the path - /metadata/user/custom
    But after all this, whenever I try creating a new user, I don't even get to see the create user page. Instead I get a NullPointer exception thrown at me.
    Can someone please go through these above steps and tell me if there is any particular step I might be doing wrong??? Maybe the ant.properties is not set properly or maybe the ValidationHandler java code is not implemented properly. However as far as I see I think these steps are correct. I have checked with other posts in this category and followed them. However this error still exists. Please help me.
    Thanks,
    $id
    Edited by: $id on Jul 17, 2012 6:36 PM

    Hey You were right. I changed the plugin.xml file so that the plugin xml tag changed to <plugin pluginclass="..." ..> and now when I ran the ant utility to register the plugin, it did not give any errors. Instead I got a message saying Plugin registered successfully. Also then I went to the dev_oim schema and in that the plugins table and checked it. This time the plugin entry was present in the database in this table.
    Now I imported the EventHandlers.xml file using MDS utility as follows:
    Placed the EventHandlers.xml file in C:/temp/metadata/user/custom/EventHandlers.xml
    The EventHandlers.xml file is as mentioned earlier as follows:
    <?xml version='1.0' encoding='UTF-8'?>
    <eventhandlers xmlns="http://www.oracle.com/schema/oim/platform/kernel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel orchestration-handlers.xsd">
    <validation-handler class="com.custom.TelephoneValidationHandler" name="TelephoneValidationHandler" entity-type="User" operation="ANY" order="1002"/>
    </eventhandlers>
    Now I changed the weblogic.properties file under C:/Oracle/Middleware/Oracle_IDM1/server/bin file to have the entry as follows:
    metadata_from_loc=C:\ \tempThen went to the cmd prompt and navigated to this same folder. Then executed the command: weblogicImportMetadata.bat. It asked the user name : weblogic, password: password and then the url: t3://oimhost:7001
    There were no errors after this executed. I only got End of Import Metadata Script as the message.
    I then executed the "PurgeCache all" command while in the same directory.
    And gave the oimusername: xelsysadm, oimpassword: password and the oim server url: t3://oimhost:14000.
    I got the message :
    PurgeCache Login Success...
    Purging the cache categories:[all] is successful
    After this I logged in to the OIM console and tried to create a user and provided proper telephone number in the field. But when i clicked on Save after giving in these details, I got the following error on the OIM console:
    A system error occurred.
    When i go the oim server logs i see the following lines in it whenever I click on save for a new user:
    [2012-07-18T11:15:22.799+05:30] [oim_server1] [NOTIFICATION] [IAM-0080013] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [APP: oim#11.1.1.3.0] Kernel executing default validation with process id, event id, entity and operation 1,796.0.User.CREATE
    [2012-07-18T11:15:23.111+05:30] [oim_server1] [NOTIFICATION] [IAM-3050013] [oracle.iam.identity.usermgmt.impl] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm][APP: oim#11.1.1.3.0] Searching for users with the specified criteria.
    [2012-07-18T11:15:23.688+05:30] [oim_server1] [WARNING] [IAM-0080002] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm][APP: oim#11.1.1.3.0] Orchestration validation failed on the event handler - Event handler TelephoneValidationHandler implemented using class/plug-in com.custom.TelephoneValidationHandler could not be loaded.
    [2012-07-18T11:15:23.938+05:30] [oim_server1] [ERROR] [IAM-3050029] [oracle.iam.identity.usermgmt.impl] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm][APP: oim#11.1.1.3.0] The user cannot be created due to validation errors.[[
    oracle.iam.platform.kernel.ValidationFailedException: Event handler TelephoneValidationHandler implemented using class/plug-in com.custom.TelephoneValidationHandler could not be loaded.
    After this error occurred I logged into the database and queried the database with following queries:
    SELECT * FROM dev_oim.orchprocess ORDER BY ID DESC; -> Got the latest entry of process id for operation CREATE and stage as validation-handler but the status of this entry was FAILED.
    Then executed another query as follows to get the event details for the latest process id i got from above query results:
    select * from dev_oim.orchevents WHERE processid=1797 ORDER BY orchorder;The output of this query was:
    "ID"     "NAME"     "STATUS"     "PROCESSID"     "STAGE"     "ORCHORDER"     "RETRY" "CONTEXTID"     "RESULT"
    "7544"     "CreateUserValidationHandler"     "COMPLETED"     "1797"     "validation-handler"     "1"     "0"     "0"     "(BLOB)"
    "7543"     "TelephoneValidationHandler"     "FAILED"     "1797"     "validation-handler"     "2"     "0"     "0"     "(BLOB)"
    I already have pasted my java code initially above. Please guide me if anything wrong in the code or with the EventHandlers.xml file. After importing, I checked again by exporting the EventHandlers.xml file from the location where I had imported it and it did exist in that path.
    Thanks,
    $id
    Edited by: $id on Jul 18, 2012 11:25 AM
    Edited by: $id on Jul 18, 2012 11:34 AM

Maybe you are looking for

  • Need an option to filter video podcasts out in the regular podcasts menu

    The problem is that when you have a lot of podcasts, both video and audio, it is easy to focus in on only the video podcasts but when you are viewing the regular podcasts menu it shows both video and audio only podcasts. I find that I am spending a l

  • ORA-14189: this physical attribute may not be specified for an index subpar

    Hi, I have many partition table and their subpartition and also I create index partition ans index subpartition. I moved partition table another new tablespace and then when I rebuild partition indexes I am getting below error. ORA-14189: this physic

  • Can I use GPShell?

    Hi, I want to load an applet on my JCOP31 cards. I'm using the SDiD 1020 contact-less SD card, which is connected to a PDA, in communicating with my card. The SDK provides me with two functions, one for sending APDU commands to the card, and the othe

  • Bridge CS6 rating info

    Hi there, using Bridge CS6 (OS X 10.8.4). I have a large number of .cr2 files and, in order to have a smaller file size to preview, I batch processed them all to .jpg files, while keeping the original .cr2 files on an ext. disk. The filenames of the

  • Error message when click and dragging music to ipod

    I purchased a song on itunes, it downloaded, but when I clicked and dragged to my music under "Jen's ipod" (like I've done a hundred times), I get this message "Never Again" was not copied to "Jen's ipod" because you are not authorized to play it on