Exporting objects from Web Studio  Rules and restrictions

Chapter 13: Importing, Exporting, and Deploying Portal Objects

Deploying portal objects to a remote server

Some enterprises may have a distributed EP installation; that is, a Web Studio and Portal Interface installation on one file system and another Web Studio and Portal Interface installation on a remote file system.

In this scenario, you can deploy Web Studio objects to another server.

StepsPushing portal objects to a remote server

  1. Log in to the Web Studio as a user associated with a role—StudioAdmin, PortalAdmin—that has permission to perform all operations.

  2. Select Build | Portlets from the Web Studio left pane.

  3. Click Deploy on the Portlet Manager toolbar. You see the Web Studio–Deploy window and the Deploy tab.

    The window has three sections:

    1. Export to Include – exports portal object metadata to an XML file. Export also bundles the Web archive (WAR) files that contain Web applications required by the portlets you export. The export function on the Deploy tab then creates an enterprise archive (EAR) file that contains the XML file and WAR files (the export function on the Export tab only creates the XML file).

      NoteThe WAR file must be manually packaged or exported from EAServer and placed in the /tmp/upload directory to be included in the EAR file. By default, the upload directory is /tmp/upload on UNIX and x:\tmp\upload on Windows.

    2. Import to Portal Runtime – loads the metadata from the XML file to the remote Web Studio database. The XML is extracted from the EAR file.

    3. Deploy Portlet Web Apps in Server – deploys Web archive (WAR) files found in the enterprise archive (EAR) file. The WAR files contain Web applications invoked by any of the portlets you are exporting, and places them in an enterprise archive (EAR) file. The system runs the necessary processes to deploy the WAR file on the remote application server.

      You can run:

      • (a), (b), and (c) together

      • (a) alone

      • (b) alone as long as you have the name of the EAR file from (a)

      • (c) alone as long as you have the name of the EAR file from (a)

      • (a) and (b) together

      • (a) and (c) together

      • (b) and (c) together

  4. Complete these fields:

  5. When you finish, click Deploy.

  6. When a prompt states that the operation was successful, click OK.

  7. Click View Log to review the deploy operation’s activities.

  8. Click Close to exit the Web Studio–Deploy window.

You should be able to see the deployed objects in the Web Studio and Portal Interface remote installation.





Copyright © 2004. Sybase Inc. All rights reserved. Rules and restrictions

View this book as PDF