Configuring Deployment Properties

Set the properties for packages being deployed on Unwired Server.

Prerequisites

Ensure that the deployment unit and the optional deployment descriptor exists and that you can browse to the location of these files. Also, before you start the deploy wizard, ensure that custom filter class files have been copied to the <UnwiredPlatform_InstallDir>\<UnwiredPlatform-XX>\Servers\UnwiredServer\lib\filters folder.

Task

A deployment file and an optional deployment descriptor file are created by developers in Unwired Workspace. These files are typically delivered for deployment to a production version of the Unwired Server by an administrator.

Note: If you have installed multiple servers as part of a cluster, you can deploy packages only to the master Unwired Server.

To locate the name of the master, look at the server list in Sybase Control Center. If there is a master server for the cluster, it will be labeled as "primary" in the left navigation pane.

  1. When the Deploy wizard loads, click Next.
  2. Review the Deployment File name, or click Browse to navigate to the appropriate file.
    You can select either a single deployment unit (.XML) or an archive file (.JAR).
    The name of the Package Name appears. If this package does not already exist, the wizard displays a message that indicates the new package will be created. The name cannot exceed 64 characters or include any periods (".").
  3. Select a Synchronization Mode.
    • Replication – for replication-based sync packages.
    • Messaging – for messaging-based sync packages.

      Packages that use an Online cache group policy must use Messaging, Replication is unavailable for these packages.

  4. Select a Deployment Mode.
    The deployment mode you choose depends on whether or not a package of the same name has already been deployed to Unwired Server.
    Mode Description
    Update Updates the target package with updated objects. After deployment, objects in the server's package with the same name as those being deployed are updated.
    Noclobber Deploys the package only if there are no objects in the target server's package that have the same name as any of those objects being deployed.
    Replace Replaces any of the target objects with those in the package. After deployment, the servers package contains only those objects being deployed.
    Verify Does not deploy the package. Returns only errors, if any. Used to determine the results of an update deploy mode.
  5. If you did not choose a deployment archive as your deployment file, you may browse and select an optional deployment Descriptor File:
  6. Click Next.
  7. Select a Domain to deploy the package to.
  8. Select a Security Configuration for the package.
  9. Click Next.
    The Configure Role Mapping page appears.