Exporting/Importing a *Bunch* of Applications

I know this has been posted many times before but, I couldn't find any good answers.
I have over 60 applications now and it will take hours (of very tedious effort) to export/import them one at a time.
Isn't the SOME way to export all of the applications in a work space for import into another? Can I use a regular DB export import of the FLOWS user? Is there any way to batch them? Any ideas at all, supported or non, would be very appreciated.
Thanks,
-Joe

Joe,
Where you unzipped the Application Express 2.2.1 distribution, there should be a utilities directory.
If you navigate to this directory, you should be able to run this utility. I unzipped this distribution into my /tmp/oracle_temp directory in this example:
[oracle@commander utilities]$ pwd
/tmp/oracle_temp/apex/utilities
[oracle@commander utilities]$ java oracle.apex.APEXExport
Usage APEXExport -db  -user  -password  -applicationid  -workspaceid -instance -skipExportDate -debug 
    -db:              Database connect url in JDBC format
    -user:            Database username
    -password :       Database password
    -applicationid :  ID for application to be exported
    -workspaceid :    Workspace ID for which all applications to be exported
    -instance :       Export all applications
    -skipExportDate : Exclude export date from application export files
    Application Example:
       APEXExport -db candy.us.oracle.com:1521:ORCL -user scott -password tiger -applicationid 31500
    Workspace  Example:
       APEXExport -db candy.us.oracle.com:1521:ORCL -user scott -password tiger -workspaceid 9999
    Instance Example:
       APEXExport -db candy.us.oracle.com:1521:ORCL -user flows_020200 -password apex -instance Joel

