Deploying mappings in non-target schema

Hi,
How can I deploy my mappings in a different schema other than the target schema(where all the target facts/dimensions are present). I want the OWB generated mapping packages in a different schema. How can I accomplish this!!
Thanks,
Srinivas.

Hi Srinivas,
You connect to the runtime repository using the runtime access user.
The you register your factual target users (you now would have 2). Then when you deploy objects to the target locations (a.k.a users) they will end up in that user, not in the stuff you log on with...
If you want to do all of this nicely (just realized that) you should have 2 modules in the design. If you do this you do not need the synonyms..
So you would have a module called packages, a module called schema_objects. Then you have 2 locations related to these 2 modules (package_location and object_location respectively).
When you go to the deployment manager, you will see a tree with package_location and object_location. Click register for those.
Package_location will be user PACK
object_location will be user OBJECTS_HERE
Deploy the lot (packages into PACK of course) and make sure to deploy the connector (this allows OWB to generate the required schema references, replacing the synonyms I suggested before).
Jean-Pierre

Similar Messages

  • Do I need to deploy Public Synonym in Target Schema?

    Hi,
    I need to develop and deploy a mapping. I need to use source table in source schema but a Public Synonym for a terget table. This destination table for the public synonym is not target_schema where mapping is to be deployed. Do I still need to deploy the public synonym into my target schema where mapping is or not? I was 3wandering since its a public synonym and the actual destination table is already in database I may not have to deploy this synonym. Thanks for the help in advance..

    OWB does not currently directly support public synonyms. You will have to deal with these synonyms outside OWB and if you use the synonym from a mapping you can trick OWB to use it by creating and using a dummy table in the mapping.
    Regards:
    Igor

  • Deploying the code in OWB in same target schema

    i have created one staging area and and enterpise model in OWB to deploy my mappings. to deploy the staging area and enterpisre model mapping i have one TARGET SCHEMA.
    now when i want to deploy my enterpise model mapping to the target schema(where i have deployed staging area mapping) OWB is showing the error
    ORA-06550: line 127, column 9:
    PL/SQL: ORA-00942: table or view does not exist
    thank you

    Use sca-deploy.xml... Check the documentation here...
    http://docs.oracle.com/cd/E14571_01/integration.1111/e10224/sca_lifecycle.htm#CACCDBHG
    Cheers,
    Vlad

  • How to deploy mapping in TARGET SCHEMA  in OWB

    i have created one staging area module and and enterpise model module in OWB to deploy my mappings. to deploy the staging area and enterpisre model mapping i have one TARGET SCHEMA.
    now when i want to deploy my enterpise model mapping to the target schema(where i have deployed staging area mapping) OWB is showing the error
    ORA-06550: line 127, column 9:
    PL/SQL: ORA-00942: table or view does not exist
    IS IT NOT POSSIBLE TO DEPLOY STAGING AND WAREHOUSE TABLES TO SAME SCHEMA ?
    thanks
    Message was edited by:
    [email protected]

    Good morning Kunal,
    Naren is right, no problem deploying the content of different modules in the same schema.
    In case you are using OWB 9.0.4 or more recent, have you defined module locations and connectors properly and have you registered the locations in the Deployment Manager?
    Good luck, Patrick

  • Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.

    I am using VS 2012 and BizTalk 2013 and attempting to deploy an application to BizTalk when I get these errors:
    Error 47
    at Microsoft.BizTalk.Deployment.Assembly.BtsMap.Save()
       at Microsoft.BizTalk.Deployment.Assembly.BtsArtifactCollection.Save()
       at Microsoft.BizTalk.Deployment.Assembly.BtsAssembly.Save(String applicationName)
       at Microsoft.BizTalk.Deployment.BizTalkAssembly.PrivateDeploy(String server, String database, String assemblyPathname, String applicationName)
       at Microsoft.BizTalk.Deployment.BizTalkAssembly.Deploy(Boolean redeploy, String server, String database, String assemblyPathname, String group, String applicationName, ApplicationLog log)
    0 0
    Error 49
    Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Failed to deploy map "XXX.BTS2013.XXX.Maps.map_XXXX_R01_InsLabProc".
    Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present. Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.
    0 0
    Error 46
    Failed to deploy map "XXX.BTS2013.XXX.Maps.map_XXXX_R01_InsLabProc".
    Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.
    0 0
    I also tried to Import a MSI file from our test environment to see if that would work...got the same errors.  After spending hours (not kidding) looking for an answer, all I could find is that a hotfix would work.  So, I got the hotfix from Microsoft
    Support and applied it then rebooted.  Still getting the same errors.  I'm absolutely at a stand still.  Interesting that I got this application to deploy yesterday and then the next time I deployed it I started getting these errors.  I'm
    ready to pull my hair out!
    Is there an answer for this out there somewhere?  Any help would be appreciated.
    Thanks,
    Dave

    Hi Dave,
    Which hotfix have you applied? I don't think a hotfix of this issue is available for BizTalk 2013 yet. You should create a
    support ticket with Microsoft to get a solution.
    If this answers your question please mark as answer. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Cannot deploy PL/SQL maps to the target schema as it is not owned by CC

    Hi,
    I am repeatedly getting this error when i try to deploy to target.
    I have created design repository in one database and my target is in another database.
    I have installed the runtime repository in the target machine in which my target schema is installed.
    I dont have Control Center in the target machine, i am starting the control center service from the clienf machine for the target machine.
    I have registered the target schema user as the repository user.
    I can able to deploy the tables and register the locations in the target except the PL/SQL maps.
    Thanks and Regards,
    Soma

    Do i need to have same user as Repository owner in the design and run time repositories.
    Thanks and Regards,
    Soma

  • Deploying mappings by changing Source/production system using OMB Scripting

    Hi Mark,
    I am now trying to deploy my mappings from DEVELOPMENT environment to PRODUCTION environment.
    Now my mappings are point to DEVELOPMENT Source System and DEVELOPMENT target system. When I deploy these mappings should point to PRODUCTION Source System and PRODUCTION target System.
    I could get some help from the forum for deploying the mappings point to PRODUCTION target system, but I couldnt find any help how to change the Source System Location. I have exported all my mappings (.xml files) in the C:\OWBDeploy directory.
    How do we register and unregister a location using OMB Scripting?
    How to write a batch deployment action without using deployment manager?
    Provide a example to deploy the mappings using OMB script
    for both source and target systems locations.
    I am using Oracle 9.2, OWB 9.2.0.2.8, OWF 2.6 and OMB 9.2.0.2.8.
    Regards,
    Shreedhar

    Below script will deploy all the mappings in a module. It can be used with filter condition like mappings which start with ‘M_D’ or ‘M_F’ also. Above script will deploy mappings very effectively comparing with GUI. Frequent problem in OWB mapping execution ‘ TASK not found’ error will not occur, if we deploy the mappings using above scripts.
    Steps to Deploy All Mappings in a Module
    Start the OMB PLUS from Command Prompt or Start Menu
    Change the context to the respective Project
    Connect to Design Repository
    Register the Location Properties if the deployment is happening first time in the target schema.
    Change the context to the respective Module
    Use foreach and OWBCREATE command to create a Deployment Plan for Droping if any previous deployment for all mappings
    Use foreach and OWBCREATE command to create a Deployment Plan for Newly Deploying the Mapping
    Use foreach and OWBDEPLOY command to run the Drop Deployment Plan
    Commit
    Use for each and OWBDEPLOY command to run the Create Deployment Plan
    Example
    OMBCONNECT mis_owb904_rep/[email protected]:1521:ulyut03s
    OMBCC '/IGMS_MIS_GEMNCAP_FOC'
    OMBCONNECT RUNTIME 'ST_DWH_RUNTIME_FOC' USE PASSWORD ‘MIS_RT_OWNER’
    OMBREGISTER LOCATION 'ST_LOC_CURRENTMISTARGET_FOC' SET PROPERTIES (Host, Port, Service, Schema, Password) \
    VALUES ('10.202.148.176', 1521, 'ULYUT01M','MIS_OWNER', 'MANAGER')
    OMBCC '/IGMS_MIS_GEMNCAP_FOC/CURRENTMISTARGET'
    foreach mappingname [OMBLIST MAPPINGS] {
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$mappingname.DROP' ADD ACTION '$mappingname.DROP' \
    SET PROPERTIES (OPERATION) VALUES ('DROP') SET REFERENCE MAPPING \
    '/IGMS_MIS_GEMNCAP_FOC/CURRENTMISTARGET/$mappingname';}
    foreach mappingname [OMBLIST MAPPINGS] {
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$mappingname.DROP'
    OMBCOMMIT;}
    foreach mappingname [OMBLIST MAPPINGS] {
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$mappingname.CREATE' ADD ACTION '$mappingname.CREATE' \
    SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE MAPPING \
    '/IGMS_MIS_GEMNCAP_FOC/CURRENTMISTARGET/$mappingname';}
    foreach mappingname [OMBLIST MAPPINGS] {
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$mappingname.CREATE'
    OMBCOMMIT;}

  • Migration to 10.2: Target Schema managed by old Control Center/Runtime Rep

    Hi
    We are migrating from OWB10gR1 to R2 (10.2.0.4)
    After loosing (!) the old 10.1 runtime repository "OWBRUN" we created a new Design Repository.
    Then we wanted assign an old target schema named "TARGET" to the new one (with Security -> User -> New ...)
    Unfortunately we receive the message:
    User "TARGET" is managed by another control center: OWBRUN
    How can we remove this connection between "OWBRUN" and "TARGET" ?
    Otherwise we can not use this schema as a target, and therefore we can't deploy mappings to it.
    Beat

    I solved my problem using the 10gR2-Repository Assistant:
    1. Installing a new Control Center with the name of the old one (OWBRUN exactly!).
    2. Register the target schemas to this new CC (as before in 10gR1)
    3. Unregister those targets from OWBRUN
    4. Register the targets to the correct CC (OWBRUN1020)
    (5. Deinstall CC OWBRUN)
    Beat

  • Target Schema Registered to Multiple Repository

    Hello Everybody,
    We have OWB 10G2 installed on a linux server and some target schemas are associated to the OWB repository. Now We want to create another OWB repository on Windows server but would like to use the same target schema which the other OWB repository is using.
    I was going through the OWb istallation guide and it says "One target schema associated with multiple repositories, however, is not permitted".
    Is there any other way out to do this...and incase we need to register other schema as target schema to the new repository..Is it compulsory to have that target schema on the same database on which the repository is installed.
    Please suggest.
    Thanks in advance.
    Regards,
    Sunil

    Hi Sunil,
    a target schema is always assiciated to one repository. That repository is the runtime environment for your mappings.
    You may have two repositories for development on different machines and deploy the the same target, but I would not recommend it.
    But it is common the other way round: you have one repository on machine A where you do the development of your mappings, then you deploy to a target on machine B (for testing) and to a target on machine C (production).
    See the manual for different architecture scenarios.
    Regards,
    Carsten.

  • Xslt transformation - single tag to unbounded element in target schema

    I am trying xslt in JDev11g. My source has tags like soldTo, shipTo and BillTo customer details. I need to map these in the target schema <PARTIES> unbounded element in the 2nd, 4th and 5th iteration. I am unable to map multiple times into the target. Can this be done? Target example is below:
    <PARTNERS/>
    <PARTNERS>
    <PARTYTYPE>ShipTo</PARTYTYPE>
    <PARTNRNDX>BMW1702</PARTNRNDX>
    </PARTNERS>
    <PARTNERS/>
    <PARTNERS>
    <PARTYTYPE>SoldTo</PARTYTYPE>
    <PARTNRNDX>BMW2521</PARTNRNDX>
    </PARTNERS> ....
    Thanks
    Shanthi

    Hello Folks,
    I have a similar issue. I have a particular unbounded element which i have to display multiple times ( mapping it to different source tags from the source schema) . I am able to do it in the source view and my transformation works fine when i test it. I am able to get the XML what i need. How ever when i switch to the design view, i get this error
    Transformation_1.xsl
    Error: This node is already mapped, repeating nodes not supported : "/mstns:OrderCreate/mstns:OrderCreateProperties/mstns:PartnerInformation/@partnerRoleIndicator"
    Error: This node is already mapped, repeating nodes not supported : "/mstns:OrderCreate/mstns:OrderCreateProperties/mstns:PartnerInformation/mstns:PartnerIdentifier/@partnerIdentifierIndicator"
    Is it ok to proceed and deploy with the current code? Or should i modify my source schema (which is in my control) to fetch multiple rows, use a for-each to achieve this functionality?
    Thanks

  • Error in target schema defining

    Hi
    I have installed OWB in machine called A and taken same as my target schema and i could load data into target schema(A) from another source database
    But now i want to take an anothe machine say B as my target databse,for that i have created a Repository user/manager in machine B and registered same user/manager in the design center as target schema user and defined the target location even then i am getting the below error can anybody please help me in this what else i need to do to load data in to machine B by using OWB
    RPE-01012: Cannot deploy PL/SQL maps to the target schema because it is not owned by the Control Center
    Also is it mandatory to have JVM installed on the target machine?
    If so do i need to excute the bellow SQLs?
    call dbms_java.grant_permission('OWB_REPO_OWNR', 'java.util.PropertyPermission','*','read,write');
    call dbms_java.grant_permission('OWB_REPO_OWNR', 'java.net.SocketPermission','10.23.7.8','resolve')
    call dbms_java.grant_permission('OWB_REPO_OWNR', 'java.io.FilePermission','F:\owb_oracle_home\jdk\jre\bin\javaw.exe','execute');
    Regards
    Venu
    Edited by: 648738 on Sep 16, 2008 10:05 PM

    Hi, did you start Control Center on server B?
    Did you define new Control Center record in Design Center?
    (I guess you still connect with Design Center to OWB repository on server A)
    Of course you need to install JVM option into target database.
    Regards,
    Oleg

  • How to unselect a schema as a target schema in the old  version OWB?

    Hi all,
    I am upgrading my OWB from 9.0.5 to 10.2.0.3. When I deploy the mapping, I get the error message saying "cannot deploy the map to the target schema because it is not owned by the control center". So I log in as the repository owner, and want to add this schema to be the repository user, also to be the target schema. When I do this, I get a error message saying "The following user can not be registered as a target schema, as it is alreday being managed by a different control center", which is my old repository in 9.0.5. Does anybody know how to unselect the schema as the target schema in OWB 9.0.5?
    thanks a lot

    Hi,
    for OWB 9.2 and later this can be performed with Runtime Assistant, for details look at
    http://download.oracle.com/docs/html/B11000_02/04deinst.htm#1146937
    I have little experience with pre 9.2 OWB releases, but I think that this procedure is very similar across all OWB versions. I think you need check this in Installation guide for OWB 9.0.5
    Regards,
    Oleg

  • Is it possible to have source and target schema in the same DB instance ?

    Hi All,
    I'm using Oracle 11gR1.
    I have switched source locations from other server to the one with OWB.
    During deploy I get VLD-3064 and I can't deploy mapping because of many 'table or view does not exist' warnings.
    Is it possible to have source and target schemas in the same instance ??
    How to do it ?
    Regards,
    Martin

    Hi Jörg,
    Thanks for your help and quick answer.
    I'd like to clarify a little your answer :
    1. Are the any special privilages I need to set ? Currently I have only 'RESOURCE' and 'CONNECT' (I think I didn't have to add any other privs when that schema was located on other instance...)
    2. Also VLD-3064 states that : 'Owning and referenced location of this connector are on the same database instance. Unless explicitly referenced in configuration settings no generated code will use the dataabase link resulting from deployment of this connector'. Does it mean I have to put something in configuration ?
    Thanks,
    Martin

  • OWB Target Schema Tables

    OWB installs some tables under the target schema (including, for example, WB_RT_PARAMETERS, WB_RT_PLATFORM_PROPERTIES). These tables are in the same schema as all of our application target tables. Our DBAs want to know:
    (1) Is there some way to have OWB build all these tables under a schema separate from the schema in which all of our application tables reside?
    And, if not:
    (2) Is there some way to identify the tables (and other objects) created by OWB. Are they only the objects prefixed with WB? Or are there others?
    The DBAs would like to script some changes to the tables in our target schema but of course do not want to modify the OWB-specific tables, so we would like to identify the objects that are OWB-specific.

    Barbara,
    Following are all objects in a new target schema:
    FUNCTION OWBRTPS_KEY_TO_INSTANCE
    OWBRTPS_KEY_TO_VERSION
    OWBRTPS_KEY_TO_VERSION_STRING
    WB_CAL_MONTH_NAME
    WB_CAL_MONTH_OF_YEAR
    WB_CAL_MONTH_SHORT_NAME
    WB_CAL_QTR
    WB_CAL_WEEK_OF_YEAR
    WB_CAL_YEAR
    WB_CAL_YEAR_NAME
    WB_DATE_FROM_JULIAN
    WB_DAY_NAME
    WB_DAY_OF_MONTH
    WB_DAY_OF_WEEK
    WB_DAY_OF_YEAR
    WB_DAY_SHORT_NAME
    WB_DECADE
    WB_HOUR12
    WB_HOUR12MI_SS
    WB_HOUR24
    WB_HOUR24MI_SS
    WB_IS_DATE
    WB_IS_NUMBER
    WB_IS_SPACE
    WB_JULIAN_FROM_DATE
    WB_MI_SS
    WB_RT_INTEGER_VERSION_NUMBER
    WB_RT_IS_PLATFORM_REPOSITORY
    WB_RT_MINIMUM_SERVICE_VERSION
    WB_RT_PLATFORM_REPOSITORY
    WB_RT_VERSION
    WB_WEEK_OF_MONTH
    WB_XML_LOAD_F
    INDEX PK_RTL
    PP_PK
    PP_UK
    SYS_C0036660
    SYS_C0036661
    SYS_IOT_TOP_101865
    WB_RT_PARAMETERS_PK
    JAVA CLASS oracle/wh/resource/RuntimeXMLExceptions
    oracle/wh/runtime/mm/Alg
    JAVA RESOURCE META-INF/MANIFEST.MF
    LOB SYS_LOB0000101839C00003$$
    SYS_LOB0000101942C00002$$
    PACKAGE OWBXMLTK
    OWB_MATCH_MERGE
    WB
    WBRTTIME
    WB_RT_MAPAUDIT_UTIL
    PROCEDURE WB_ABORT
    WB_ANALYZE_SCHEMA
    WB_ANALYZE_TABLE
    WB_COMPILE_PLSQL
    WB_DISABLE_ALL_CONSTRAINTS
    WB_DISABLE_ALL_TRIGGERS
    WB_DISABLE_CONSTRAINT
    WB_DISABLE_TRIGGER
    WB_ENABLE_ALL_CONSTRAINTS
    WB_ENABLE_ALL_TRIGGERS
    WB_ENABLE_CONSTRAINT
    WB_ENABLE_TRIGGER
    WB_OLAP_LOAD_CUBE
    WB_OLAP_LOAD_DIMENSION
    WB_OLAP_LOAD_DIMENSION_GENUK
    WB_TRUNCATE_TABLE
    WB_XML_LOAD
    SEQUENCE WB_RT_MONTH_SEQ
    WB_RT_PLATFORM_PROPERTIES_SEQ
    WB_RT_QUARTER_SEQ
    WB_RT_TEMPCONS_SEQ
    WB_RT_TEMPINDEX_SEQ
    WB_RT_TEMPTABLE_SEQ
    WB_RT_WEEK_SEQ
    WB_RT_YEAR_SEQ
    TABLE CREATE$JAVA$LOB$TABLE
    JAVA$CLASS$MD5$TABLE
    WB_RT_EXCEPTIONS
    WB_RT_PARAMETERS
    WB_RT_PLATFORM_CONFIG
    WB_RT_PLATFORM_PROPERTIES
    WB_RT_POSTLOAD_EXCEPTIONS
    WB_RT_SEEDED_STRINGS
    WB_RT_TIME_SRC
    TRIGGER WB_RT_PARAMETERS_AUDIT
    WB_RT_SEEDED_STRINGS_AUDIT
    I.e. most objects start with WB... a few are created as part of the deployment of Java to the database (some of the tables and the LOBs). Unfortunately, as you notice, there are still a few OWB objects that do not start with OWB. If you drop all WB objects and OWBRTPS_KEY_TO_INSTANCE, OWBRTPS_KEY_TO_VERSION, OWBRTPS_KEY_TO_VERSION_STRING, I think all Warehouse Builder objects will be removed.
    The objects are there to enable remote node installation. If you remove the definitions... then unfortunately you are not supported, even though I am sure you can get things to work with synonyms instead of tables.
    Thanks,
    Mark.

  • Target Schema and Runtime Instance of Oracle Database

    I am new to OWB and starting to understand its architecture.
    Does the Runtime Access User, Runtime Repository Schema and Target Schema (discussed a the Runtime Instance) need to be installed on every database that will be a target? For example, if I have a data warehouse and two data marts, with I have three installations?

    Hi,
    You need to run the OWB Runtime Assistent for every target schema, that is correct (it will add the auditing stuff that enables you to monitor what's happening deployment and execution wise).
    Whether you need to create a Runtime Repository and its accompanying Runtime Access User(s) for each and every target I'm not sure.
    If your target schema's are on the same instance I'd say that you can use as few or many Runtime Repositories as you wish.
    When on different instances I think it's necessary to create them.
    Hopefully other forum-attendees can add some more if they have definite answers.
    Cheers, Patrick

Maybe you are looking for