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

Similar Messages

  • How to move the code and deploy the code from Dev environment to SIT.

    Hi,
    I have a requirement.
    I want to move the components and deploy the code from dev Environment to SIT environment using Ant Script for AIA.
    Before doing this is any pre-requisites required?
    Can you please help on this,how to do?
    Thanks in advance.

    Further to add to Anish Statement follow the steps to easily migrate the code to different environment.
    Steps:
    First log on to the EM Console and export the Composite Flow as a SAR file to a location.
    In Jdeveloper create a project using the same name of a SAR file like - ProcessSalesorderFlow
    import the project using the option import the composite using a SAR File.
    After import , then click on the composite and then generate the config plan.
    In config plan add all the url changes using the search and replace Tags.
    And in case if you have a JCA Adapters the same has to be taken care in SIT environment why because during deployment a lookup happens and deployment fails if it dont find the JNDI Name.
    Take the SAR file adn config plan seperately from JDeveloper.
    Now open em console again and then deploy it using the config file and SAR file.
    Thanks,
    Venugopal SSS RAJA

  • OWB and Stage/Target Schema Options?

    OWB and Stage/Target Schema Options?
    =========================
    Thanks for your replies.
    As we know that we need to have Landing, Staging and Target (Data Warehouse) areas in ETL process. We are able to configure in multiple ways in OWB.
    Option 1
    Keep everything in single schema/oracle instance with different object naming convention.
    Option 2
    Keep each one in separate schema such as Landing schema, Staging schema and Target schema in single oracle instance.
    Option 3
    Keep each one in separate server such as Landing server, Staging server and Target server in multiple server/oracle instance.
    What are the advantages/disadvantages on above options?
    Which of the above options worked better in OWB environment for you?
    There are some folks suggests to work with out staging schema. Is it a good idea?
    Do you have any pointer?
    Thanks in helping out.

    Option 1
    Best for small Project .Some 15-10 Target tables.
    Difficult to manage and Recovery will be difficult
    Small team Managing Everything
    Option 2
    Best for Big project having lots for tables .
    Easy to manage.
    Option 3
    NA
    Cheers
    Nawneet

  • I'm trying to create a list using CustomSchemalXml property in ListCreationInformation object in CSOM. But, the code throws an error "Invalid List Schema".

    I'm trying to create a list using CustomSchemalXml  property in ListCreationInformation object in CSOM. But, the code throws an error "Invalid List Schema". Any pointers on how to set the CustomSchemalXml property?
    Sri

    Hi Lakshmanan,
    Thanks for your reply.
    I checked this post and there was no solution to the problem there. I undersand we cannot create a list based on custom template in CSOM, but what I'm looking for is how of form xml and set it to CustomSchemalXml
     property, so that everytime when I want to create a list with similar content types and stuff, I can just set the
    CustomSchemalXml  property. 
    Sri

  • Error while deploying the mapping in owb 10gR2

    Hi friends,
    when i tried to deploy the mapping firstly i got the  below error like
    Name
    Action
    Status
    Log
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 11, column 3: PL/SQL: SQL Statement ignored         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 18, column 59: PL/SQL: ORA-00942: table or view does not exist         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 33, column 3: PL/SQL: SQL Statement ignored         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 40, column 59: PL/SQL: ORA-00942: table or view does not exist         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 216, column 7: PL/SQL: SQL Statement ignored         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 237, column 59: PL/SQL: ORA-00942: table or view does not exist         
    From the above error, it states like table doesn't exist. Hence after checking that the source table connections that i used in the mapping seems to be wrong.
    so what i did is, in the control center i right clicked the source module where i have used source table and changed the connection but soon after i pressed the ok button as a part of registering i got the below error like
    >> RTC-5318 Invalid Location Type pair for Name oracle db and version 11.1
    I ignored the above error and continued to deploy the mapping, but as a result of mapping i got the below error like
    Name
    Action
    Status
    Log
    None
    INFORMATIONAL
    ORA-04052: error occurred when looking up remote object [email protected]@PEOPLE_SOURCE_LOCATION ORA-00604: error occurred at recursive SQL level 1 ORA-02019: connection description for remote database not found         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 0, column 0: ORA-04052: error occurred when looking up remote object [email protected]@PEOPLE_SOURCE_LOCATION ORA-00604: error occurred at recursive SQL level 1 ORA-02019: connection description for remote database not found         
    Not sure, where im missing.
    Kindly help me friends,
    Thanks
    Brgds,
    Mini

    Hi Vidyanand,
    Did you create the runtime access user using the runtime assistant? Did you select the correct runtime repository (if you have more) to associate your runtime access user with?
    Note that there are 4 database roles being created when you create a runtime repository owner:
    - OWB_A_<runtime repository owner>
    - OWB_D_<runtime repository owner>
    - OWB_R_<runtime repository owner>
    - OWB_U_<runtime repository owner>
    If you would grant those roles to a user, then that user becomes an access user for the user with username <runtime repository owner>.
    Note that you can also use the runtime repository credentials to connect to the runtime repository for deployment purposes, but you may not want that because of security concerns.
    Thanks,
    Mark.

  • How to specify the target name while deploying a code in OSB-- Plz Help

    Hi all,
    Am working in creating a cluster environment. For my testing i created a new managed server(OSB_Server) in 9001 port in the admin console itself and that server started running. The default managed server(Admin_Server) is in 7001 port. So when i deploy a code in 7001 sb console the WSDL gets exposed in 7001 because the default admin server port is 7001. While deploying a code in service bus admin console we are not specifying the target name. So how to specify the target name while deploying the code in service bus admin console. Plz help me.
    Regards
    Prabhu

    Hi Prabhu,
    There are three kind of server architecture possible for OSB -
    1. Single server - Everything gets deployed on Admin server itself
    2. Admin Server + Single Managed Server for OSB -- OSB configuration gets deployed on OSB managed server. OSB resources (proxy service, WSDL, Schema) will remain available on OSB managed server port only and NOT on admin server port
    3. Admin Server + OSB cluster -- OSB configuration gets deployed on OSB cluster. OSB resources (proxy service, WSDL, Schema) will remain available on OSB Cluster port(s) only and NOT on admin server port
    Converting one type of server architecture to any other type, requires a manual tedious process, so it is suggested that you create domain accordingly i.e. if you need clusters then while creating domain itself, create OSB cluster, so that all OSB applications gets deployed to OSB cluster. I will suggest you to create a clustered domain from scratch and import the configuration from your existing domian to this new clustered domain.
    You may refer-
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15022/toc.htm
    Regards,
    Anuj

  • Error while deploying BPEL code to the server in 11g

    Hi all,
    I am trying to deploy bpel process in 11g. I have followed the doc for migration from 10g to 11g http://download.oracle.com/docs/cd/E12839_01/upgrade.1111/e10127/upgrade_soa_apps.htm#CHDCHCEB .
    But still could not deploy successfully. It is compiling successfully but while deploying the code facing the below issue
    [07:06:28 AM] Error deploying archive sca_Invoice_B2B_rev1.0.jar to partition "default" on server soa_server1 [148.87.197.163:45713]
    [07:06:28 AM] HTTP error code returned [500]
    [07:06:28 AM] Error message from server:
    Error during deployment: Deployment Failed: Unable to find a WSDL that has a definition for service {http://xmlns.oracle.com/Invoice_B2B}Invoice_B2B and port Invoice_B2B. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server..
    [07:06:28 AM] Check server log for more details.
    [07:06:28 AM] Error deploying archive sca_Invoice_B2B_rev1.0.jar to partition "default" on server soa_server1 [148.87.197.163:45713]
    [07:06:28 AM] #### Deployment incomplete. ####
    [07:06:28 AM] Error deploying archive file:/E:/Shared/jDev11113/v11113.24D/Invoice_B2B/deploy/sca_Invoice_B2B_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Can anyone let me know whether i am missing anything? also can anyone let me know some of the steps that need to be looked upon while migration.
    Thanks in advance

    Hi all,
    This is the underlying error that i found in the logs
    "Cause=null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/top/DB_ERROR]
    Check the XML schema and make sure your query string is valid"
    2011-02-02T03:22:29.066-07:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Ir_tGToCom55zR0FyW1DIIY6000008,0:1] [APP: soa-infra] [dcid: 49c8ed318246db94:-5a93ef1d:12d7abb4670:-7ffd-00000000000252fb] <BPEL1Processor::generateProcessClass> Response_B2B.bpel(line 29): unresolved element[[
    XML element "{http://xmlns.oracle.com/pcbpel/adapter/aq/Invoice_RosettaNet-V02.00/}Header" of variable "Header_Var" is not defined
    Make sure the XML element "{http://xmlns.oracle.com/pcbpel/adapter/aq/Invoice_RosettaNet-V02.00/}Header" is defined in one of WSDLs that are referenced by the deployment descriptor
    [2011-02-02T03:22:29.067-07:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Ir_tGToCom55zR0FyW1DIIY6000008,0:1] [APP: soa-infra] [dcid: 49c8ed318246db94:-5a93ef1d:12d7abb4670:-7ffd-00000000000252fb] <BPEL1Processor::generateProcessClass> Response_B2B.bpel(line 234): unresolved part element[[
    part "Invoice" of variable "Receive_Response_InputVariable" is defined as XML element "{http://www.api.org/pidXML/v1.0}Invoice" whose definition cannot be resolved because "java.lang.IllegalArgumentException: null schema location for ns=http://www.api.org/pidXML/v1.0 [Cause=null schema location for ns=http://www.api.org/pidXML/v1.0]".
    Make sure the XML element "{http://www.api.org/pidXML/v1.0}Invoice" is defined in one of the XML schemas
    [2011-02-02T03:22:29.067-07:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Ir_tGToCom55zR0FyW1DIIY6000008,0:1] [APP: soa-infra] [dcid: 49c8ed318246db94:-5a93ef1d:12d7abb4670:-7ffd-00000000000252fb] <BPEL1Processor::generateProcessClass> Response_B2B.bpel(line 340): invalid query[[
    query "/ns10:XxexhBpelErrorLogCollection/ns10:XxexhBpelErrorLog/ns10:invoiceNumber" is invalid, because java.lang.IllegalArgumentException: null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/top/DB_ERROR [Cause=null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/top/DB_ERROR]
    Check the XML schema and make sure your query string is valid
    Can anyone let me know what could be the reason?
    Thanks in advance

  • 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.

  • 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

  • Executing OWB generated code outside OWB deployment manager

    We are thinking to develop data loading programs using OWB but ship the generated code directly to user. We're looking at possibility to let end-user to invoke generated mappings w/o installing OWB. Because we plan not to offer customization to our users in our first release, there is no point to make OWB a mandatory pre-requisite.
    Other than running mappings from OWB deployment manager and OEM, could user execute mapping code from something like SQL plus and eBizSuite's concurrent program? My guess is yes.
    Then what is the minimum installation requirement for end-user to perform. Does user have to install run-time repository and target schema from OWB installation CD?
    Thanks a lot!

    Jerry,
    There are several alternatives for running OWB mappings in addition to Deployment Manager:
    1. From SQL Plus. Requires no part of OWB install to work, it just connects remotely to Runtime repository. See template in [OWB install Home]/owb/rtp/sql/sqlplus_exec_template.sql
    2. From OEM. Same: requires no part of OWB install, connects remotely to Runtime repository. See template in [OWB install Home]/owb/rtp/sql/oem_exec_template.sql. Also see "Oracle9i Warehouse Builder User's Guide
    Release 9.2", page 13-19, "Scheduling Mappings and Process Flows".
    3. From Oracle Workflow. OWB Deployment Manager deploys into Workflow in this case.
    4. From any XPDL complaint process flow engine.
    Nikolai

  • Different formats of the flat file for the same target

    In our deployment, we use plugin code to extract the csv files in the required format. The customers are on same version of datamart, but they are on different versions of source database - from 3.x to 4.5 depending on which version of application they are using. In 4.0, we introduced a new column email in the user table in the source database. Accordingly, plugin will add the field in the csv file. But not all the customers will get the upgraded version of plugin at the same time. So ETL code needs to decide which data flow to process depending on the format of the csv file to load data to the same target table. I made the email field in the target table nullable but it still expects the same format of the csv file with delimiter for null value.
    Need help to achieve this. Can I read the structure of the flat file in DS or get the count of delimiters so that I can use a conditional to use different data flow based on the format of the flat files.
    Can I make the email column in the flat file optional?
    Thanks much in advance.

    You can add an email column that maps to null in a query transform for the source that does not contain this column. 
    Or else you can define two different file formats that map to the same file.  One with the column and one without

  • 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

  • Getting Custom code error while deploying the report but in local(BI studio) when i preview its working,

    Hi,
    I Haven't used Vb.net, as I work on C#, But in SSRS it supports only VB.net code as custom coding, so i coded in c# and converted to VB.net from online converter. The code i got from online converter is working fine in local i.e when i preview in BI studio,
    but when i try to deploy the same i'm getting error 
    Error 3
    There is an error on line 12 of custom code: [BC30201] Expression expected.
    0 0
    Below is the code:
    ' -- Author        : Jai Anand
    ' -- Date            : 06-05-2014
    ' -- Discription : To split the given string of numbers and Assign the days for it,
    ' --                        example: if integer 1 - (Su) --> Sunday, 2 - (Mo) --> Monday
    public Function FindPlanDays(plandate As String) As String
    Dim planarray As String() = New String() {}
    Dim days As String = ""
    planarray = plandate.Split(","C)
    Dim i As Integer = 0
    While i < planarray.Length 
    Dim day As String = If(planarray(i) = "1", "Su,", If(planarray(i) = "2", "Mo,", 
     If(planarray(i) = "3", "Tu,", If(planarray(i) = "4", "We,", If(planarray(i) = "5", "Th,", If(planarray(i)="6","Fr,", If(planarray(i) = "7", "Sa,", String.Empty)))))))
    days = days & day
    i += 1
    End While
    days = If(days <> String.Empty, " (" + days.TrimEnd(","C) + ")", days)
    Return days
    End Function
    Kindly check the code, if any issue is there,give me the solution..Thank you

    Hi,
    I found the solution and the report is deployed . The issue was with If and we should suffix with space and underscore( _) at the end of the line break and continues in next line (i.e if the statement continues in next line).
    iif has always been available in VB, even in VB6.
    Dim day As String = Iif(planarray(i) = "1", "Su,","Mon")
    It is not a true operator, as such, but a function in the Microsoft.VisualBasic namespace.
    so the modified code which worked fine to deploy
    ' -- Author        : Jai Anand
    ' -- Date            : 06-05-2014
    ' -- Discription : To split the given string of numbers and Assign the days for it,
    ' --                        example: if integer 1 - (Su) --> Sunday, 2 - (Mo) --> Monday
    public Function FindPlanDays(plandate As String) As String
    Dim planarray As String() = New String() {}
    Dim days As String = ""
    planarray = plandate.Split(","C)
    Dim i As Integer = 0
    While i < planarray.Length 
    Dim day As String = Iif(planarray(i) = "1", "Su," ,Iif(planarray(i) = "2", "Mo,", _  
     Iif(planarray(i) = "3", "Tu,", Iif(planarray(i) = "4", "We,", Iif(planarray(i) = "5", "Th,", _
     Iif(planarray(i) ="6","Fr,", Iif(planarray(i) = "7", "Sa,", String.Empty)))))))
    days = days & day
    i += 1
    End While
    days = Iif(days <> String.Empty, " (" + days.TrimEnd(","C) + ")", days)
    Return days
    End Function

  • 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

  • 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

Maybe you are looking for

  • How can I get CS4 tools to work in Open GL?

    Facts--Bought CS4--installed fine--problem noted with pop up that my video card needed upgrading--looked on Adobe site for suitable video cards, talked with Dell--installed nVidia G9500 which I was told should solve all problems--reinstalled PHOTOSHO

  • Word documents embedded links issue

    Hi Friends, We have a strange issue, wherein we have some word documents in a document library in a SP 2013 site.  Each document has some embedded hyperlinks pointing to some other Office documents.  When we open the doc in OWA and try to click on th

  • How to configure QLogic 2560 Fibre for Dell MD3600F

    Hi, I am trying to attach Dell MD3600F storage to one PowerEdge R520 server which has QLogic QLE2560 Fibre adapter. I can see the storage unit from Dell Modular Disk Storage Manager however I need some help to configure QLogic 2560 adapter so I can d

  • OLAP error when copying application

    Hi all When copying one of my consolidation applications I get the following error message when BPC attempts to create the OLAP cube: Error message:: CreateOLAPCubeForApplication:CreateCube:'column' argument cannot be null. Parameter name: column Reg

  • Why my iphone 5s doesn´t find divices in bluetooth

    why my iphone 5s doesn´t find divices in bluetooth