|
You can export the contents of an application from one Oracle Portal instance to another. Oracle Portal generates a SQL script that you can download to a local directory. Use the Oracle Portal import feature to import the object into the new schema. You can also use SQL*Plus to run the script and import the object. If your application uses any User shared components, you need to export the shared components into the new Oracle Portal instance as well. |
|
To export an application: |
|
|
To import an application using appimp.csh or appimp.cmd: |
||||||||||||||||||||||
|
Use the appimp.csh or appimp.cmd utility in the src/wwu directory (on UNIX) or src\wwu directory (on Windows NT) in the directory in which Oracle Portal is installed. Enter the following at the command line prompt: appimp.csh <-s portal_schema> <-p portal_password> <-m import mode> <-t app_schema> <-a app_name> <-f script_file_name> <-security> <-d sec_dump_file><-c connect_string> where:
Example: appimp.csh -s portal30 -p portal30 -t SCOTT -a EXAMPLE_APP -f appexport.sql |
|
To import an application using SQL*Plus: |
||||||||||||||||||||||||
You can also run the import in silent mode by specifying the parameters along with the script. For example: sqlplus portal30/portal30 @application1.sql CHECK portal30 portal30 portal30 SCOTT EXAMPLE_APP app.log Note: You can import shared components by calling the export script from SQL*Plus. When you run the script interactively it prompts for the following:
You can also run the script in silent mode. For example: Example : sqlplus portal30/portal30 @sc1.sql CHECK portal30 portal30 portal30 sc.log |
|
Note |
|