Importing the Package Archive on a Production Server

John exports the package from the default domain, then imports the package on a production Unwired Server to deploy it without needing to reconfigure the package.

Prerequisites
Export the package that was deployed in the previous step.
  1. Change the security configuration of the package that was deployed in the previous step.
    1. In the navigation pane, expand Domains, default, then click Security.
    2. In the administration pane, click Assign.
    3. Select ABCAppSecurity and click OK.
    4. In the navigation pane, expand Domains, default, Packages, then click the package (SUP101:1.0).
    5. In the administration pane, click the Settings tab.
    6. Change the security configuration to ABCAppSecurity.
    7. Click Save.
  2. Export the package that was deployed in the previous step.
    1. Under Domains, expand default, then select Packages.
    2. Click the package (SUP101:1.0), then click Export.
    3. In the Export Package dialog, click Next.
    4. Click Finish.

Before importing the package archive, create the sampledb connection profile in the ABC domain.

  1. In the navigation pane, expand the ABC domain, then click Connections.
  2. In the administration pane, select the Connections tab, then click New.
  3. Type the Connection pool name sampledb, select the JDBC Connection pool type, then select Sybase ASA template.
  4. Set the following properties for the sampledb connection pool:
    Commit Protocol : optimistic
    Server Name : localhost
    Service Name : sampledb
    Port Number : 5500
    User : dba
    Password : sql
    Max Pool Size : 100
  5. Click Test Connection and make sure there is a valid connection to the server.
  6. Click OK.
Task
In this step, John uses the same system. However you should consider this task as being typically performed on a separate production system.
  1. Under Domains, expand ABC > Packages.
  2. In the administration pane, click Import, then select the ZIP archive (SUP101:1.0.zip) and click Import.
    The Import dialog shows a displays a message that the server connections with the same name (sampledb) will be overwritten.
  3. Review the package settings, including the pre-configured security configuration (and role mappings), log level, cache group, sync group, role mapping, subscription templates, and connection settings. Those properties are re-instated exactly as configured at export time.