OIM 9102 to 11g upgrade

Hi All
We are on OIM 9102 bp14 and are planning to upgrade to 11.1.1.5 and would appreciate if someone can provide feedback on the upgrade process covering the following:
1. What is the complexity of upgrade process?
2. Does all the approval workflows gets converted into SOA composites successfully?
Appreciate if you can share your experience.
Thanks
PS: I have gone through the documentation on upgrade process.

Hi,
I have upgraded my project from 9102 to OIM 11g. Here are some pointer which might help you during upgrade.
1. What is the complexity of upgrade process?
You can follow through the steps given in document. You'll face problem while restarting your server. You would require to open enterprise manager http://weblogicusr:port/em and right click on domain, goto security->credentials, expand oim, add .xldatabasekey and its credentials.
Keep backup of your old .xldatabasekey, as you have to put it under <DOMAIN_HOME>/fmwconfig/config directory. Otherwise you'll not be able to login into database.
This process doesn't increase size of fields in usr tables. you may require to increase its size (atleast for usr_password to 200). It upgrades all components except eventhandlers and custom schedule tasks. You would require workarounds to make them work. OIM API may still be a issue, as many of them have been deprecated.
2. Does all the approval workflows gets converted into SOA composites successfully?
Yes, it converted in my case. I tested 3 level approvals as well. They are working fine.
I hope this helps.
regards,
GP

