Upgrading oracle workspace manager

hi,
I have upgraded recently 9.2.0.1 database to 9.2.0.6 db by applying patchset.
all the components have been brought up to 9.2.0.6 except
Oracle Workspace Manager
9.2.0.1.0
(select comp_name,version from dba_registry) this query returns all the components status valid with 9.2.0.6.0 version).
can Anyone tell me what I have to do to bring up oracle workspace manager to 9.2.0.6.0

Hi,
A full database import/export containing Workspace Manager version enabled tables and/or workspaces is only supported when both the source and target are the same version. So, obviously, you would not be able to export from 9.0.1.3 and import directly into a later version. Typically, this could only be accomplished via upgrade without using import/export as you described.
However, you should be able to install the 9.0.1.3 Workspace manager code on the target database, do the import, and then after that completes to upgrade Workspace Manager to the original version.
Regards,
Ben

Similar Messages

  • Upgrading from 9.0.1.3 to 11.2.0.4 with Oracle Workspace Manager

    Our client has a (very old) 9.0.1.3 database on Windows 2000
    This database (and other products – but that’s not the main concern right now) needs to be upgraded to 11.2.0.4 in Windows2008R2 (64 bit).
    A complicating factor might be the use of Oracle Workspace Manager – a lot of tables are Workspace Managed.
    We can do it the long way, by upgrading it via 9.1.0.4, 10.2.0.1, 10.2.0.4 -> Export and then, on the new environment, import on 10.2.0.4 en subsequently upgrade it to 10.2.0.5 and then 11.2 (and maybe some more patching afterwards).
    But that takes way too long (downtime).
    So would it be possible to do it the “easy way”:
    Full Database Export of 9.0.1.3, import it into a brand new empty 11.2.0.4 and then upgrade Workspace Manager to 11.2 as well?
    Or should we upgrade OWM to 11.2 in the old environment - and is that possible at all?
    (FYI: Snippet from the OWM manuals : Workspace Manager supports the import and export of version-enabled tables in one of the following two ways: a full database import and export, and a workspace-level import and export through Workspace Manager procedures. No other export modes, such as schema, table, or partition level, are currently supported).
    (On purpose cross-posted in the "Workspace Manager" Forum : Upgrading from 9.0.1.3 to 11.2.0.4 with Oracle Workspace Manager

    The database is not that big (in fact there are two, both around 130Gb).
    Affordable downtime is one weekend. The long way (with all patching and upgrading) takes around 100 hours...
    We did raise an SR, but the answer was ... take the long way home ;-)
    (But, FYI, I didn't raise the SR, so I don't know what question has been asked... If the original question was "how to upgrade", you get the official statement. If you don't ask for other options, you don't get them - so I ask it here...)
    And I've seen that presentation... Thanks anyway.

  • Error when upgrading Oracle Identity Manager 9.1.0.1 to OIM 9.1.0.2

    Hello friends,
    I upgraded Oracle Identity Manager 9.1.0.1 to Oracle Identity Manager 9.1.0.2,after the running the command to apply the patch:
    OIM_HOME/xellerate/setup/patch_weblogic.cmd/sh WEBLOGIC_ADMIN_PASSWORD OIM_DB_USER_PASSWORD
    I get the error:
    [wldeploy] [BasicOperation.execute():445] : Initiating deploy operation for app, Xellerate, on targets:
    [wldeploy] [BasicOperation.execute():447] : AdminServer
    [wldeploy] Task 2 initiated: [Deployer:149026]deploy application Xellerate on AdminServer.
    [wldeploy] dumping Exception stack
    [wldeploy] Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    [wldeploy] Target state: deploy failed on Server AdminServer
    [wldeploy]
    [wldeploy]
    [wldeploy] There are 2 nested errors:
    [wldeploy]
    [wldeploy] weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    [wldeploy] and
    [wldeploy]
    [wldeploy] weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    [wldeploy] Target Assignments:
    [wldeploy] + Xellerate AdminServer
    [wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    [wldeploy] Target state: deploy failed on Server AdminServer
    [wldeploy]
    [wldeploy]
    [wldeploy] There are 2 nested errors:
    [wldeploy]
    [wldeploy] weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    [wldeploy] and
    [wldeploy]
    [wldeploy] weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    [wldeploy] [ServerConnectionImpl.close():332] : Closing DM connection
    [wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
    [wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection
    [ant] Exiting C:\oracle\xellerate\setup\weblogic-setup.xml.
    BUILD FAILED
    C:\oracle\xellerate\Setup\setup.xml:448: The following error occurred while executing this line:
    C:\oracle\xellerate\setup\weblogic-setup.xml:310: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: C:\oracle\xellerate\setup\weblogic-setup.xml:310: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    --- Nested Exception ---
    C:\oracle\xellerate\setup\weblogic-setup.xml:310: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    --- Nested Exception ---
    weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Total time: 4 minutes 35 seconds
    How do I deal with this question?
    Thanks.

    This error generally occur if your server is up and you are running patch for upgrade, and its very common error.
    follow the troubleshoot step and get it done.
    page 36
    Troubleshooting the Application of the Patch on Oracle WebLogic Server
    http://docs.oracle.com/cd/E14899_01/doc.9102/e14764.pdf

  • Upgrade Oracle Identity Manager Middle Tier (oim 9.1 Upgrade to oim 11g)

    Hi All,
    Our environment details are
    OIm 11.1.1.5.0 and SOA 11.1.1.5.0
    DB: Oracle 11.2
    OS: Linux redhat 5 x86_64bit
    AppServer: Weblogic 10.3.5 (64 bit)
    We are upgrading oim 9.1 to oim 11.1.1.5, followed the tasks explained in the link (http://download.oracle.com/docs/cd/E21764_01/upgrade.1111/e10129/upgrade_oim.htm#CACGDIEJ) and completed till task 12 (13.14 Task 12: Use Upgrade Assistant to Upgrade Oracle Identity Manager Middle Tier). But task 12 has completed with failed status. the log information is as follows
    [2011-08-22T14:21:32.224-04:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Generic Information: Unable to delete backup profile : /db/AD Group_backup, moving forward ...
    [2011-08-22T14:21:32.226-04:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Generic Information: Unable to delete, as profile does not exist : /db/AD Group moving forward ...
    [2011-08-22T14:21:32.227-04:00] [iam] [NOTIFICATION] [IAM-5012124] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Failed to load profile from MDS /db/AD Group. Error is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/db/AD Group".
    [2011-08-22T14:21:32.227-04:00] [iam] [NOTIFICATION] [IAM-5012124] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Failed to load profile from MDS /db/AD Group_backup. Error is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/db/AD Group_backup".
    [2011-08-22T14:21:32.227-04:00] [iam] [NOTIFICATION] [IAM-5012122] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Reading configurations from the database for object name AD Group
    [2011-08-22T14:21:32.234-04:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Generic Information: tos not null
    [2011-08-22T14:21:32.236-04:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Generic Information: ostkey:74
    [2011-08-22T14:21:32.236-04:00] [iam] [NOTIFICATION] [IAM-5012121] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Form Details: SDK form name:UD_ADGRP
    [2011-08-22T14:21:34.150-04:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 14] [ecid: 0000J7mi8HN8xkc5Ljl3ie1EKdmn00000K,0] Generic Information: Operation CREATE on MetadataObject /db/AD Group
    [2011-08-22T14:21:34.165-04:00] [iam] [NOTIFICATION] [IAM-5012131] [oracle.iam.reconciliation.impl.config] [tid: 14] [ecid: 0000J7mi8HN8xkc5Ljl3ie1EKdmn00000K,0] Performing XML schema validation on AD Group
    [2011-08-22T14:21:36.479-04:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Generic Information: oracle.iam.platform.entitymgr.NoSuchEntityException: RA_ADGROUP9
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Generic Information: null
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] field:RECON_INSTANCETYPE field type:String desc:Group Type
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] schema str size:0
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] field:RECON_CN field type:String desc:Group Display Name
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] schema str size:0
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] field:RECON_OBJECTGUID field type:String desc:Object GUID
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] schema str size:0
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] field:RECON_ITRESOURCE15641F83 field type:string desc:null
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] schema str size:0
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] field:RECON_GROUPNAMEBFB9FBCC field type:String desc:Group Name
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] schema str size:0
    [2011-08-22T14:21:36.538-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] field:RECON_ORGANIZATIONNAMEB47A7958 field type:String desc:Organization Name
    [2011-08-22T14:21:36.539-04:00] [iam] [NOTIFICATION] [] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] schema str size:0
    [2011-08-22T14:21:36.695-04:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000J7mhf_28xkc5Ljl3ie1EKdmn000004,0] Generic Information: {0}[[
    oracle.mds.exception.MDSRuntimeException: MDS-00173: Attribute name of element attribute in document /db/RA_ADGROUP9.xml has a null value.
    at oracle.mds.internal.persistence.db.shredded.DocumentParser.startElementAttrs(DocumentParser.java:1063)
    at oracle.mds.internal.persistence.db.shredded.DocumentParser.startElement(DocumentParser.java:330)
    at oracle.mds.internal.persistence.db.shredded.ShreddedReposAccess.tourDocument(ShreddedReposAccess.java:1090)
    at oracle.mds.internal.persistence.db.shredded.ShreddedReposAccess.tourDocument(ShreddedReposAccess.java:1091)
    at oracle.mds.internal.persistence.db.shredded.ShreddedReposAccess.tourDocument(ShreddedReposAccess.java:1091)
    at oracle.mds.internal.persistence.db.shredded.ShreddedReposAccess.createDocumentParser(ShreddedReposAccess.java:1066)
    at oracle.mds.internal.persistence.db.shredded.ShreddedDBMSConnection.createDocumentParser(ShreddedDBMSConnection.java:400)
    at oracle.mds.internal.persistence.db.BaseDBMSConnection.createDocWithComment(BaseDBMSConnection.java:729)
    at oracle.mds.internal.persistence.db.BaseDBMSConnection.createStoreDocument(BaseDBMSConnection.java:690)
    at oracle.mds.persistence.DelegatingMetadataStoreConnection.createStoreDocument(DelegatingMetadataStoreConnection.java:260)
    Please suggest me.
    Thanks.
    Edited by: user13285646 on Aug 22, 2011 8:23 PM

    I got similar error when I did Database Middle Tier upgrade from 9.1.0.2 to OIM11g 11.1.1.5.
    [2012-01-04T08:58:28.085+13:00] [iam] [NOTIFICATION] [IAM-5012124] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Failed to load profile from MDS /db/AD User Trusted. Error is oracle.mds.core.MetadataNotF
    oundException: MDS-00013: no metadata found for metadata object "/db/AD User Trusted".
    [2012-01-04T08:58:28.100+13:00] [iam] [NOTIFICATION] [IAM-5012131] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Performing XML schema validation on AD User Trusted
    [2012-01-04T08:58:28.192+13:00] [iam] [NOTIFICATION] [IAM-5012122] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Reading configurations from the database for object name AD User Trusted
    [2012-01-04T08:58:28.200+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Generic Information: tos not null
    [2012-01-04T08:58:28.201+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Generic Information: ostkey:54
    [2012-01-04T08:58:28.201+13:00] [iam] [NOTIFICATION] [IAM-5012121] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Form Details: SDK form name:USR
    [2012-01-04T08:58:28.227+13:00] [iam] [NOTIFICATION] [IAM-5012113] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Error while reading mapping rules from the database : java.lang.NullPointerException
    [2012-01-04T08:58:28.227+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Generic Information: {0}[[
    java.lang.NullPointerException
    at oracle.iam.reconciliation.impl.config.ReconAttribute.setCaseInsensitiveFlag(ReconAttribute.java:90)
    at oracle.iam.reconciliation.impl.config.AttrMappingsReader.createTargetAttribute(AttrMappingsReader.java:563)
    at oracle.iam.reconciliation.impl.config.AttrMappingsReader.readSingleValuedAttrs(AttrMappingsReader.java:461)
    at oracle.iam.reconciliation.impl.config.DBConfigReader.readReconConfigFromDB(DBConfigReader.java:60)
    at oracle.iam.reconciliation.impl.config.ProfileManager.createProfileFromDBConfig(ProfileManager.java:131)
    at oracle.iam.reconciliation.impl.config.ProfileManager.persistToXML(ProfileManager.java:239)
    at oracle.iam.reconciliation.impl.config.ProfileManager.lookupProfile(ProfileManager.java:203)
    at oracle.iam.reconciliation.impl.config.ReconPostImportConfigHandler.reconUpdate(ReconPostImportConfigHandler.java:117)
    at oracle.iam.reconciliation.impl.config.ReconPostImportConfigHandler.configure(ReconPostImportConfigHandler.java:110)
    at oracle.ias.upgrade.config.oim.feature.recon.ReconUpgrade.doUpgrade(ReconUpgrade.java:78)
    at oracle.ias.upgrade.config.oim.OIMFeatureUpgradePlugin.doUpgrade(OIMFeatureUpgradePlugin.java:752)
    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-01-04T08:58:28.375+13:00] [iam] [NOTIFICATION] [IAM-5012124] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Failed to load profile from MDS /db/AD User. Error is oracle.mds.core.MetadataNotFoundExce
    ption: MDS-00013: no metadata found for metadata object "/db/AD User".
    [2012-01-04T08:58:28.380+13:00] [iam] [NOTIFICATION] [IAM-5012131] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Performing XML schema validation on AD User
    [2012-01-04T08:58:28.459+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 14] [ecid: 0000JI_99yAE0VWppwp2iY1F0plq00000^,0] Generic Information: Operation DELETE on MetadataObject /db/AD User Trusted_backup
    [2012-01-04T08:58:28.459+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 14] [ecid: 0000JI_99yAE0VWppwp2iY1F0plq00000^,0] Generic Information: Operation DELETE on MetadataObject /db/AD User Trusted
    [2012-01-04T08:58:28.459+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 14] [ecid: 0000JI_99yAE0VWppwp2iY1F0plq00000^,0] Generic Information: Operation CREATE on MetadataObject /db/AD User Trusted_backup
    [2012-01-04T08:58:28.459+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 14] [ecid: 0000JI_99yAE0VWppwp2iY1F0plq00000^,0] Generic Information: Operation CREATE on MetadataObject /db/AD User Trusted
    [2012-01-04T08:58:28.472+13:00] [iam] [NOTIFICATION] [IAM-5012131] [oracle.iam.reconciliation.impl.config] [tid: 14] [ecid: 0000JI_99yAE0VWppwp2iY1F0plq00000^,0] Performing XML schema validation on AD User Trusted
    [2012-01-04T08:58:28.529+13:00] [iam] [NOTIFICATION] [IAM-5012122] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Reading configurations from the database for object name AD User
    [2012-01-04T08:58:28.537+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Generic Information: tos not null
    [2012-01-04T08:58:28.540+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Generic Information: ostkey:63
    [2012-01-04T08:58:28.540+13:00] [iam] [NOTIFICATION] [IAM-5012121] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Form Details: SDK form name:UD_ADUSER
    [2012-01-04T08:58:28.584+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 14] [ecid: 0000JI_99yAE0VWppwp2iY1F0plq00000^,0] Generic Information: Operation DELETE on MetadataObject /db/AD User_backup
    [2012-01-04T08:58:28.584+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 14] [ecid: 0000JI_99yAE0VWppwp2iY1F0plq00000^,0] Generic Information: Operation DELETE on MetadataObject /db/AD User
    [2012-01-04T08:58:28.584+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 14] [ecid: 0000JI_99yAE0VWppwp2iY1F0plq00000^,0] Generic Information: Operation CREATE on MetadataObject /db/AD User_backup
    [2012-01-04T08:58:28.604+13:00] [iam] [NOTIFICATION] [IAM-5012113] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Error while reading mapping rules from the database : java.lang.NullPointerException
    [2012-01-04T08:58:28.604+13:00] [iam] [NOTIFICATION] [IAM-5012113] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Error while reading mapping rules from the database : java.lang.NullPointerException
    [2012-01-04T08:58:28.604+13:00] [iam] [NOTIFICATION] [IAM-5010000] [oracle.iam.reconciliation.impl.config] [tid: 13] [ecid: 0000JI_8g^GE0VWppwp2iY1F0plq000004,0] Generic Information: {0}[[
    java.lang.NullPointerException
    at oracle.iam.reconciliation.impl.config.ReconAttribute.setCaseInsensitiveFlag(ReconAttribute.java:90)
    at oracle.iam.reconciliation.impl.config.AttrMappingsReader.createTargetAttribute(AttrMappingsReader.java:563)
    at oracle.iam.reconciliation.impl.config.AttrMappingsReader.readSingleValuedAttrs(AttrMappingsReader.java:461)
    at oracle.iam.reconciliation.impl.config.DBConfigReader.readReconConfigFromDB(DBConfigReader.java:60)
    Have you got any progress for your issue from Oracle?
    Huaikun Lin
    Jan 04 2012

  • Oracle Workspace Manager

    Can you configure WebLogic connection pools to work with Oracle Workspace Manager?

    Randall wrote:
    Can you configure WebLogic connection pools to work with Oracle Workspace Manager?We support all standard J2EE APIs, but OWM isn't a standard. How does it relate to JDBC
    connections?
    Joe

  • Upgrading Oracle Wallet Manager

    I am currently running Oracle Application Server 10.1.2.3 on a Windows Server 2203 R2 box. We are being forced to migrate our SHA1 SSL certificates to SHA256. However, when I attempt to import the certs into Oracle Wallet Manager 10.1.0.5, I get an error saying "Some trusted certificates could not be installed". I believe that Oracle Wallet Manager 11.2.0.1 supports SHA256 certs. Is there a way for me to upgrade JUST Oracle Wallet Manager without doing a full Application Server upgrade to Fusion Middleware 11g?

    Dear sir,
    I have the same problem with my Oracle Application Server 10.1.4.2.
    Is there a solution?
    Thank You

  • Upgrading Oracle Order Management from R12.1.1 to R12.1.3

    Hi Forum,
    Currently we are on Oracle R12.1.1 and we have a requirement to upgrade only the OM section of Oracle EBS (Order Management module) to R12.1.3. In order to do this what are the patches that we need to apply? Any specific Oracle Support note we can refer to?
    Thanks,
    Chamil

    Currently we are on Oracle R12.1.1 and we have a requirement to upgrade only the OM section of Oracle EBS (Order Management module) to R12.1.3. In order to do this what are the patches that we need to apply? Any specific Oracle Support note we can refer to?You cannot upgrade certain module and in order to go from 12.1.1 to 12.13 you need to refer to:
    Oracle E-Business Suite Release 12.1.3 Now Available
    http://blogs.oracle.com/stevenChan/2010/08/ebs_1213_available.html
    If you want to get the latest OM patchset, please refer to:
    Oracle Applications Current Patchset Comparison Utility - patchsets.sh [ID 139684.1]
    MOS > Patches & Updates > Recommended/Latest R12 Patchsets
    Thanks,
    Hussein

  • Upgrading Oracle from 11.1.0.7 to 11.2 INVALIDATES Rules Manager ?Any Idea

    Operating system is HP UX ia64 and I used Automatic upgrade method using DBUA
    SQL> select substr(comp_name,1,40) comp_name, status, substr (version,1,10) version from dba_registry order by comp_name;
    COMP_NAME STATUS VERSION
    JServer JAVA Virtual Machine VALID 11.2.0.1.0
    Oracle Database Catalog Views VALID 11.2.0.1.0
    Oracle Database Java Packages VALID 11.2.0.1.0
    Oracle Database Packages and Types VALID 11.2.0.1.0
    Oracle Enterprise Manager VALID 11.2.0.1.0
    Oracle Expression Filter VALID 11.2.0.1.0
    Oracle Real Application Clusters INVALID 11.2.0.1.0
    Oracle Rules Manager INVALID 11.2.0.1.0 ---------------------------------------have anybody encoountered this Plz help
    Oracle Workspace Manager VALID 11.2.0.1.0
    Oracle XDK REMOVED 11.1.0.7.0
    Oracle XML Database VALID 11.2.0.1.0
    Thanks for Help in advance
    Gagan

    Hello EveryOne!
    I also have the same problem.
    I tried to run the rulpatch script but the problem still the same.
    I'm on AIX 5.3
    the script output says:
    .. loading the Expression Filter/BRM Java library
    call sys.dbms_java.loadjava(' -v -f -r -schema exfsys rdbms/jlib/ExprFilter.jar')
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    oracle.aurora.server.tools.loadjava.ToolsError:
    Error during loadjava: Failures occurred during processing.
    Check trace file for details
    ORA-06512: at "SYS.DBMS_JAVA", line 655.
    The Oracle Components :
    COMP_NAME STATUS PROCEDURE
    Oracle Expression Filter VALID VALIDATE_EXF
    Oracle Rules Manager                     INVALID VALIDATE_RUL
    Oracle XML Database VALID DBMS_REGXDB.VALIDATEXDB
    Oracle Enterprise Manager VALID
    Oracle Database Catalog Views VALID DBMS_REGISTRY_SYS.VALIDATE_CATALOG
    Oracle Database Packages and TypesVALID DBMS_REGISTRY_SYS.VALIDATE_CATPROC
    JServer JAVA Virtual Machine VALID INITJVMAUX.VALIDATE_JAVAVM
    Oracle Database Java Packages VALID DBMS_REGISTRY_SYS.VALIDATE_CATJAVA
    Thanks for the answers.
    Zs

  • After upgrading to 9.2.0.6 to 9.2.0.8, Oracle worspace manager is 9.2.0.1.

    Hi,
    I installed 9.2.0.1 s/w and upgraded th s/w to 9.2.0.6. then i created the database and applied the 9.2.0.8 patchset.
    After applying the patch set, while after executing the catpatch.sql, there i am getting the list as
    SQL> select comp_name,version,status from dba_registry;
    COMP_NAME VERSION STATUS
    Oracle9i Catalog Views 9.2.0.8.0 VALID
    Oracle9i Packages and Types 9.2.0.8.0 VALID
    Oracle Workspace Manager 9.2.0.1.0 VALID
    Is there any problem that, still Oracle Workspace Manager is showing 9.2.0.1 only.
    Please let me know.
    Thanks,
    Mahipal

    Hi Anvar Huseynov,
    For 1st Db it is showing as
    COMP_NAME STATUS VERSION
    Oracle9i Catalog Views VALID 9.2.0.8.0
    Oracle9i Packages and Types VALID 9.2.0.8.0
    JServer JAVA Virtual Machine VALID 9.2.0.8.0
    Oracle XDK for Java VALID 9.2.0.10.0
    Oracle9i Java Packages VALID 9.2.0.8.0
    For another 2nd DB
    COMP_NAME STATUS VERSION
    Oracle9i Catalog Views VALID 9.2.0.8.0
    Oracle9i Packages and Types VALID 9.2.0.8.0
    Oracle Workspace Manager VALID 9.2.0.1.0
    and for another 3rd DB
    COMP_NAME STATUS VERSION
    Oracle9i Catalog Views VALID 9.2.0.8.0
    Oracle9i Packages and Types VALID 9.2.0.8.0
    JServer JAVA Virtual Machine VALID 9.2.0.8.0
    Oracle9i Java Packages VALID 9.2.0.8.0
    Why it is showing the differences in the Dbs even though all are in the same ORACLE HOME.
    Please let me know if any problem is there with the above patch upgradations to 9.2.0.8. Please tell me how to resolve them, if any problem is there.
    Thanks in advance,
    Mahipal

  • Upgrade oracle 9.06.0 to 10.0.4.0  with invalid sys objs  in window

    Hi Friends,
    We made a cold copy and upgrade database to 10.0.4.0 from 9.0.6.0 in 32 bit window 2003.
    I just find lots of invalid objects in DB even I run these codes (utlrp.sql ,utlprp.sql or EXEC DBMS_UTILITY.compile_schema).
    The invalid objects are still in DB as
    SQL> select owner, OBJECT_TYPE , count(*)from all_objects
    2 where status='INVALID'
    3 group by owner, OBJECT_TYPE
    4 order by owner, OBJECT_TYPE ;
    OWNER OBJECT_TYPE COUNT(*)
    ODM VIEW 1
    OLAPSYS FUNCTION 1
    OLAPSYS PACKAGE 49
    OLAPSYS PACKAGE BODY 47
    OLAPSYS TRIGGER 48
    OLAPSYS VIEW 122
    PUBLIC SYNONYM 146
    OWNER OBJECT_TYPE COUNT(*)
    QS_ADM PACKAGE BODY 1
    SYS PACKAGE BODY 1
    WKSYS FUNCTION 3
    WKSYS PACKAGE 19
    WKSYS PACKAGE BODY 17
    WKSYS PROCEDURE 3
    WKSYS TRIGGER 23
    WKSYS VIEW 2
    based on above SQL results, how to fix this issue?
    Thanks
    JIm

    Hi Friends,
    I check db_registory and all is valid.
    SQL> select COMP_ID , COMP_NAME, VERSION ,STATUS ,
    2 MODIFIED ,NAMESPACE,CONTROL, SCHEMA ,PROCEDURE , STARTUP , PARENT_ID , OTHER_SCHEMAS
    3 from dba_registry;
    COMP_ID COMP_NAME VERSION STATUS
    EM Oracle Enterprise Manager 10.2.0.4.0 VALID
    SDO Spatial 10.2.0.4.0 VALID
    ORDIM Oracle interMedia 10.2.0.4.0 VALID
    AMD OLAP Catalog 10.2.0.4.0 VALID
    XDB Oracle XML Database 10.2.0.4.0 VALID
    CONTEXT Oracle Text 10.2.0.4.0 VALID
    EXF Oracle Expression Filter 10.2.0.4.0 VALID
    RUL Oracle Rules Manager 10.2.0.4.0 VALID
    OWM Oracle Workspace Manager 10.2.0.4.3 VALID
    ODM Oracle Data Mining 10.2.0.4.0 VALID
    CATALOG Oracle Database Catalog Views 10.2.0.4.0 VALID
    COMP_ID COMP_NAME VERSION STATUS
    CATPROC Oracle Database Packages and Types 10.2.0.4.0 VALID
    JAVAVM JServer JAVA Virtual Machine 10.2.0.4.0 VALID
    XML Oracle XDK 10.2.0.4.0 VALID
    CATJAVA Oracle Database Java Packages 10.2.0.4.0 VALID
    APS OLAP Analytic Workspace 10.2.0.4.0 VALID
    XOQ Oracle OLAP API 10.2.0.4.0 VALID
    17 rows selected.
    So what should I need to do for these invalid objects?
    Thanks
    JIM

  • Workspace Manager component INVALID

    Hi,
    We upgraded our DB from version 9.2.0.8.0 to 10.2.0.4.0 OS:- IBM AIX
    Post upgradation all other components are VALID except below one. Kindly help to bring it VALID state.
    SELECT COMP_NAME,VERSION,STATUS FROM SYS.DBA_REGISTRY where STATUS='INVALID';
    COMP_NAME VERSION STATUS
    Oracle Workspace Manager 10.2.0.4.3 INVALID

    Elango R wrote:
    Hi,
    We upgraded our DB from version 9.2.0.8.0 to 10.2.0.4.0 OS:- IBM AIX
    Post upgradation all other components are VALID except below one. Kindly help to bring it VALID state.
    SELECT COMP_NAME,VERSION,STATUS FROM SYS.DBA_REGISTRY where STATUS='INVALID';
    COMP_NAME VERSION STATUS
    Oracle Workspace Manager 10.2.0.4.3 INVALIDHi,
    Can you check your upgrade log and let us know why catupgrd.sql did not upgraded your Workspace manager?
    Regards
    Anurag

  • Oracle Identity Manager 11.1.1.3

    Hi,
    I am trying to upgrade Oracle Identity Manager 9.1.0.1 to 11.1.1.3.
    But I am unable to find the documentation for upgradation.
    Could anyone can suggest me how to upgrade OIM 9.1.0.1 to 11.1.1.3.
    Edited by: Sri Kishore on Aug 10, 2010 4:30 AM

    Hi Sri;
    Please check below which could answer your question.
    Identity Manager Documentation Library
    http://download.oracle.com/docs/cd/E10391_01/index.htm
    http://www.oracle.com/technetwork/middleware/id-mgmt/overview/index.html << Documentation part
    http://blogs.oracle.com/stevenChan/2010/07/primer_oim_11gr1_ebs.html << reference part
    Regard
    Helios

  • No Oralce Workspace Manager in database

    Hi all,
    I used manual script to create a database and I found there is no oracle workspace manager.
    SQL> select comp_name,version from dba_registry order by comp_name;
    COMP_NAME VERSION
    JServer JAVA Virtual Machine 10.2.0.3.0
    OLAP Analytic Workspace 10.2.0.3.0
    OLAP Catalog 10.2.0.3.0
    Oracle Data Mining 10.2.0.3.0
    Oracle Database Catalog Views 10.2.0.3.0
    Oracle Database Java Packages 10.2.0.3.0
    Oracle Database Packages and Types 10.2.0.3.0
    Oracle Enterprise Manager 10.2.0.3.0
    Oracle Expression Filter 10.2.0.3.0
    Oracle OLAP API 10.2.0.3.0
    Oracle Rules Manager 10.2.0.3.0
    Oracle Text 10.2.0.3.0
    Oracle XDK 10.2.0.3.0
    Oracle XML Database 10.2.0.3.0
    Oracle interMedia 10.2.0.3.0
    Spatial 10.2.0.3.0
    16 rows selected.
    How can I install it?
    I installed Apex 3.2,but apex doesn't work after installing it.
    Thanks!

    Hi,
    I would recommend to install the latest version of Workspace Manager(10.2.0.4.4) that is available of Metalink. If you only with to install the version that came with the database, you can execute the following script: @?/rdbms/admin/owminst.plb.
    Regards,
    Ben

  • Workspace Manager download software

    Hi!
    I am trying to download the Oracle Workspace Manager 10g, but I could not find in the Oracle Workspace dowload (for the 10g release)!!!
    http://www.oracle.com/technology/software/products/workspace_mgr/index.html
    Please, somebody can help me?
    Many thanks in advance,
    Ale

    Ale,
    there are 2 prodoucts
    Oracle Workspace Manager ( for the database)
    for downloads start here http://www.oracle.com/technology/software/index.html
    for the OWM forum start here Workspace Manager
    and
    Oracle Collaborative Workspaces (part of the Collaboration Suite)
    to learn more about OCW
    http://www.oracle.com/technology/products/oworkspaces/index.html
    the to products are not releated.

  • Oracle11gR2 Workspace Manager and table consistency after merge

    Hi folks,
         I'm working with Oracle Workspace Manager in order to get data inserted and validated into workpaces before they become available to the LIVE workspace.
         Doing some tests I found a problem about data consistency after I merge the data from a child workspace to the parent workspace.
         To be able to explain and reproduce the problem I create a simple test case:
    --Create table TB_LINK
    create table TB_LINK
      CD_LINK NUMBER not null,
      DS_LINK VARCHAR2(30)
    --Create primary key
    alter table TB_LINK add primary key (CD_LINK);
    --Create table TB_GUD
    create table TB_GUD
      CD_GUD  NUMBER not null,
      DS_GUD  VARCHAR2(30),
      CD_LINK NUMBER
    -- Create primary key
    alter table TB_GUD add primary key (CD_GUD);
    -- Create foreign key 
    alter table TB_GUD
      add constraint FK_TB_LINK foreign key (CD_LINK)
      references TB_LINK (CD_LINK);
    -- Create sequences
    create sequence SEQ_TB_GUD
    minvalue 1
    maxvalue 9999999999999999999999999999
    start with 1
    increment by 1
    nocache;
    create sequence SEQ_TB_LINK
    minvalue 1
    maxvalue 9999999999999999999999999999
    start with 1
    increment by 1
    nocache; 
    --Create Triggers
    create or replace trigger "INS_TB_GUD" before insert on TB_GUD for each row
    Begin
    select SEQ_TB_GUD.nextval into :new.CD_GUD from dual;
    end;
    create or replace trigger "INS_TB_LINK" before insert on TB_LINK for each row
    Begin
    select SEQ_TB_LINK.nextval into :new.CD_LINK from dual;
    end;
    --Enable version TB_LINK and TB_GUD
    EXECUTE DBMS_WM.EnableVersioning('TB_GUD','VIEW_WO_OVERWRITE',FALSE,FALSE,'UNLIMITED');
    EXECUTE DBMS_WM.EnableVersioning('TB_LINK','VIEW_WO_OVERWRITE',FALSE,FALSE,'UNLIMITED');
    --Create a workspace
    EXECUTE DBMS_WM.CreateWorkspace ('TEST_WKS');
    --Goto workspace TEST_WKS
    EXECUTE dbms_wm.gotoworkspace('TEST_WKS');
    --Insert data into TB_LINK and TB_GUD
    INSERT INTO TB_LINK(DS_LINK) VALUES ('DS1');
    INSERT INTO TB_LINK(DS_LINK) VALUES ('DS2');
    INSERT INTO TB_LINK(DS_LINK) VALUES ('DS3');
    INSERT INTO TB_LINK(DS_LINK) VALUES ('DS4');
    COMMIT;
    INSERT INTO TB_GUD(DS_GUD,CD_LINK) VALUES ('GUD1',1);
    INSERT INTO TB_GUD(DS_GUD,CD_LINK) VALUES ('GUD2',2);
    INSERT INTO TB_GUD(DS_GUD,CD_LINK) VALUES ('GUD3',3);
    INSERT INTO TB_GUD(DS_GUD,CD_LINK) VALUES ('GUD4',4);
    COMMIT;
    --Checking keys
    select * from tb_link;
       CD_LINK      DS_LINK
             1           DS1
             2           DS2
             3           DS3
             4           DS4
    select * from tb_gud;
       CD_GUD      DS_GUD     CD_LINK
             1           GUD1              1
             2           GUD2              2
             3           GUD3              3
             4           GUD4              4
    --Merge Workspace
    EXECUTE DBMS_WM.MergeWorkspace ('TEST_WKS');
    --Checking keys
    EXECUTE dbms_wm.gotoworkspace('LIVE');
    select * from tb_link;
       CD_LINK      DS_LINK
             5           DS4
             6           DS3
             7           DS1
             8           DS2
    We can see that the CD_LINK got new values after merge and that was not expected.
    select * from tb_gud;
       CD_GUD      DS_GUD                  CD_LINK
             6           GUD3                       3
             7           GUD1                       1
             8           GUD2                       2
             5           GUD4                       4
    We can see that the CD_GUD got new values after merge and that was not expected.
    Now, the values for the CD_LINK column does not have corresponding records at the TB_LINK table, as the foreign key does not exist anymore.
    Could you please help me understand what is going on?
    Thanks,
    Luis

    Hi Luis,
    The reason for the difference is that the trigger is being run during the MergeWorkspace operation.  The inserts into the child workspace(TEST_WKS) translates into an insert into the LIVE workspace during merge as the rows do not yet exist.  As a result, the trigger is fired and the sequence is evaluated.  Ideally, we should not allow the PK to be modified by a sequence in this case.
    You have 2 options:
    (1) Check for :new.CD_GUD being null prior to using the sequence.  Any dml coming from a merge/refresh operation will have a non-null value.
    (2) Turn off the trigger during dbms_wm procedures.  This can be done using dbms_wm.SetTriggerEvents.  I would assume you would only want this trigger being run for DML events.
    Let me know if you have any questions.
    Regards,
    Ben

Maybe you are looking for