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.
- Change the security configuration of the package that was
deployed in the previous step.
- In the navigation pane, expand Domains,
default, then click
Security.
- In the administration pane, click Assign.
- Select ABCAppSecurity and click OK.
- In the navigation pane, expand Domains,
default, Packages,
then click the package (SUP101:1.0).
- In the administration pane, click the Settings
tab.
- Change the security configuration to ABCAppSecurity.
- Click Save.
- Export the package that was deployed in the previous step.
- Under Domains, expand
default, then select
Packages.
- Click the package (SUP101:1.0), then click
Export.
- In the Export Package dialog, click Next.
- Click Finish.
Before importing the package archive, create the sampledb connection profile in
the ABC domain.
- In the navigation pane, expand the ABC domain, then click
Connections.
- In the administration pane, select the Connections tab,
then click New.
- Type the Connection pool name sampledb, select the JDBC
Connection pool type, then select Sybase ASA
template.
- 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
- Click Test Connection and make sure there is a valid
connection to the server.
- 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.
- Under Domains, expand .
- 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.
- 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.