Export Import to Maintain Test and Production Environments

We have developed an application using Locally built Database Providers in Oracle Portal 9.0.2.6 which is installed to 2 schemas, has 5 different providers, and over 100 Portal major components (Forms, Reports, and Calendars) and over 200 minor components (LOV's and Links). We have used export/import transport sets with some luck, but it is a struggle becuase the import procedures are not very robust. Many things (such as missing LOV's, corrupt components, preexisting versions, etc, etc.) can cause an import to fail. And the cleanup necessary to finally achieve a successful import can be very time-consuming.
Having a robust import mechanism is very important to our strategy for keeping installed (our own and clients') portal instances up-to-date with our latest release. Some of the enhancements that would make it much easier to develop and maintain Portal applications include:
Within the Portal:
1. Ability to copy an entire provider within the same portal (rather than one component at a time).
2. Ability to change the schema to which a Provider is associated.
3. When copying a component from one provider to another, the dependent items (i.e. LOVs and Links) should be copied to new second provider as well. (i.e. rather rebuilding each LOV in each provider and then editing each form to point to the new LOVs)
Transport Sets:
4. Should allow for changing provider names and provider schema, and global component name changes, and resetting unqiue id's on import (to create copy rather than overwrite).
5. Should allow the option to ignore errors and import all components which pass pre-check (rather than failing all components if all items do not pass pre-check).
How are other Portal Developers dealing with installing and then rolling out new sets of Locally built Database Providers from Development environments to Production? Are there any whitepapers on the best practices for replicating/installing a portal application to a new portal instance and then keeping it updated?
Oracle, are any of my wish-list items above on the future enhancement lists? Or have others figured out workarounds?
Thanks,
Trenton

There are a couple of references which can be found on Portalstudio.oracle.com that are of some use:
1. A FAQ for Portal 9.0.2.6 Export/Import http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/DEPLOY_PERFORM/9026_EXPORT_IMPORT_FAQ_0308.HTM
2. Migration Instructions by Larry Boussard (BRUSARDL)
3. Migrating Oracle Portal from Dev Systems to Production Systems bt Dheeraj Kataria.
These are all useful documents for a successful first-time Export-Import. However, the limitations and lack of robustness I listed in my first post, make the process so time-consuming and error fraught as to not be a practical development strategy.

Similar Messages

  • Mapping Design  - SOAP body content needs to be different between test and production

    Hello,
    We are integrating with a 3rd party SOAP receiver who uses the same web service URLS for test and production.
    So to differentiate they exposed 2 web services which do the same thing but have different root and payload node names...along with account details.
    For example, for production our SOAP XML must follow pattern like:
    <Envelope>
    <Body>
    <appRequest>
    <userID>produser</userID><password>prodpwd</password>
    <appPayload>
    <?xml>
    blah blah this XML is the same between test and production
    </xml>
    </appPayload>
    etc
    But for their testing we must use:
    <Envelope>
    <Body>
    <appRequestTest>
    <userID>testuser</userID><password>testpwd</password>
    <appPayloadTest>
    <?xml>
    blah blah this XML is the same between test and production
    </xml>
    </appPayload>
    etc
    So I'm trying to think of a good way to handle this difference in one set of mappings that we can use in our 3 PI platforms Dev / Test / Prod
    Since these differences are in the SOAP Body does it need handled in mapping or is there a way to handle it in the Adapter Config which is naturally different between our environments (mapping we like to keep the same).
    What is a smart way to handle this scenario?
    Many thanks,
    Aaron

    I second Artem when he states that this is a bad design decission from the caller's side.
    However this is not gonna help you in the current situation, right?
    The problem you are facing is that by poor design the message does not have a root node which you may use to handle occurences. Let me explain further
    You would be good if prod message looked like so
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header/>
    <soapenv:Body>
      <appData>
       <appRequest>
       </appRequest>
      </appData>
    </soapenv:Body>
    </soapenv:Envelope>
    and test message looked like so
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header/>
    <soapenv:Body>
      <appData>
       <appRequestTest>
       </appRequestTest>
      </appData>
    </soapenv:Body>
    </soapenv:Envelope>
    --> Then you would have been able to specify occurence of <appRequest> and <appRequestTest> as 0..1
    So I think you have (besides what Artem already pointed out) 2 other options:
    1. activate "do not use SOAP envelope" on sender SOAP channel and then designing the data types like above
    2. Use HTTP instead of SOAP adapter and designing data types like above
    Hope I didn't miss something crucial :-)
    Cheers
    Jens

  • Data mismatch in Test and Prod environments

    Hi,
    we have a query in Test and Prod environments.this query is not giving same result both for Test and production. Please have a look and share your thoughts.
    Select D1.C3,D1.C21,D2.C3,D2.C21
    from
    (select
    sum(F.X_SALES_DEDUCTION_ALLOC_AMT)as C3,
    O.Customer_num as C21
    from
    ESA_W_ORG_D O,
    ESA_W_DAY_D D ,
    ESA_W_SALES_INVOICE_LINE_F F
    where
    O.ROW_WID = F.CUSTOMER_WID
    and D.ROW_WID = F.INVOICED_ON_DT_WID
    and D.PER_NAME_FSCL_MNTH = '2012 / 12'
    group by O.Customer_num)D1,
    (select
    sum(F.X_SALES_DEDUCTION_ALLOC_AMT)AS c3,
    O.Customer_num as C21
    from
    Sa.W_ORG_D@STPRD O,
    Sa.W_DAY_D@STPRD D ,
    Sa.W_SALES_INVOICE_LINE_F@STPRD F
    where
    O.ROW_WID = F.CUSTOMER_WID
    and D.ROW_WID = F.INVOICED_ON_DT_WID
    and D.PER_NAME_FSCL_MNTH = '2012 / 12'
    group by O.Customer_num)D2
    where
    D1.C21=D2.C21
    and D1.C3<>D2.C3;I have done the following steps:
    1. created one temporary table and searched for duplicate records because if any duplicates found am planning to delete those records. but didn't find any duplicates. searched for common column values using equi join condition. are there any possibilities in data mismatch apart from this?
    2. this query is taking around 45 minutes to retrieve the output. I want to increase the performance of the query. so created Unique on 5 columns. but still taking the same time.
    so uing ALL_ROW HINT and ran the query but still it's taking the same time.
    so suggest me any thing needs to add to increase the performance?
    appreciate your support.
    Thanks.

    If you can create a temporary database link between the two environments use DBMS_RECTIFIER_DIFF or DBMS_COMPARISON to compare the two tables' contents.
    http://www.morganslibrary.org/reference/pkgs/dbms_comparison.html
    http://www.morganslibrary.org/reference/pkgs/dbms_rectifier_diff.html

  • In Dreamweaver CS3, can I save to Test AND Production FTP Servers when I press save the document?

    Hi, and thank you for reading this.
    I've setup a production and test FTP servers in Dreamweaver CS3. It is either saves to production or test server when I click COMMAND+S (CONTROL on PC), but I'd like teh file to be saved on both simultaneously. Persssing Sync the Servers won't work since the servers are not mine and they a bit different, teh files are not the same. I just would like to be able to save 1 file at a time in both production and server with one click.
    I've been searching the Interenet but could not find anything other than basic FTP setup. Any help would be appreaciated. Thanks!
    Anton

    Hi John, first of all thank you for replying!
    The reason why I would like to have Dreamweaver to save to both servers Test and the Production at the same time is because it would save me a lot of time keeping both servers more or less in sync. I have to keep both Test and Production servers syncronized, but only wihtin a specific content. While I test my design I do use Test server, but then the hassle begins when I am asked to make changes to the content.
    For example, I have a content page called books.html. I first built it on a Test server. Then switched to the tab called Remote, connect to the Remote Server, and save it. Very simple.
    However, then I need to create 10 more pages, lets call them books1.html, books2.html, and so on. Again sync them with the Remote server.
    All is great, but then my boss comes and say, hey there is a mistake on these files: books3, books4, books7, and books8. Please change the text content on those. So, I know the pages are working fine, I just need to update the text on both Test and Remote servers.
    So at this point I have to open these 4 files, change the text, then SAVE ALL to Test server. Then, I switch to Remote tab, go back to files press any key and 'Delete' keys so that Dreamweaver would see the change in file so that it would be able to save it. Then again 'SAVE ALL' to the Remote server.
    This is happening very OFTEN. It would save me so much time and brain power remembering which files I should sync if I am in a hurry and jump from one project to another, losing track of small changes in files when there are a lot of .html files.
    CMS is only in development now so I have to work with what I got. As to regard to backups, I use Time Machine so I am set with that. Plus I use MAMP. So basically I first use MAMP for testing, then upload changes to the Test server with all the BIG databases, and only then to Remote (production) with real Database. However, this is only when I develop new pages, very often I just need to modify what's already has been created. So that's why a feature like Save to BOTH servers (Test and Remote) would make a big difference to me.
    - Nookeen
    http://nookeen.com

  • ESR role in different development, test, and production systems

    Hello,
    I want to know the role of ESR in development, test, and production system. Do I have to install ESR in every seprate installated SAP CE machine??? or should It be centrally and development., test and production systems can use it?? Does software release process effects in the whole landscape??
    does Test and Production system requires ESR??? or all used services are embed into released software SCA files to test and production system???
    Regards,
    Naeem

    Hey,
    as far as I understood the ESR is a design time tool, i think  you don't need to have a productive instance.
    I think it should be installed on your PI systems. And I would prefer to have at least a devel and a test installation, to
    separate services on test machines from those who are running on productive systems.
    as you can't differentiate the services by their name but just by their systems, you should have separate ESR Instances.
    Nevertheless I think it could be possible to run only one ESR....
    Kind Regards
    Christof

  • License for testing and production systems

    Hi Experts
    Can any one help me out on implementing license in my B1 System.
    According to our contract we have licensed following user types:
    User Type
    Licensed
    AddOn Access License    25
    Professional User                5
    Software Development Kit - Development Version 20
    We have Test/development system in one hardware and Production system on different hardware. Please advice me how to request/allocate license for my test/development system and production system.
    We tried creating a Test System in SAP Market place and requested license for test system. While requesting license for production system, it is found that the license is exceeded. In other words, developent system license also counted.
    Please advice me on the best practices of B1 license implementation.
    Thanks and regards
    Ajith G

    Hi,
    Our customer wants to Keep the production data secure. Developers and consultants should not have the access to it.
    Then you have only two options:
    1.Either you should maintain a standalone b1 server for the developers and consultants to test their solutions and scenarios.
    2.Otherwise you can create users in sql studio for accessing only the test database.
    So that as per your requirement
    All configurations and sample data will be kept in a test environment where developers and consultants can do their work.Once everything is correct Admin will do the transfer to production.
    Note:New users can be created in the sql studio under Databases-><Company Db>->Security->Users, Rt.click new user

  • Export /Import of Portal -Urgent -Attn Product Mgr Group

    I m planning to move my current portal database to other box (Win2000-> HP)and keeping apache and portal tec stack on current box.
    Which of following method is safe and tested.
    1. Export whole data base (8.1.7.3) and import it as a full data base on target box.
    2.Or export it user wise.All users ,specially portal%.
    Please advice how to clone or migrate from deployement to test server.Different documentaion says different things.In document named "Import export in portal', they say portal30 can not be exported.While in Document "Migration of Portal Across Datbases" they suggested to export all schemas related to portal.In portal forum some users mentioned that they migrated from deployment to test/development using full database export ,saying that oracle suggests this, but there is no recovery method for it.
    My second objective is to seprate apache from database.Keeping existing apache on NT box (current instance) and data(portal schemas) on HP box.
    Is there any thing else to be done except modifying DAD on current apache.
    Thanks
    Sarvesh

    You can do the following to export your portal objects alone (I am talking wrt 30982) . Do it in that order please.
    1. Go to the WWU directory where you will find the scripts related to export/import.
    2. First run the SSOEXP utility for exporting all the users and groups. (The result is a dump say sso.dmp)
    2. Next, run the SECEXP utility for exporting all the previliges of all the users on different objects. (The result is sec.dmp)
    3. Then run the APPEXP utility for exporting your applications, you could give the "-security" option here as well (The result is app.dmp)
    4. Run the PAGEEXP utility for exporting your pages (This gives pages.dmp).
    5. Lastly run the CONTEXP utility for exporting your content areas (This results in contarea.dmp)
    These five dumps can be supplied to the corresponding import utilities for importing your stuff.
    But, if you are planning to export/import the entire database, then please enquire with the RDBMS migration experts about this.
    Hope this helps.

  • Export/import OWB (10.1 and PARIS) metadata problems

    I am attempting to import an OWB 10.1–exported map into an OWB 10.2/PARIS repository .. this failed as follows from the Paris Design Center menu bar ...
    Design – Import – Warehouse Builder Metadata and specify a previously exported OWB 10.1 map. I receive the following message … ”Metadata version is not compatible with you current repository version. Upgrading the file is required to import your metadata”
    … Selecting ”UPGRADE” yields the following …
    Upgrade started at Jul 25, 2006 12:02:05 PM
    Preloading objects from release 9.2
    Upgrading objects from release 9.2 to 10.0
    Project "SIRR_DATA_CONVERSION"
    "Error occurred importing from file "C:\MKS\ConfigurationMgmt\OWB\Unit Testing\Build 1.13\Client Account\OWBC_ALS_CLI_CLIENT\OWBC_ALS_CLI_CLIENT.mdl".
    CNV0002-0025(ERROR): Unexpected error occurred. Upgrade terminated. See log file C:\MKS\ConfigurationMgmt\OWB\Unit Testing\Build 1.13\Client Account\OWBC_ALS_CLI_CLIENT\OWBC_ALS_CLI_CLIENT_10_0_upgrade.log for details. Please contact"
    The log contained over 16000 lines of info associated with mapping parameter/mapping parameter properties/property values, groups and finally, before failing, mappingparameterconnection --> mappingparameterconnection .. I can email the log if anybody is interested in taking a look.
    Two things with error above .. I do not have a 9.2 map (seems the upgrade is assuming a 9.2 map) but a 10.1 map .. and the error message seems to be truncated after ”Please contact”
    any advice on importing OWB 10.1 metadata(maps) into OWB PARIS ? as I am trying to create business case for upgrading from OWB 10.1 to PARIS.

    There is a similar issue logged in our Support database relating to this type of problem. The bug (ref number 5309802) has some workarounds relating to issues within an MDL file relating to non-unique IDs and blank properties for certain objects.
    The log file should tell you exactly where the problem objects are located, row and column reference. If you could open a TAR with Oracle Support and send them the log file and the associated MDL file they should be able to organize a fix for you.
    If you want to try this yourself then make a backup of the MDL file. Next open the MDL file using Winzip and extract the two files within the MDL file. The larger of the two files is in fact an XML file. Open this file in a text editor that shows line and column numbers. Now refer back to the log file and find the error messages from that file and cross reference row/column numbers within the XML file and see if the error makes sense to you. If it does, correct the error and then rezip everything back into an MDL file and try importing the MDL file again.
    Alternatively you may want to leave this to Oracle Support to manage for you.
    Hope this helps
    Keith

  • Test and Production system

    Hy all. Our Problem is the following. One of our customers wants to have a Productive and a Test-Instance of Oracle DB and Mobile Server.
    If you create an application, the Mobile Server is creating Tables (CVR$..., CEQ$...) in the schema where the original tables are.
    If we now make a Synchronisation Productive - Test from our original schema (which we use for our normal program) the tables from the Testmobile Server would be overwritten with the tables from the Production Mobile Server. I think this would cause a lot of problems.
    Is anybody here, who had this situation too and who could get me any hint how to handle this?
    Thanks in advance for any answers.
    Holger

    Hello rekounas,
    first of all thanks for your answer. Perhaps I try to describe the situation another way:
    I have two separate databases. One for test environment and one for productive
    environment.
    Case there is no Mobile Server installation at all. If I want to have recent
    data in the test database, our customer takes a dump (from our schema in the
    database) from the production environment and imports it in the test database
    (after dropping the equivalent schema).
    Now, there is a problem with this if there is a mobile Server involved.
    There are two Mobile Server installed with two different Repositories. One in
    the Production system, one in the Test system.
    If we now take our dump and import in the test system, we have the tables from
    the Production Mobile Server (which he generated in our schema while creating
    the application in mobile manager) in the schema from the Test-Mobile Server
    (CEQ$.., CVR$.....).
    I don't think the Test Mobile Server can handle this, can't he?
    I hope I described the problem understandable.
    Regards,
    Holger

  • Identification Test- and Production-System in Mapping

    Hi,
    we have a Java-function in a mapping step.
    There we need an identification if it runs in our Test- or Production-system.
    Currently we use a property file in the Java-Package for realizing this.
    But this is not a very good solution. The last time we transport the archive to our production system somebody forgot to change this property file and therefore we had some trouble in our production.
    Does anybody have an idea how we can identify the system name of the XI-system in a Java-Mapping?
    Is there perhaps any constant we can use of the Map input-parameter?
    In the documentation I didn't found anything about this.
    Best Regards,
    Thorsten

    Thorsten,
    Try using System.getProperty("SAPSYSTEMNAME") in your Java function.
    Regards,
    Jaishankar

  • Export-import task sequences between UAT-PROD environments

    Hi,
    What 's your idea of exporting-importing task sequences between UAT-PRD SCCM 2012 servers
    It would save me quite some time but I guess the files and folders, applications (if I would export them too) are kept somewhere in a general folder so that's not so neat ....
    J.
    Jan Hoedt

    Hi,
    You can export it without Content and the copy the content manually. If you have exactly the sam ename and disk layout on prod and uat there will be no editing required. Otherwise you need to change the package source for all packages referenced, this can
    of coourse be scripted.
    If you export it with the content the content will end upp in a structure based on the uniqie idea of the content.
    Using a shared package source could be one solution as well.
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Program to Auto Import transports to quality and production systems

    Hi Experts
    Do anyone have a program that imports transport requests automatically into quality and production systems from development?  I know there is a procedure to import all into QA that can be set in TMS.
    But I am looking for a program instead that could auto import into quality and subsequently to production.
    Thanks,
    Ravali

    You need to set the autoimport job in Q whichh will bring all the transport from Dev when they are released. For autoimport go to STMS --> import queue of your Q system -->Start import with the small truck sign and it will ask you to select the time (run it every 15 mins or so) --> start the job
    Production you never setup an autoimport, there might be some transports which you may not want to send to prod, only the approved transport will go to prod. Hope this helps

  • WebService in Adobe Forms in Test and Production Systems

    Hello Friends,
    I am facing a peculiar problem with the webservice. I have created one Adobe Form in Development system and in that Adobe Form I used one WebService to get the User's Complete Name. Its working fine in Development System. And all the WebDynpro Component's and Applications, RFC Function Module(for WebService), WebService Name were placed in same Request ID and this request is being moved from Development System to Quality system, here all the objects were present except WebService Name i.e. this service can be seen only from SOAMANAGER Transaction but not from SICF Transaction(As given in SAP Note: 1318499). And I came to know that we need to use only SOAMANAGER transaction ONLY in Quality or Production systems.
    But while creating Data Connection in Adobe Form I used SOAMANAGER's generated URL and it got created successfully and while triggering the WebService at Runtime based on some event I am writing JavaScript Code and here I am using the URL where it is generated from SICF Transaction.
    Friends please help me in solving the issue as which URL I need to use in Adobe Form at runtime(i.e. triggering webservice from JavaScript, the URL from SOAMANAGER is not working in JavaScript).
    Regards
    Pradeep Goli

    Hey,
    as far as I understood the ESR is a design time tool, i think  you don't need to have a productive instance.
    I think it should be installed on your PI systems. And I would prefer to have at least a devel and a test installation, to
    separate services on test machines from those who are running on productive systems.
    as you can't differentiate the services by their name but just by their systems, you should have separate ESR Instances.
    Nevertheless I think it could be possible to run only one ESR....
    Kind Regards
    Christof

  • Export/Import utility: unusual schema and table names

    Hi, I am working on the correct TABLE, SCHEMA.TABLE and SCHEMA names validation.
    Unfortunately, I didn't find good examples in documentation and therefore turn to the forum.
    Example: I have "My User" schema and "My Table" table and SCOTT with "scott table".
    Export:
    If I connect as My User (using client 10), I have to write
    TABLES=('"my table"', 'SCOTT."scott table"')
    If I connect as My User, (client 9 and older?) I have to write
    TABLES=('"My Table"', '"SCOTT.scott table"')
    Am I wright? It seems to work.
    ==The first question:
    Does the quoting method depends on the client version?
    I mean, '"SCOTT.scott table"' works on 9 but 'SCOTT."scott table"' works on 10.
    ==
    Further, If I connect as SCOTT, (client 10), I write
    TABLES=('"My User"."My Table"', 'SCOTT."scott table"')
    It seems to work.
    If I connect as SCOTT, (client 9 and older?), neither
    TABLES=('"My User"."My Table"', 'SCOTT."scott table"')
    nor
    TABLES=('"My User.My Table"', '"SCOTT.scott table"')
    doesn't work!
    == The second question:
    How should I write "My User"."My Table" on the 9 client?
    Import:
    I don't know how to make import to "My User".
    FULL=Y
    TOUSER='"my user"'
    # and
    #TOUSER="my user"
    doesn't work. The same with USER mode and TABLE mode import.
    Thanks to everyone who can help.

    I'm not sure how you would have been able to create a user with the user name 'my user' since gaps in the username are not allowed.
    Generally, Oracle isn't case sensitive, so the fact that 'my user' gets converted to 'MY USER' isn't a problem - infact, oracle will always present usernames in UPPER CASE unless you explicitly use the LOWER() function when selecting them from the dba_users table.
    So anyway, I think that the steps you need are:
    (from SQL*Plus, logged in a as a DBA user e.g. sys or system)
    create user MY_USER
    identified by apassword;
    grant connect, resource to my_user;
    Then, from the operating system command line:
    imp my_user/apassword@connect_string file=dump_filename.dmp FROMUSER=scott TOUSER=my_user;
    that should work.....
    R

  • Report font changes between test and production

    using developer 6i server on solaris 64 bit environment.
    we have vnc configured on both machines. when we migrate a report from
    the test machine to the production environment, the font specifications
    are different in the html output. what should we look at to determine the cause?
    the printers are set up the same on each machine, VNC is the same. anything else?
    thanks
    Jim

    NLS_LANG setting is the same. uifont.ali files are the same.
    the difference is primarily that some fonts are bold and a larger scale in production environment versus the test environment. we did a basic 9iAS install on each machine, so I don't think anything is different.
    are there any environment variables that I should check for the user account that runs the forms and reports servers?
    Jim

Maybe you are looking for