Similar Messages

  • Command Line Export/Import for ApEx

    Hi There,
    I was wondering if there is an ApEx Utility that allows the Export and Import of applications/pages/images/style sheets etc from the command line on a Linux box.
    I am using Oracle Application Express v3.0.1
    Thanks.
    Tony.

    Tony,
    Another post in the past has discussed about this already.
    Exporting/Importing a *Bunch* of Applications
    John Scott wrote a blog post about this as well at [http://jes.blogs.shellprompt.net/2006/12/12/backing-up-your-applications/|http://jes.blogs.shellprompt.net/2006/12/12/backing-up-your-applications/]
    In short, you can use APEX utility - APEXExport to export and standard SQL to import.
    Ittichai
    Edited by: ittichai on Mar 16, 2009 9:38 PM

  • Export - Import in Oracle Application Database

    The export in Oracle Applications Database works fine.
    But the import always show some issue and sometimes never completes.
    Even if it completes it complete with error , how to ensure an error free export/import ?
    How to handle a table movement if the table consists of a LONG column ?

    The errors are cannot import this tables..
    Also mostly are of Long tables..Any IMP-XXXXX or ORA-XXXXX messages?
    Can you explain how long objects are exported and imported ?What type of objects?
    What is the database version?
    Are you doing a full database import?
    Also sometimes import hangs for 2/3 days?Does it hang when importing a specific object?
    Did you follow the steps outlined in the following notes when you did the Export/Import?
    Note: 362205.1 - 10g Release 2 Export/Import Process for Oracle Applications Release 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362205.1
    Note: 230627.1 - 9i Export/Import Process for Oracle Applications Release 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230627.1

  • Best way to Export/Import Workspace/Applications

    Hello Gurus,
    I am moving servers and wanted to know the best way to Move Workspaces/applications.
    I am on 10G R2 and Application Express 3.0.1.
    I have created a database on the new server.
    Installed http server. Installed Application Express.
    I can get into application express using the admin password.
    On the database side I have 3 tablespaces and 3 Oracle schemas.
    On the Application Express side I have 3 workspaces that are linked to
    the 3 Oracle Schemas.
    I imported (Oracles Import) one of the Schemas.
    If I get into Application Express and try to import the Workspace it gives
    me an error'Workspace will not be created because it already exists.'
    Will importing a workspace import all the applications in the workspace.
    Dhiren

    Did you export the workspace to a file and then try to import it when you got that message? What is the name of the workspace? I don't know why you would get that error in a newly installed Application Express unless you tried to manually create a workspace with that name somehow before you tried the import.
    Anyway, you might want to re-install and start over by (1) exporting each workspace to a file, (2) importing each workspace from those files into the new instance, and (3) do the same export/import cycle for each application from old to new instances, for each workspace. Workspace export/import does not include applications or anything except the workspace name, the schema list, and the user accounts. You may want to export/import css, static files, images, UI defaults, and themes too, if you want to carry those over.
    Scott

  • Page Not Found ! Export/import translater app

    Hi,
    I really need some help since we are supposed to go live today or tommorrow.
    1- Can I open TARs for issues concerning HTMLDB ??
    2- I have an application that is translated 105-2105
    When I import 105 into another application ID, and try to run it , it gives me a page not found ??
    Thanks
    Francis.

    Hi Kirk,
    1. Do I understand correctly, you cannot export the application from the server you originally developed it on?
    Exact.
    It does not work on same server when I change the appid
    It does not work on my test server when I replace the same application
    2. What OS are you on?
    In dev : Windows 2K
    In test : Linux RedHat
    3. Is the workspace name the same from development to production?
    No
    4. Is the parssing Schema the same from development to production?
    No
    5. If you run the app as admin do you get the menu at the bottom of the page that displays the Page not found error?
    No
    I am able to export/import all the other applications without problem.
    The only difference is that the one that I cannot import/export is translated.

  • Is it possible to export/import only a page of an application?

    Hi,
    I tried to export one page of an application and this works correctly;
    then I import the same page in another application without problem, but when I try to install the page I obtain an error.
    Is this a bug?
    Can anyone help me?
    Thanks.

    After doing the import of the page (page2) successfully in a new application (application2), when I click on the button Install page, I have this error:
    File is not a valid HTML DB export file
    In effect, if I check the pages within the application2, there is not page2.
    I hope I have been clear enough

  • Is it possible to export and import jsf page and application module?

    Hi,
    I want to export a application module and then import it to another application,so deos jsf pages.If I can do this ,then my team could do the diffent work at the same time.one group response for data model then commit as application module,one group for page create and edit and so on .Who has any good idea?
    Thanks advance
    lixinzhu
    2007/09/19

    hi,frank
    thank you.
    You know a page include a .jspx file,a page definition file and depend faces-config.xml,faces-config.oxd_faces and other I don't know information,so if i only put the first two file into cvs,but how can i get other information in the last two file?When I get the first two file and needed information in the other file,how can i merge these into new project and let jdeveloper "reconize it"?Applicaion is more complex,it not only depend its self java class,xml and many entity object and view object,how to handle the "export" and "import" process?Just like oracle form,only a fmb is enough,database object only need to "put into database","export" and "import" are very simple,so i need jdeveloper to supply these "import" and "export" function.I'm not familar with cvs,does it can know object dependency like application module?if it can,how to let jdev "reconize" imported in object?
    lixinzhu
    2007/09/19

  • Exporting/Importing applications

    I'm having issues importing the applications I build from one Schema to another. It sees that only the forms are exported but not the table? Does anyone know why that is?
    Thanks,
    Micah

    Hi Michah,
    >
    I'm having issues importing the applications I build from one Schema to another. It sees that only the forms are exported but not the table? Does anyone know why that is?
    >
    Bot just the Forms, it will also include Reports, Shared Objects , et al.
    You only export the application from application builder and hence only the application gets imported. That is by design.
    You have to use Generate DDL in SQLWorkshop > Utilities and use that script , or any other means, to move the database objects from one schema to other. If you want to transfer data then you need to export/import the data as well.
    To put together the installation and de-installation package use Supporting Objects.
    Regards,

  • Export / Import Applications

    We have an application developed on 10g XE which is being developed simultaneously on 2 PC's. For this we wish to export/import the total applications along with the data table, constraints etc. between these machines.
    How can it be done ?

    We have an application developed on 10g XE which is
    being developed simultaneously on 2 PC's.Aren't those 2 PCs connected or what else is the technical/organisational reason behind such a configuration?
    For this we
    wish to export/import the total applications along
    with the data table, constraints etc. between these
    machines.
    How can it be done ?exp/imp, setup scripts, database links ... Question is: how are you going to merge differences on the same area (table structures, packages, etc.)?
    C.

  • Exporting/importing applications affecting template subscriptions

    If this topic has been talked about, I'm afraid I could not find a good enough answer for me, so here goes.
    I have workspace, production and development. I have a "common" application in our development workspace where I keep our master version of the theme we want to use and then all the other applications subscribe to certain templates in that common application.
    When I export/import our applications from the development to production workspaces, I am telling it to use different application IDs. I then go into the production workspace and see that my applications are no longer subscribed to the templates in the master application (which was also exported/imported over to production).
    I can see why this is happening -- because the application IDs are different. So, here are my questions.
    1) Is this fixable? I'm torn between whether to call this a bug or not.
    2) Am I making a big deal over nothing? Practically speaking, I will be making changes to the templates/themes in the development workspace and then re-importing them from development into production, so should I even care that the production applications are not subscribed to the common application in production?

    1) Is this fixable? I'm torn between whether to call this a bug or not.The attribute in a "subscribing entity" that indicates that it is subsribed to a master version of the entity is called the reference ID. This is the physical (numeric) ID of an entity in another application in the same workspace. So for template T in application A that is subsribed to template T in application B with reference ID 555, the only indication that the subscription exists is that the reference ID for template T in application A is set to 555. The purpose of the reference ID is so that in a development environment if the developer of application A decides to refresh the template from the master the operation knows where to get the master copy from -- by using ID 555. It does not know that it should go to application B and look for template T. Similarly, if the developer of application B decides to publish template T to any/all subscribers, the operation simply copies the template to all applications in the workspace having templates with reference ID=555.
    When you import an application and change the application ID, all reference IDs are reset to null because there is no way to "relocate" them.
    2) Am I making a big deal over nothing? Practically speaking, I will be making changes to the templates/themes in the development workspace and then re-importing them from development into production, so should I even care that the production applications are not subscribed to the common application in production?
    Publish/subscribe mechanisms are for the development environment.
    Scott

  • Using set/get parameters or export/import in BSP.

    Hi All,
    Is it possible to use set/get or export/import in BSP?
    We need to set/export some variables from a BADI and get/ import them in the BSP application.
    Code snippet will be of great help..
    Thanks,
    Anubhav

    Hi Anubhav,
    You can use the Export / Import statements for your requirement,
    from the BADI use EXPORT to send the variable data to a unique memory location
    with IDs
    e.g.
    *data declaration required for background processing
          DATA: WA_INDX TYPE INDX.
    **here CNAME is the variable you want to export
    EXPORT PNAME = CNAME TO DATABASE INDX(XY) FROM WA_INDX CLIENT
                SY-MANDT ID 'ZVAR1'.
    and in the BSP application use the IMPORT statement to fetch back the values
    set with the IDs above.
    IMPORT PNAME = LV_CNAME
      FROM DATABASE INDX(XY) TO WA_INDX CLIENT
      SY-MANDT ID 'ZVAR1'.
    deletes the data to save wastage of memory
      DELETE FROM DATABASE INDX(XY)
        CLIENT SY-MANDT
        ID 'ZVAR1'.
    Regards,
    Samson Rodrigues

  • ORA-20091: Invalid Application ID when importing APEX 4.0 Application

    Hi Folks
    Anyone got a suggestion on this one?
    Scenario:
    1. Perform an APEX 4.0 Export of application ID 10132 from one workspace
    2. Import the application into another APEX 4.0 workspace and change the application ID whilst doing so.
    3a. During the import process, override the application ID to one that exists in the workspace being imported into.
    In APEX 3.2 you got a warning that you were overwriting an existing app
    In APEX 3.2 this would then complete the exercise with your new app replacing the previous one with the same ID
    In APEX 4.0 I received ORA-20091: Invalid Application ID
    3b. Delete the pre-existing application (e.g. app_id 999) completely in the workspace we intend to import into
    Following successful deletion of the application (app_id 999) attempt to import the application export file from the other workspace
    During the import, use the UI to change the application id from 10132 to 999.
    Still receive the ORA-20091: Invalid Application ID error despite APP ID 999 having been deleted
    4. I got this to work by allowing APEX to simply assign a new application ID
    My problem is that, whilst this was not a problem when importing to our UAT environment, our DEV and Production environments share the same APP ID (10132) this is so that when upgrading the production application, users saved Interactive reports are preserved. This was fine in APEX 3.2 but is, as yet, untested by us in 4.0.
    As things stand at the moment, we have APEX 4.0 in DEV and UAT but this would appear to be a block for us in terms of upgrading production to 4.0.
    Any thoughts, comments and suggestions welcome.
    Many thanks
    Kind regards
    Simon Gadd

    We ran into a similar problem. My initial tests showed the following to be a work around.
    Assumption: You want to end up with the same ID as the original so you don't have to give a new link to everyone.
    1. Before copying the app (lets say it's 333) from 3.2 (3.1 in our case) export it and then import it back, still in 3.x with a different app ID, i.e. 99333.
    2. In ApEx 4: Import the app 99333 and install it with app ID 333 (the original app ID). After this process, I was able to make necessary changes to the app on ApEx 4, export it, and then import it again, still as ID 333.
    I know this sounds very round-about, and I can't explain why it worked, but it worked.
    Disclaimer: I certainly may have missed something that would still make it break. This was the result of a few different test scenarios done in a limited time.
    So, it's probably best to wait for 4.0.1 if you can.
    By the way, I tried creating a brand new app. in ApEx 4, export it and then import it as itself, and I still got the same error. Like I said, I don't know why it worked, but when I imported an older app with one ID into ApEx 4 with a new ID, I was able to export it and then import it again with that same new ID.
    Have a great weekend,
    Gregory

  • Problem with EXPORT IMPORT PROCESS in ApEx 3.1

    Hi all:
    I'm having a problem with the EXPORT IMPORT PROCESS in ApEx 3.1
    When I export an application, and try to import it again. I get this error message
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 16, column 28: PLS-00103: Encountered the symbol "牃慥整㈰㈯⼴〲㐰〠㨷㐵㈺′䵐" when expecting one of the following: ( - + case mod new not null <an identifier> <a double-quoted delimited-identifier> <a bind variable> avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp in
    As a workaround, I check the exported file and found this
    wwv_flow_api.create_flow
    p_documentation_banner=> '牃慥整⠤㈰㈯⼴〲㠰〠㨷㠵㈺′äµ
    And when I replace with this
    p_documentation_banner=> ' ',
    I can import the application without the error.
    somebody knows why I have to do this??
    Thank you all.
    Nicolas.

    Hi,
    This issue seems to have been around for a while:
    Re: Error importing file
    I've had similar issues and made manual changes to the file to get it to install correctly. In my case, I got:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.<br>ORA-02047: cannot join the distributed transaction in progress<br>begin execute immediate 'alter session set nls_numeric_characters='''||wwv_flow_api.g_nls_numeric_chars||'''';end;There are several suggestions, if you follow that thread, about character sets or reviewing some of the line breaks within pl/sql code within your processes etc. Not sure what would work for you.

  • Regarding Distribution Monitor for export/import

    Hi,
    We are planning to migrate the 1.2TB of database from Oracle 10.2g to MaxDB7.7 . We are currently testing the database migration on test system for 1.2TB of data. First we tried with just simple export/import i.e. without distribution monitor we were able to export the database in 16hrs but import was running for more than 88hrs so we aborted the import process. And later we found that we can use distribution monitor and distribute the export/import load on multiple systems so that import will get complete within resonable time. We used 2 application server for export /import but export completed within 14hrs but here again import was running more than 80hrs so we aborted the import process. We also done table splitting for big tables but no luck. And 8 parallel process was running on each servers i.e. one CI and 2 App servers. We followed the document DistributionMonitorUserGuide from SAP. I observerd that  on central system CPU and Memory was utilizing above 94%. But on 2 application server which we added on that servers the  CPU and Memory utilization was very low i.e. 10%. Please find the system configuration as below,
    Central Instance - 8CPU (550Mhz) 32GB RAM
    App Server1 - 8CPU (550Mhz) 16GB RAM
    App Server2 - 8CPU (550Mhz) 16GB RAM
    And also when i used top unix command on APP servers i was able to see only one R3load process to be in run state and all other 7 R3load  process was in sleep state. But on central instance all 8 R3load process was in run state. I think as on APP servers all the 8 R3load process was not running add a time that could be the reason for very slow import.
    Please can someone let me know how to improve the import time. And also if someone has done the database migration from Oracle 10.2g to MaxDB if they can tell how they had done the database migration will be helpful. And also if any specific document availble for database migration from Oracle to MaxDB will be helpful.
    Thanks,
    Narendra

    > And also when i used top unix command on APP servers i was able to see only one R3load process to be in run state and all other 7 R3load  process was in sleep state. But on central instance all 8 R3load process was in run state. I think as on APP servers all the 8 R3load process was not running add a time that could be the reason for very slow import.
    > Please can someone let me know how to improve the import time.
    R3load connects directly to the database and loads the data. The quesiton is here: how is your database configured (in sense of caches and memory)?
    > And also if someone has done the database migration from Oracle 10.2g to MaxDB if they can tell how they had done the database migration will be helpful. And also if any specific document availble for database migration from Oracle to MaxDB will be helpful.
    There are no such documents available since the process of migration to another database is called "heterogeneous system copy". This process requires a certified migration consultant ot be on-site to do/assist the migraiton. Those consultants are trained specially for certain databases and know tips and tricks how to improve the migration time.
    See
    http://service.sap.com/osdbmigration
    --> FAQ
    For MaxDB there's a special service available, see
    Note 715701 - Migration to SAP DB/MaxDB
    Markus

  • (ABAP+JAVA) system is too big to export/import

    We have some NW04s and ECC6 dual stack systems that we want to frequently clone using homogeneous system copy method.
    However they can be as big as many terabytes.
    Is there a way to clone they using a way other than export/import?
    Thanks!

    Hi,
    As of SAP NetWeaver 7.0, you can copy ABAPJava systems in one run using either database-specific methods or database-independent methods. In a ABAPJAVA stack system, you need to run a separate export for the Java engine to archive SDM and application specific file contents. You will have to supply that java Export location on the target system, while performing DB specific system copy procedure.
    Please refer [system copy guide for ABAP+JAVA stack |http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000670917&_SCENARIO=01100035870000000112&_OBJECT=011000358700000416402008E] along with the previously suggested links to get more information.
    Regards
    Bhavik G. Shroff

Maybe you are looking for