Similar Messages

  • OIM 10g to 11g upgrade error

    Hi experts,
    While doing upgrade from OIM 10g to OIM 11g, I am not able to upgrade OIM Middletier.
    Steps performed till now
    1. Run OSI Upgrade Utility in OIM 10g.
    2. Export OIM 10g DB Schema from Oracle database version 10.2.0.2.
    3. Run prepare_xl_db.sh and import the OIM 10g Schema to Oracle Database 11.2
    4. Run RCU to create schemas for MDS and SOA in Oracle database 11.2
    5. Install WLS 10.3.5, SOA 11.1.1.5 and IAM 11.1.1.5
    6. Upgrade OIM Schema using Upgrade Assistant Utility
    7. Create WLS Domain for OIM and SOA
    8. Configure OIM(copied .xldatabasekey to config/fmwconfig folder)
    9. Upgrade OIM Middle Tier using Upgrade Assistant Utility
    Upgrade Assistant is failing at step 9 when it is trying to initilize scheduler properties.
    In logs, it says invalid username and password but I am sure I entered correct password for all schemas.
    [2012-04-20T08:29:38.448-04:00] [OIM] [NOTIFICATION] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] Entering updateTaskDefinitionInMDS()...
    [2012-04-20T08:29:38.700-04:00] [mds] [NOTIFICATION] [MDS-10013] [oracle.mds] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] import operation started.
    [2012-04-20T08:29:39.467-04:00] [mds] [NOTIFICATION] [MDS-10014] [oracle.mds] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] import is completed. Total number of documents successfully processed : 1, total number of documents failed : 0.
    [2012-04-20T08:29:39.467-04:00] [OIM] [NOTIFICATION] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] Exiting updateTaskDefinitionInMDS()
    [2012-04-20T08:29:39.467-04:00] [OIM] [NOTIFICATION] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] Exiting createTasks()
    [2012-04-20T08:29:39.496-04:00] [OIM] [NOTIFICATION] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] Entering createJobs()...
    [2012-04-20T08:29:39.501-04:00] [OIM] [NOTIFICATION] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] Entering initializeScheduler()...
    [2012-04-20T08:29:39.564-04:00] [OIM] [NOTIFICATION] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] Exiting initializeScheduler()
    [2012-04-20T08:29:39.899-04:00] [OIM] [INCIDENT_ERROR] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] UPGCMP-2954: [{0}] Error while initializing scheduler properties
    [2012-04-20T08:29:39.901-04:00] [OIM] [INCIDENT_ERROR] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] [[
    *org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'SeedOracleDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied*
    *) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied*
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:557)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.initialize(JobStoreTX.java:59)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1204)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1355)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.initializeScheduler(SchedulerUpgrade.java:846)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.createJobs(SchedulerUpgrade.java:524)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.doUpgrade(SchedulerUpgrade.java:171)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradePlugin.doUpgrade(OIMFeatureUpgradePlugin.java:591)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradeItem.doUpgrade(OIMFeatureUpgradeItem.java:82)
         at oracle.ias.upgrade.config.oim.OIMConfigUpgrade.doUpgrade(OIMConfigUpgrade.java:179)
         at oracle.ias.upgrade.UpgradeSupport.doUpgrade(UpgradeSupport.java:1823)
         at oracle.ias.upgrade.gui.UAUpgradeThread.run(UAUpgradeThread.java:503)
    Caused by: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'SeedOracleDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    ) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:636)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:72)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3659)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3632)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.cleanVolatileTriggerAndJobs(JobStoreSupport.java:700)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:555)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.initialize(JobStoreTX.java:59)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1204)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1357)
         ... 8 more
    Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:197)
         at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:112)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:633)
         ... 16 more
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
         at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:662)
         at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:438)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:370)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:817)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:376)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:670)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:230)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
         at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
         at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:197)
         at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:112)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:633)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:72)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3659)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3624)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.cleanVolatileTriggerAndJobs(JobStoreSupport.java:693)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:555)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.initialize(JobStoreTX.java:59)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1204)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1355)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.initializeScheduler(SchedulerUpgrade.java:846)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.createJobs(SchedulerUpgrade.java:524)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.doUpgrade(SchedulerUpgrade.java:171)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradePlugin.doUpgrade(OIMFeatureUpgradePlugin.java:589)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradeItem.doUpgrade(OIMFeatureUpgradeItem.java:80)
         ... 3 more
    [2012-04-20T08:29:39.940-04:00] [OIM] [INCIDENT_ERROR] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] UPGCMP-2912: An error uccured while upgrading the feature Scheduler
    [2012-04-20T08:29:39.940-04:00] [OIM] [INCIDENT_ERROR] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] [[
    oracle.ias.upgrade.exception.UpgradeException: UPGCMP-2954: [{0}] Error while initializing scheduler properties
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.initializeScheduler(SchedulerUpgrade.java:854)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.createJobs(SchedulerUpgrade.java:524)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.doUpgrade(SchedulerUpgrade.java:171)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradePlugin.doUpgrade(OIMFeatureUpgradePlugin.java:591)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradeItem.doUpgrade(OIMFeatureUpgradeItem.java:82)
         at oracle.ias.upgrade.config.oim.OIMConfigUpgrade.doUpgrade(OIMConfigUpgrade.java:179)
         at oracle.ias.upgrade.UpgradeSupport.doUpgrade(UpgradeSupport.java:1823)
         at oracle.ias.upgrade.gui.UAUpgradeThread.run(UAUpgradeThread.java:503)
    Caused by: org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'SeedOracleDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    ) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:557)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.initialize(JobStoreTX.java:59)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1204)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1355)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.initializeScheduler(SchedulerUpgrade.java:846)
         ... 7 more
    Caused by: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'SeedOracleDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    ) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:636)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:72)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3659)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3632)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.cleanVolatileTriggerAndJobs(JobStoreSupport.java:700)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:555)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.initialize(JobStoreTX.java:59)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1204)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1357)
         ... 8 more
    Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:197)
         at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:112)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:633)
         ... 16 more
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
         at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:662)
         at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:438)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:370)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:817)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:376)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:670)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:230)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
         at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
         at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:197)
         at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:112)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:633)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:72)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3659)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3624)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.cleanVolatileTriggerAndJobs(JobStoreSupport.java:693)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:555)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.initialize(JobStoreTX.java:59)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1204)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1355)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.initializeScheduler(SchedulerUpgrade.java:846)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.createJobs(SchedulerUpgrade.java:524)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.doUpgrade(SchedulerUpgrade.java:171)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradePlugin.doUpgrade(OIMFeatureUpgradePlugin.java:589)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradeItem.doUpgrade(OIMFeatureUpgradeItem.java:80)
         ... 3 more
    [2012-04-20T08:29:39.988-04:00] [OIM] [INCIDENT_ERROR] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] UPGCMP-2912: An error uccured while upgrading the feature OIM91UPG.Scheduler
    [2012-04-20T08:29:39.988-04:00] [OIM] [INCIDENT_ERROR] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] [[
    oracle.ias.upgrade.exception.UpgradeException: UPGCMP-2912: An error uccured while upgrading the feature Scheduler
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.doUpgrade(SchedulerUpgrade.java:188)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradePlugin.doUpgrade(OIMFeatureUpgradePlugin.java:589)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradeItem.doUpgrade(OIMFeatureUpgradeItem.java:82)
         at oracle.ias.upgrade.config.oim.OIMConfigUpgrade.doUpgrade(OIMConfigUpgrade.java:179)
         at oracle.ias.upgrade.UpgradeSupport.doUpgrade(UpgradeSupport.java:1823)
         at oracle.ias.upgrade.gui.UAUpgradeThread.run(UAUpgradeThread.java:503)
    Caused by: oracle.ias.upgrade.exception.UpgradeException: UPGCMP-2954: [{0}] Error while initializing scheduler properties
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.initializeScheduler(SchedulerUpgrade.java:854)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.createJobs(SchedulerUpgrade.java:524)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.doUpgrade(SchedulerUpgrade.java:171)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradePlugin.doUpgrade(OIMFeatureUpgradePlugin.java:591)
         ... 4 more
    Caused by: org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'SeedOracleDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    ) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:557)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.initialize(JobStoreTX.java:59)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1204)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1355)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.initializeScheduler(SchedulerUpgrade.java:846)
         ... 7 more
    Caused by: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'SeedOracleDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    ) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:636)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:72)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3659)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3632)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.cleanVolatileTriggerAndJobs(JobStoreSupport.java:700)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:555)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.initialize(JobStoreTX.java:59)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1204)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1357)
         ... 8 more
    Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:197)
         at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:112)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:633)
         ... 16 more
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
         at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:662)
         at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:438)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:370)
         at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:817)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:376)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:670)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:230)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
         at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
         at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:197)
         at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:112)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:633)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:72)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3659)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3624)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.cleanVolatileTriggerAndJobs(JobStoreSupport.java:693)
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:555)
         at org.quartz.impl.jdbcjobstore.JobStoreTX.initialize(JobStoreTX.java:59)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1204)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1355)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.initializeScheduler(SchedulerUpgrade.java:846)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.createJobs(SchedulerUpgrade.java:524)
         at oracle.ias.upgrade.config.oim.feature.scheduler.SchedulerUpgrade.doUpgrade(SchedulerUpgrade.java:171)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradePlugin.doUpgrade(OIMFeatureUpgradePlugin.java:589)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradeItem.doUpgrade(OIMFeatureUpgradeItem.java:80)
         ... 3 more
    [2012-04-20T08:29:39.989-04:00] [OIM] [ERROR] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] UPGCMP-01506: unexpected error
    [2012-04-20T08:29:39.989-04:00] [OIM] [ERROR] [] [upgrade.OIM] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] [[
    oracle.ias.upgrade.exception.UpgradeException: UPGCMP-2912: An error uccured while upgrading the feature OIM91UPG.Scheduler
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradePlugin.doUpgrade(OIMFeatureUpgradePlugin.java:969)
         at oracle.ias.upgrade.config.oim.OIMFeatureUpgradeItem.doUpgrade(OIMFeatureUpgradeItem.java:80)
         at oracle.ias.upgrade.config.oim.OIMConfigUpgrade.doUpgrade(OIMConfigUpgrade.java:179)
         at oracle.ias.upgrade.UpgradeSupport.doUpgrade(UpgradeSupport.java:1823)
         at oracle.ias.upgrade.gui.UAUpgradeThread.run(UAUpgradeThread.java:503)
    [2012-04-20T08:29:39.990-04:00] [Framework] [ERROR] [UPGAST-00138] [upgrade.Framework] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] upgrade exception occurred
    [2012-04-20T08:29:39.990-04:00] [Framework] [ERROR] [] [upgrade.Framework] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] Cause: An unexpected upgrade exception has occurred. Action: See the secondary error message for additional details.
    [2012-04-20T08:29:39.990-04:00] [Framework] [ERROR] [] [upgrade.Framework] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] oracle.ias.upgrade.exception.UpgradeException: UPGCMP-2912: An error uccured while upgrading the feature OIM91UPG.Scheduler
    [2012-04-20T08:29:40.078-04:00] [Framework] [NOTIFICATION] [] [upgrade.Framework] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] Finished upgrading OIM with status: Failure.
    [2012-04-20T08:29:40.081-04:00] [Framework] [NOTIFICATION] [] [upgrade.Framework] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] Finished upgrading components.
    [2012-04-20T08:29:40.082-04:00] [Framework] [NOTIFICATION] [] [upgrade.Framework] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] 0 components upgraded with success.
    [2012-04-20T08:29:40.082-04:00] [Framework] [NOTIFICATION] [] [upgrade.Framework] [tid: 13] [ecid: 0000JRFiZlY0RtG6yz7i6G1F^LO8000004,0] 1 components upgraded with failure.
    Appreciate any insights for this issue.
    TiA

    I have executed the below query and found that the schedulers are not upgraded. Because of this the other features are not getting upgraded. How can I resolve this issue?
    select feature_id,feature_upgrade_state,is_feature_upgraded from upgrade_feature_state;Pls help.

  • OIM 11g upgrade error

    Hi all
    While running the upgrade middle tier for upgradation of OIM 9102 to 11g, the upgrade assistant fails with the following error:
    ORA-00957: duplicate column name
    I figured it out that the upgrade assistant is trying to create a table RA_<ROName> and the sql that it was using to create the table had two columns with the same name i.e. EmployeeID.
    I checked if the database tables ORF for the object to detect duplicate values but the table contains only one record for the RO for EmployeeID.
    Has anyone faced such issue in the past. Please help.

    Try to re-run the upgrade assistant after deleting the recon field mapping from recon rule, process definitions etc and then deleting the mapping from RO recon mapping.
    You may add the mapping again after you get to 11g.

  • Upgrade of OIM 9101 to OIM 9102

    I upgraded the OIM 9.1.0.1865.28 to 9102 following the OIM 9012 release doc
    Upgraded my Oracle DB & Weblogic
    I manually deployed XIMDD & I can see it in weblogic.
    I don't see the Xellerate webapp in the Weblogic Deployments
    any help with this?

    Thanks Gyan . The previous Version was: 9.1.0.1860.16
    SQL>select XSD_CODE, XSD_VALUE from xsd;
    XSD_CODE     XSD_VALUE
    XL_BUILD_NUMBER     *9.1.0.1865.28*
    XL_ENCRYPTED     TRUE
    DB_KEY_VERIFICATION_CLEAR_TEXT     XIM
    DB_KEY_VERIFICATION_CIPHER_TEXT     e7+D6TI8o6XD3y93QNttJA==
    XL_BUILD     1865.28
    XL_PATCH_BASE     *9.1.0.2*
    XL_PATCHLEVEL     0
    XL_BRANCH_NAME     OIM_9.1.0.0.0_GENERIC
    XL_ADE_LABEL     OIM_9.1.0.0.0_GENERIC_090522.1300

  • OIM DB error while upgrading from OIM-R1 to OIM-R2

    Hi All,
    When we were trying to upgrade a environment from OIM 11g R1 (11.1.1.5) to 11g R2 PS1 (11.1.2.1), and while upgrading the OIM schemas ( Section 6.3.8 in the document http://docs.oracle.com/cd/E27559_01/doc.1112/e28183/oim_up.htm#BABFHBFD) the OIM schema upgrade was failing and in the logs we were seeing the error mentioned below.
    Let us know if  anyone has worked/faced this issue while upgrading the OIM to R2.
    CREATE OR REPLACE VIEW ADMIN_ROLE_MEMBERSHIP_VW
    AS (
    SELECT arm_org.*,
            ac.ACT_NAME,
            ac.PARENT_KEY,
            ac.ACT_CUST_TYPE
       FROM (
             SELECT arm.MEMBERSHIP_ID,
    arm.ROLE_ID,
    arm.USER_ID,
    arm.SCOPE_ID as ROOT_KEY,
    arm.INCLUDE_HIERARCHY,
    arm.SCOPE_ID,
    'UN-EXPANDED' as HIERARCHY_DETAILS
               FROM ADMIN_ROLE_MEMBERSHIP arm
             UNION ALL -- much better, and current table structure and query will always ensure unique values
             SELECT arm.MEMBERSHIP_ID,
    arm.ROLE_ID,
    arm.USER_ID,
    oh.PARENT_ACT_KEY as ROOT_KEY,
    arm.INCLUDE_HIERARCHY,
    oh.CHILD_ACT_KEY as SCOPE_ID,
    'EXPANDED' as HIERARCHY_DETAILS
               FROM ADMIN_ROLE_MEMBERSHIP arm, ORG_HIERARCHY oh
              WHERE arm.SCOPE_ID=oh.PARENT_ACT_KEY
                AND arm.INCLUDE_HIERARCHY=1
              ) arm_org,
            ACT ac
      WHERE ac.ACT_KEY = arm_org.SCOPE_ID)
    [2013-09-11T18:28:25.119-07:00] [OIM] [INCIDENT_ERROR] [UPGCMP-00924] [upgrade.OIM.OIM1] [tid: 13] [ecid: 0000K4FlzhH3n3N6yJaeMG1ICHRX000004,0] SQL error [{0}]
    [2013-09-11T18:28:25.120-07:00] [OIM] [INCIDENT_ERROR] [] [upgrade.OIM.OIM1] [tid: 13] [ecid: 0000K4FlzhH3n3N6yJaeMG1ICHRX000004,0] Cause: JDBC error while executing query
    [2013-09-11T18:28:25.120-07:00] [OIM] [INCIDENT_ERROR] [] [upgrade.OIM.OIM1] [tid: 13] [ecid: 0000K4FlzhH3n3N6yJaeMG1ICHRX000004,0] Action: Make sure DB is reachable and configured properly
    [2013-09-11T18:28:25.120-07:00] [OIM] [INCIDENT_ERROR] [] [upgrade.OIM.OIM1] [tid: 13] [ecid: 0000K4FlzhH3n3N6yJaeMG1ICHRX000004,0] [[
    java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
            at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
            at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202)
            at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1110)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
            at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:2147)
            at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:2091)
            at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:320)
            at oracle.iam.update.plugin.oim.SchemaUpgrader.loadScript(SchemaUpgrader.java:245)
            at oracle.iam.update.plugin.oim.SchemaUpgrader.loadStoredProcedures(SchemaUpgrader.java:190)
            at oracle.iam.update.plugin.oim.SchemaUpgrader.doUpgrade(SchemaUpgrader.java:108)
            at oracle.iam.update.plugin.oim.OIMSchemaUpgradePlugin.upgrade(OIMSchemaUpgradePlugin.java:292)
            at oracle.ias.update.plugin.Plugin.upgrade(Plugin.java:358)
            at oracle.ias.update.plan.PlanStep.upgrade(PlanStep.java:292)
            at oracle.ias.update.UpgradeDriver.doUpgrades(UpgradeDriver.java:465)
            at oracle.ias.update.gui.UAUpgradeThread.run(UAUpgradeThread.java:41)

    Hi,
    The correct upgrade path is: 11.1.1.5.0 -> 11.1.2.0 -> 11.1.2.1

  • OIM 9102 Issues

    Hi
    Issue regarding OIM 9102.
    Installed Components:
    Oracle DB 11.1.0.6
    WLS 10.3.2.0
    OIM 9101 Upgraded to 9102
    Plat Form: MS Windows 2008 R2 Server 64-Bit
    While i am trying to Install DB connector i could not find the step 3 page its just blank even i tried for XML import but same issue No Luck.
    I am attaching the screen shots and Logs details.
    Please Help me Out.

    Go to Organization > Manage > Search organizations > Selct org in which 50K users have been created > Select ADMINISTRATIVE GROUP (Drop Down)
    Assignyour custom group here and try to logic with auser who is part of that custom group
    And what do you mean by following statement:
    TiA. I will assign points.

  • OIM 9i to 11g migration tool

    Hi guys,
    I need information on OIM 9i to 11g migration tool. Can anyone provide me documentation on the same?
    Many thanks,
    Gyan

    get it from here
    http://docs.oracle.com/cd/E21764_01/upgrade.1111/e10129/upgrade_oim.htm
    Regards,
    Nishith Nayan

  • OIM 9102 Issued Audit Message null pointer

    Hi All,
    I have a 9102 system with an empty upa_ud_formfields table. We tried running the Issue Audit Message job (which was disabled for some reason) and got a NPE.
    I found the same thing here but never answered.
    Re: Audit reports in OIM 9102
    any help would be appreciated.
    Thanx
    Fred

    1. XL.EnableExceptionReports needs to be set to TRUE and XL.UserProfileAuditDataCollection needs to be set to Resource Form.
    2. In the Audit Report Developers Guide, section 5.3.1 Using the UPA Form Data Upgrade Utility, you need to perform the steps to enable the usable of these fields (http://download.oracle.com/docs/cd/E14049_01/doc.9101/e14045/reporting.htm#CEGFCIAD).
    3. Restart Server.
    -Kevin

  • Oracle DB 10g to 11g Upgrade

    Hi,
    We have a SAP Oracle Database, the size is 1.5 TB.
    The Hardware details are
    Application – SAP ERP 6.0 EHP5 SPS6
    Database – Oracle 10.2.0.2
    OS Platform – AIX 5.3 TL05, SP06
    HW – 8 Dual Core CPU’s, 256 GB RAM on DB-CI server
    Test Environment : 32 GB RAM
    Please from your experience let me know how much time will a 10g to 11g upgrade will take.
    Regards,
    Narayan

    hi,
    There are several parameters you have to check before upgrading. Commonly it is independent of size of database.I think it will take as minimum 1 hour. Check the links to speed up upgrading and to consider pre-upgrade preparation:
    https://blogs.oracle.com/UPGRADE/entry/how_long_will_your_upgrade_tak
    http://www.oracle.com/technetwork/database/upgrade/best-practices-for-upgrading-11gr2-174946.pdf

  • Oracle 11g upgrade: How to update stale statistics for sys and sysman?

    Hi,
    I am in the process of testing Oracle 11g upgrade from Oracle 10.2.0.3. I have run utlu111i.sql on the 10g database.
    The utility utlu111i.sql reports about the stale statistics for SYS and SYSMAN components.
    I executed dbms_stats.gather_dictionary_stats; dbms_stats.gather_schema_stats('SYS'); and dbms_stats.gather_schema_stats('SYSMAN');
    After that the utlu111i.sql still reports the stale statistics for sys and sysman. Does anyone know how to get rid off this warning successfully?
    Thanks,
    Sreekanth

    Does anyone know how to get rid off this warning successfully?Just ignore the warnings. Check The Utlu111i.Sql Pre-Upgrade Script Reports Stale Sys Statistics - 803774.1 from Metalink.

  • Oracle packages - nested table cursor - 11g upgrade testing

    I have a package call Crisis_Contacts. This package has a function(generate_file) in it that has a create cusor statement which calls on another function(split) in another package called NCF_UTL. In testing our code for a 11g upgrade the cursor statement calling on the split function is throwing a Error: ORA-00600: internal error code, arguments: [4814], [5], [0], [0], [], [], [], [], [], [], [], [] when compiling the package, which it was not doing prior to upgrade. Can you suggest a possible workaround or mod to this code to stop the error from occuring.
    Basically, this code is reading html files and spliting them into section and loading them into the cursor. Then the cursor is read to write them to a table. Then it reads the table and transmits the lines of html to another location.
    CREATE OR REPLACE package body ACADMGR.crisis_contacts as
    function generate_file( file_type in varchar2,
    person_pidm in integer := null,
    person_id in varchar2 := null,
    dry_run in varchar2 := 'N',
    pidm_filter in varchar2 := null,
    include_placeholders in varchar2 := 'N',
    comments in varchar2 := null ) return integer is
    cursor typeDef is
    select * from crisis_contact_file_type ccft
    where ccft.file_type = generate_file.file_type;
    file_type_def typeDef%rowtype;
    cursor fieldDef is
    select * from crisis_contact_file_field ccff
    where ccff.file_type = generate_file.file_type
    order by seq asc;
    type r_typ is ref cursor;
    r r_typ;
    datasel varchar2(32767) := '';
    r_pidm integer;
    pers_pidm integer := person_pidm;
    prev_pidm integer;
    r_tag varchar2(255);
    r_val varchar2(4000);
    type field_list is table of varchar2(256);
    type field_index is table of integer index by varchar2(256);
    type val_list is table of varchar2(4000);
    type req_tbl is table of boolean index by varchar2(256);
    req_fields field_list := field_list();
    all_req_seen boolean;
    fields field_list := field_list();
    vals val_list := val_list();
    field_idx field_index;
    out_id integer;
    out_line integer := 0;
    buf varchar2(4000);
    saved_out_line integer := 0;
    xml_section_lf_delims ncf_utl.split_tbl := ncf_utl.split_tbl( ncf_utl.crlf, chr(13), chr(10) );
    cursor splitcur( txt in varchar2 ) is
    select column_value line from table(ncf_utl.split( txt, xml_section_lf_delims ));
    cursor get_output is
    select text from crisis_contact_file_line
    where output_id = out_id
    order by line_no asc;
    log_time date := sysdate;
    log_seq integer := 1;
    procedure outp( txt in varchar2 ) is
    begin
    --dbms_output.put_line( txt );
    insert into crisis_contact_file_line
    ( output_id, line_no, text )
    values
    ( out_id, out_line, txt );
    out_line := out_line + 1;
    end;
    procedure split_outp( txt in varchar2 ) is
    begin
    if txt is not null then
    for r in splitCur( txt ) loop
    outp( r.line );
    end loop;
    end if;
    end;
    begin
    open typeDef;
    fetch typeDef into file_type_def;
    close typeDef;
    if pers_pidm is null and person_id is not null then
    select distinct(spriden_pidm) into pers_pidm from spriden
    where spriden_id = person_id;
    end if;
    insert into crisis_contact_file_out ( file_type, comments ) values ( file_type, comments )
    returning output_id into out_id;
    datasel := gen_outfile_sql( file_type, pers_pidm, pidm_filter, include_placeholders );
    if dry_run = 'Y' then
    ncf_utl.output_text( datasel );
    else
    split_outp( file_type_def.preamble );
    buf := '';
    for f in fieldDef loop
    fields.extend;
    fields(fields.last) := f.alias;
    field_idx(f.output_field) := fields.last;
    vals.extend();
    if f.mandatory = 'Y' then
    req_fields.extend;
    req_fields(req_fields.last) := f.output_field;
    end if;
    if file_type_def.file_mode = 'DELIM' and file_type_def.print_heading = 'Y' then
    buf := buf || case when fieldDef%rowcount > 1 then nvl(file_type_def.delimiter,',') else '' end ||
    nvl(file_type_def.quote,'') || nvl(f.alias,f.output_field) || nvl(file_type_def.quote,'');
    end if;
    end loop;
    if length(buf) > 0 then
    outp(buf);
    end if;
    --outp( '<?xml version="1.0" encoding="UTF-8"?>' );
    --outp( '<recipients>' );
    open r for datasel;
    loop
    fetch r into r_pidm, r_tag, r_val;
    exit when r%notfound;
    if prev_pidm is null or prev_pidm != r_pidm then
    if prev_pidm is not null then
    split_outp( file_type_def.record_end );
    all_req_seen := true;
    --check and reset 'seen' flags for required fields
    for i in 1..req_fields.count loop
    if vals(field_idx(req_fields(i))) is null then
    all_req_seen := false;
    end if;
    end loop;
    --if not all_req_seen then
    -- rollback to USER_START;
    -- out_line := saved_out_line;
    --end if;
    if all_req_seen then
    buf := '';
    for i in 1..fields.count loop
    if file_type_def.file_mode = 'XML' then
    outp( ' <' || fields(i) || '>' || vals(i) || '</' || fields(i) || '>' );
    elsif file_type_def.file_mode = 'DELIM' then
    buf := buf || case when i > 1 then nvl(file_type_def.delimiter,',') else '' end ||
    nvl(file_type_def.quote,'') || vals(i) || nvl(file_type_def.quote,'');
    end if;
    end loop;
    if file_type_def.file_mode = 'DELIM' then
    outp(buf);
    end if;
    end if;
    end if;
    --savepoint USER_START;
    --saved_out_line := out_line;
    if r_tag != 'endofdata' then
    split_outp( file_type_def.record_start );
    end if;
    for i in 1..fields.count loop
    vals(i) := null;
    end loop;
    end if;
    prev_pidm := r_pidm;
    if field_idx.exists(r_tag) then
    if r_val is not null then
    vals(field_idx(r_tag)) := r_val;
    end if;
    end if;
    end loop;
    if pers_pidm is not null then
    split_outp( file_type_def.record_end );
    end if;
    split_outp( file_type_def.postamble );
    --for o in get_output loop
    -- dbms_output.put_line( o.text );
    --end loop;
    end if;
    return out_id;
    end generate_file;
    procedure gen_and_transmit( file_type in varchar2,
    username in varchar2, pass in varchar2,
    pidm_filter in varchar2 := null,
    include_placeholders in varchar2 := 'N',
    comments in varchar2 := null,
    url_base in varchar2 := null, url_path in varchar2 := null,
    ssl_wallet_path in varchar2 := null, ssl_wallet_pass in varchar2 := null ) is
    out_id integer;
    begin
    out_id := generate_file( file_type, pidm_filter => pidm_filter,
    include_placeholders => include_placeholders,
    comments => comments );
    --transmit_file( out_id, username, pass,
    transmit_file( out_id, 'mhaywood', '------------',
    url_base => url_base, url_path => url_path,
    ssl_wallet_path => ssl_wallet_path, ssl_wallet_pass => ssl_wallet_pass );
    end gen_and_transmit;
    begin
    UTL_HTTP.set_persistent_conn_support( true, 10 );
    end;
    create or replace
    PACKAGE BODY NCF_UTL IS
    PROCEDURE OUTPUT_TEXT( BUFFER IN VARCHAR2, LINE_LEN IN INTEGER := 80 ) IS
    TYPE CHRLIST IS TABLE OF VARCHAR2(1);
    cr VARCHAR2(1) := CHR(13);
         lf VARCHAR2(1) := CHR(10);
         tab VARCHAR2(1) := CHR(9);
         whitespace CHRLIST := CHRLIST( ' ', tab );
         pos INTEGER := 1;
         len INTEGER;
         brk INTEGER;
         curbrk INTEGER;
         lnbrk INTEGER;
         whtbrk INTEGER;
         i INTEGER;
    BEGIN
    len := LENGTH(BUFFER);
         WHILE pos <= len
         LOOP
         WHILE SUBSTR( BUFFER, pos, 1 ) IN ( cr, lf )
         LOOP
         pos := pos + 1;
         END LOOP;
         --find the next newline type char, or pos+250 if one isn't found
    lnbrk := LEAST( NVL(NULLIF(INSTR( BUFFER, cr, pos ),0),pos+250),
                             NVL(NULLIF(INSTR( BUFFER, lf, pos ),0),pos+250) );
         --after the loop:
         -- whtbrk should be the last whitespace char before LINE_LEN + pos
         -- (or == pos, if none found)
         -- curbrk should be == 0 or the 1st whitespace after LINE_LEN + pos
         whtbrk := pos;
         curbrk := pos;
         FOR i IN 1..whitespace.COUNT
         LOOP
         LOOP
         curbrk := INSTR( BUFFER, whitespace(i), whtbrk + 1 );
              IF curbrk <= pos + LINE_LEN AND curbrk >= whtbrk THEN
              whtbrk := curbrk;
              END IF;
              EXIT WHEN curbrk > pos + LINE_LEN OR curbrk = 0;
              END LOOP;
              EXIT WHEN curbrk > pos + LINE_LEN;
         END LOOP;
         brk := LEAST( len + 1, lnbrk, NVL( NULLIF( whtbrk, pos ), pos + 250 ),
                        NVL( NULLIF( curbrk, 0 ), pos + 250 ), pos + 250 );
         dbms_output.put_line( SUBSTR( BUFFER, pos, brk - pos ) );
         pos := brk;
         END LOOP;
    END;
    function split( str in varchar2, d0 in varchar2, d1 in varchar2 := null,
    d2 in varchar2 := null, d3 in varchar2 := null,
    d4 in varchar2 := null, d5 in varchar2 := null,
    d6 in varchar2 := null, d7 in varchar2 := null,
    d8 in varchar2 := null, d9 in varchar2 := null )
    return split_tbl pipelined is
    pos integer := 1;
    curidx integer;
    idx integer;
    delims split_tbl;
    idx_delim varchar2(32767);
    len integer := length( str );
    begin
    if d0 is null then
    --split on whitespace
    delims := split_tbl( ' ', chr(9), chr(10), chr(13) );
    else
    delims := split_tbl( d0, d1, d2, d3, d4, d5, d6, d7, d8, d9 );
    end if;
    loop
    idx := -1;
    --we want the lowest value of IDX > 0
    for i in 1..delims.count loop
    curidx := instr( str, delims(i), pos, 1 );
    if curidx > 0 then
    if idx = -1 or curidx < idx then
    idx := curidx;
    idx_delim := delims(i);
    end if;
    end if;
    end loop;
    if idx > 0 then
    --if splitting on whitespace, treat any amount of it as
    --a single delimiter
    if d0 is not null or idx > pos then
    pipe row( substr( str, pos, idx - pos ) );
    end if;
    else
    -- also make sure to ignore trailing whitespace
    if d0 is not null or pos <= len then
    pipe row( substr( str, pos ) );
    end if;
    exit;
    end if;
    pos := idx + length( idx_delim );
    end loop;
    return;
    end split;
    function split( str in varchar2, delimiters in split_tbl := null )
    return split_tbl pipelined is
    i integer;
    cursor spcur( d0 in varchar2 := null, d1 in varchar2 := null,
    d2 in varchar2 := null, d3 in varchar2 := null,
    d4 in varchar2 := null, d5 in varchar2 := null,
    d6 in varchar2 := null, d7 in varchar2 := null,
    d8 in varchar2 := null, d9 in varchar2 := null ) is
    select column_value v from table (split(str,d0,d1,d2,d3,d4,d5,d6,d7,d8,d9));
    function x( i in integer ) return varchar2 is
    begin
    if delimiters.exists(i) then
    return delimiters(i);
    else
    return null;
    end if;
    end;
    begin
    for r in spcur( x(0),x(1),x(2),x(3),x(4),x(5),x(6),x(7),x(8),x(9) ) loop
    pipe row( r.v );
    end loop;
    end split;
    END;
    Thanks

    Curious behavior, but irrelevant, IMHO, since one never switches back and forth between two releases in the real world. All that STARTUP UPGRADE does is that it enables upgrade scripts to be run - it does not prevent statements like CREATE USER from being executed since the upgrade may create new needed accounts
    http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve045.htm#SQPUG128
    HTH
    Srini

  • Oracle 11g upgrade in AIX 6.1 with HACMP

    Hi Friends,
    As i have two Power Servers running in AIX 6.1 with oracle 10g in HACMP in which SAP application is running.
    The one is standalone Database and other is central Instance.
    I have done the 11g upgrades successfully in my DEV and QAS servers which are non-cluster Environment.
    Now i want to do the same upgrade in PRD which is in HACMP.
    Please let me know what are the areas should i concentrate specially for cluster environment servers.
    Thanks,
    Hari

    DB Filesystems
    Filesystem GB blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 4.00 2.62 35% 15438 3% /
    /dev/hd2 8.00 5.03 38% 57744 5% /usr
    /dev/hd9var 4.00 2.85 29% 10914 2% /var
    /dev/hd3 4.00 3.50 13% 2575 1% /tmp
    /dev/fwdump 1.00 1.00 1% 13 1% /var/adm/ras/platform
    /dev/hd1 1.00 1.00 1% 6 1% /home
    /dev/hd11admin 0.25 0.25 1% 107 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 1.00 0.58 43% 9040 7% /opt
    /dev/livedump 0.25 0.25 1% 7 1% /var/adm/ras/livedump
    /dev/lv_oracle 2.00 1.86 8% 21 1% /oracle
    /dev/lv_ora_pip 2.00 2.00 1% 80 1% /oracle/PIP
    /dev/lv_usr_sap 2.00 1.92 5% 78 1% /usr/sap
    /dev/lv_sapmnt 2.00 0.62 70% 978 1% /sapmnt
    /dev/dumplv 95.00 32.80 66% 26790 1% /dump
    /dev/saparchlv 2.00 1.99 1% 57 1% /home/pipadm
    /dev/lv_pip_64 10.00 5.73 43% 18988 2% /oracle/PIP/102_64
    /dev/lv_mirlogA 1.00 0.61 40% 6 1% /oracle/PIP/mirrlogA
    /dev/lv_mirlogB 1.00 0.61 40% 6 1% /oracle/PIP/mirrlogB
    /dev/lv_oraarch 200.00 121.48 40% 433 1% /oracle/PIP/oraarch
    /dev/lv_oralogA 1.00 0.59 41% 8 1% /oracle/PIP/origlogA
    /dev/lv_oralogB 1.00 0.59 41% 8 1% /oracle/PIP/origlogB
    /dev/fslv01 2.00 1.97 2% 102 1% /oracle/PIP/saparch
    /dev/lv_sapbkp 5.00 5.00 1% 40 1% /oracle/PIP/sapbackup
    /dev/lv_sapchk 5.00 5.00 1% 80 1% /oracle/PIP/sapcheck
    /dev/lv_data1 200.00 86.26 57% 30 1% /oracle/PIP/sapdata1
    /dev/lv_data2 200.00 84.92 58% 26 1% /oracle/PIP/sapdata2
    /dev/lv_data3 200.00 84.92 58% 26 1% /oracle/PIP/sapdata3
    /dev/lv_data4 200.00 84.92 58% 26 1% /oracle/PIP/sapdata4
    /dev/lv_data5 200.00 84.92 58% 26 1% /oracle/PIP/sapdata5
    /dev/lv_data6 200.00 84.92 58% 26 1% /oracle/PIP/sapdata6
    /dev/lv_data7 200.00 84.92 58% 26 1% /oracle/PIP/sapdata7
    /dev/lv_data8 200.00 84.93 58% 26 1% /oracle/PIP/sapdata8
    /dev/lv_saporg 20.00 20.00 1% 7 1% /oracle/PIP/sapreorg
    /dev/saptrance 5.00 4.92 2% 588 1% /oracle/PIP/saptrace
    /dev/lv_inventry 2.00 1.99 1% 55 1% /oracle/oraInventory
    /dev/lv_102_64 10.00 5.05 50% 11044 1% /oracle/stage/102_64
    CI
    /dev/hd4 4.00 1.99 51% 14429 3% /
    /dev/hd2 8.00 5.01 38% 57680 5% /usr
    /dev/hd9var 4.00 3.38 16% 10936 2% /var
    /dev/hd3 4.00 3.82 5% 1362 1% /tmp
    /dev/fwdump 1.00 1.00 1% 18 1% /var/adm/ras/platform
    /dev/hd1 1.00 1.00 1% 55 1% /home
    /dev/hd11admin 0.25 0.25 1% 5 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 1.00 0.58 42% 9024 7% /opt
    /dev/livedump 0.25 0.25 1% 8 1% /var/adm/ras/livedump
    /dev/lv_oracle 2.00 2.00 1% 9 1% /oracle
    /dev/lv_ora_pip 2.00 2.00 1% 52 1% /oracle/PIP
    /dev/lv_usr_sap 10.00 10.00 1% 17 1% /usr/sap
    /dev/lv_client 2.00 1.86 8% 16 1% /oracle/client
    /dev/lv_smnt_pip 10.00 2.20 78% 114142 18% /sapmnt/PIP
    /dev/lv_sap_pip 10.00 8.10 19% 1577 1% /usr/sap/PIP
    /dev/lv_sap_cms 5.00 5.00 1% 8 1% /usr/sap/ccms
    root@pagedb:/ $ su - orapip
    pagedb:orapip 1> echo $ORACLE_HOME
    /oracle/PIP/102_64
    i have upgraded successfully in my DEV and QAS.
    So can i go with the same procedure as i went with non-cluster Env.
    Thanks

  • 11g Upgrade from 10.2.0.4 in SUSE 10.

    Hi Gurus,
    We have 11g Database upgrade on our EBS 11i environment, database size is around 1.3 TB, i already did test upgrade it was not satisfactory results what client is expecting regarding downtime, i followed manual upgrade as i am very much familier with that, i your views and suggestions to reduce upgrade downtime.
    11g Upgrade from 10.2.0.4 in SUSE 10.

    Hi,
    Is your database is RAC or NON-RAC.
    If you are going for patchset upgrade then you can go for roll upgrade patch.
    as you know, you cannot escape the downtime always. ;-)
    i already did test upgrade it was not satisfactory results what client is expecting regarding downtime, i followed manual upgrade as i am very much familier with thatOracle introduces DBUA with many features, still why you are not going for DBUA?
    You have to test the TEST environment using DBUA ;-)
    If for example For 1.3 TB you are going to consistent backup, still you have down time. then there is no point to think on UPGRADE duration.
    but you can perform pro-actively like.. install the 11g ORACLE_HOME before the downtime. & so on.

  • 11g Upgrade Issues and Questions

    Hi,
    I am upgrading database from 9.2.0.6 to 11g in EBS, Apps version is 11.5.10.2.
    I have performed 11.1.0.7 patch set installation tasks & Apply additional 11.1.0.7 RDBMS patches
    Now my query is that I have to copy InitSID.ora from 9i to 11g before or after database Upgrade(using DBUA)?
    When I have to set Database Initialization Parameters for Oracle Applications Release 11i before or after database Upgrade(using DBUA)?
    Regard's
    GSM

    Hi,
    The output of utlu111i.sql script is as below before upgrade.We have to make any modification before upgrade.If yes where I have to do the changes.
    SQL> @utlu111i.sql
    Oracle Database 11.1 Pre-Upgrade Information Tool 04-09-2010 12:55:26
    Database:
    --> name: PROD
    --> version: 9.2.0.8.0
    --> compatible: 9.2.0
    --> blocksize: 8192
    --> timezone file: V4
    Logfiles: [make adjustments in the current environment]
    --> The existing log files are adequate. No changes are required.
    Tablespaces: [make adjustments in the current environment]
    --> SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 8052 MB
    --> ODM tablespace is adequate for the upgrade.
    .... minimum required size: 10 MB
    --> APPS_UNDOTS1 tablespace is adequate for the upgrade.
    .... minimum required size: 299 MB
    --> APPS_TS_TX_DATA tablespace is adequate for the upgrade.
    .... minimum required size: 2322 MB
    --> APPS_TS_QUEUES tablespace is adequate for the upgrade.
    .... minimum required size: 70 MB
    --> OLAP tablespace is adequate for the upgrade.
    .... minimum required size: 16 MB
    Update Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    WARNING: --> "compatible" must be set to at least 10.1.0
    Renamed Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    -- No renamed parameters found. No changes are required.
    Obsolete/Deprecated Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    --> "optimizer_max_permutations"
    --> "row_locking"
    --> "undo_suppress_errors"
    --> "max_enabled_roles"
    --> "enqueue_resources"
    --> "sql_trace"
    --> "background_dump_dest" replaced by "diagnostic_dest"
    --> "user_dump_dest" replaced by "diagnostic_dest"
    --> "core_dump_dest" replaced by "diagnostic_dest"
    Components: [The following database components will be upgraded or installed]
    --> Oracle Catalog Views [upgrade] VALID
    --> Oracle Packages and Types [upgrade] VALID
    --> JServer JAVA Virtual Machine [upgrade] VALID
    --> Oracle XDK for Java [upgrade] VALID
    --> Real Application Clusters [upgrade] INVALID
    --> OLAP Analytic Workspace [upgrade] UPGRADED
    --> OLAP Catalog [upgrade] VALID
    --> Oracle Text [upgrade] VALID
    --> Oracle XML Database [install]
    --> Oracle Java Packages [upgrade] VALID
    --> Oracle interMedia [upgrade] VALID
    --> Spatial [upgrade] VALID
    --> Data Mining [upgrade] VALID
    --> Oracle OLAP API [upgrade] UPGRADED
    Miscellaneous Warnings
    WARNING: --> Passwords exist in some database links.
    .... Passwords will be encrypted during the upgrade.
    .... Downgrade of database links with passwords is not supported.
    WARNING: --> Deprecated CONNECT role granted to some user/roles.
    .... CONNECT role after upgrade has only CREATE SESSION privilege.
    WARNING: --> Database contains stale optimizer statistics.
    .... Refer to the 11g Upgrade Guide for instructions to update
    .... statistics prior to upgrading the database.
    .... Component Schemas with stale statistics:
    .... SYS
    .... OLAPSYS
    .... MDSYS
    .... ODM
    WARNING: --> Database contains INVALID objects prior to upgrade.
    .... The list of invalid SYS/SYSTEM objects was written to
    .... registry$sys_inv_objs.
    .... The list of non-SYS/SYSTEM objects was written to
    .... registry$nonsys_inv_objs.
    .... Use utluiobj.sql after the upgrade to identify any new invalid
    .... objects due to the upgrade.
    .... USER APPS has 3 INVALID objects.
    WARNING: --> Database contains schemas with objects dependent on network
    packages.
    .... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
    .... USER APPS has dependent objects.
    .... USER MDSYS has dependent objects.
    SYSAUX Tablespace:
    [Create tablespace in the Oracle Database 11.1 environment]
    --> New "SYSAUX" tablespace
    .... minimum required size for database upgrade: 500 MB
    PL/SQL procedure successfully completed.
    SQL> spool off
    Thank's
    Regards
    GSM

  • 11G Upgrade - EBS 12.1.2

    I have a few questions on the 11G upgrade.
    DB - 11.2.0.3 - OS - zLinux
    EBS - 12.1.2 - SLES 10-SP3
    I am following note 1058763.1 (Interoperability Notes Oracle E-Business Suite Release 12 with Oracle Database 11g Release 2 (11.2.0) - and am at step 23 - Implement and Run Autoconfig
    Referring to 387859.1 (Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12), I have finished unzipping the appsutil.zip file to the $ORACLE_HOME on the database tier using the unzip -o appsutil.zip.
    The next step in 387859.1 requires running autoconfig on the DB tier - for which I don't find the $ORACLE_HOME/appsutil/scripts folder.
    Section 3.2 of 387859.1 refers to Installing JRE on the Database tier - however when I run the java -version command - I already get the following output on the upgraded 11g home.
    tebsdb01:EBST1:/t01/product/db11.2.0.3 > java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pxz6460sr9fp3ifix-20111215_04(SR9 FP3+IV12154))
    IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux s390x-64 jvmxz6460sr9-20111214_97396 (JIT enabled, AOT enabled)
    J9VM - 20111214_097396
    JIT - r9_20101028_17488ifx31
    GC - 20101027_AA)
    JCL - 20110727_04
    tebsdb01:EBST1:/t01/product/db11.2.0.3 >
    My first question - what steps have I missed that have resulted in a missing $ORACLE_HOME/appsutil/scripts folder
    My second question - if my java version is already 1.6.0, is there a need to continue with instaling JRE on the database tier?
    This is the first time I am running through a 11g upgrade - hence the plethora of questions.
    Thanks so much in advance for your help.
    Regards

    One last question regarding this 11gR2 upgrade.
    My APPS and BA team are now asking what kind of testing they should be doing on an upgraded 11gR2 instance.
    Can anyone who has upgraded an instance (DB only) shed some light on this aspect of the QA testing process?Since the database upgrade does not change any of the underlying objects under Oracle EBS schemas, you need to do basic checks to verify this upgrade. Examples are ..
    - You can shutdown/startup the database with no issues
    - No errors are reported in the database log files
    - Submit concurrent programs and make sure it completes successfully
    - Make sure CM and all services are up
    - Create/Update Users/Responsibilities
    - Make sure AutoConfig complete successfully
    ..etc
    Thanks,
    Hussein

Maybe you are looking for

  • Use as a Modem

    Hi I'd like to use my BB Tour on my Mac as a modem. I done it with my Curve and it was successfully working, however it doesn't work on my Mac: it tells me to check the telephonic network and that there is a problem with the transmitter. what can I d

  • Problems with publications with a Crystal Reports file under BW Query

    This one is the problem. The client has a query in SAP with an own parameter of this query. This parameter is a varchar (4) that it stores numerical values (0001,0002,0003... 0099). This parameter in SAP's query has it defined that admits range (we c

  • The input line is too long.

    I am a prentice on J2EE by using the Tutorial 1.4. - Problem: I keep getting this error message: "The input line is too long. The syntax of the command is incorrect." from the windows's terminal no matter what arguments I issued for the command asant

  • At-mio-16xe-50 does not work with labview

    I am putting together another system. I set the daq board with the values recorded from the first system using ni-daq. The setup passes the test in ni-daq. I get the correct readings using ni-daq, but when I go to my labview application I do not get

  • Customized PO report is printing blank after R12 upgrade

    We have upgraded from 11.5.9 to R 12.1.3 .The customized PO report works fine in 11i but prints blank in R12. Kindly help.It is a bit urgent.