Sun Logo


Migration Guide

Sun Javatrademark System

2005Q4

819-3217-10



Contents

Code Samples

Preface

1. Migrating the Content Delivery Server

1.1 Migration Procedure

1.2 Preliminary Migration Steps

1.3 Migrating the Content Delivery Server

1.4 Testing the Migration

2. Configuring Properties

2.1 Setting the Configuration Properties

2.1.1 Editing the Workflow

2.2 Sample Configuration File

3. Transitioning Files

3.1 Changes to Billing APIs

3.2 Changes to Messaging APIs

3.3 Changes to Subscriber APIs

4. Transitioning DRM and Content Pricing

4.1 Related Data Structures

4.1.1 Content Pricing

4.1.2 Configuring DRMs

4.1.3 Configuring Content Types

4.1.4 Pricing and Pricing Options Configuration

4.1.4.1 Specifying Available Pricing Options

4.1.4.2 Specifying a Different Retail Price for a Pricing Option

4.1.4.3 Associating Pricing Options with Content During Migration

4.1.4.4 Specifying Free Content

4.1.4.5 Advanced Pricing Configurations

4.1.5 Content Pricing Selection Process

5. Migrating the Database

5.1 Migration Steps and Labels

5.2 Prerequisites to Migration

5.2.1 Migration Terms and Variables

5.2.2 Environment Variable Settings

5.3 Configuring the Migration

5.3.1 Migration File Tagging Conventions

5.3.2 Configuration File Tags

5.4 Configuration Examples

5.4.1 Single Server Deployment

5.4.2 Multivending Deployment

5.5 Logging Migration Information

5.6 Instrumenting Content

5.7 Migrating the CDS_EVENT Table

5.8 Migrating Events for a Standalone Catalog Deployment

5.9 Optimizing the Migration of BillingInfo Objects

5.10 Migrating Supported Devices Information for Editions

5.11 Migrating Pricing Information

5.11.1 Multiple Pricing Models

5.11.2 Available Trials

5.12 Running the Migration

5.12.1 Migrating with Single Server Deployment

5.12.2 Migrating with Multivending Deployment

5.12.2.1 Correcting Path Name Discrepancies

5.13 Verifying Migration Completion

6. Troubleshooting the Database Migration

6.1 Messages

6.2 Error Messages

6.3 Warning Messages

6.4 Troubleshooting Failed Steps

A. Migration Classes and Interfaces

A.1 Conf Class

A.1.1 Methods

A.2 ContentData Interface

A.2.1 CS_DELETED

A.2.2 CS_DENIED

A.2.3 CS_PENDING

A.2.4 CS_NEW

A.2.5 CS_PUBLISHED

A.2.6 CS_TESTING

A.2.7 getClassId

A.2.8 getContentTypeId

A.2.9 getDeveloperId

A.2.10 getDeveloperContentId

A.2.11 getStatusId

A.2.12 getInfoUrl

A.3 ContentTypeMapper Interface

A.3.1 init

A.3.2 mapContent

A.4 PriceData Interface

A.4.1 getModelName

A.4.2 getArgumentNames

A.4.3 getArgument

A.4.4 getAllowedTrialAttempts

A.5 PricingOptionData Interface

A.5.1 getName

A.5.2 getExternalName

A.5.3 getDescription

A.5.4 getContentTypeName

A.5.5 getDRMName

A.6 PricingOptionSticker Interface

A.6.1 PRICE_TYPE_SUGGESTED

A.6.2 PRICE_TYPE_CATALOG

A.6.3 PRICE_TYPE_RETAIL

A.6.4 CHOICE_USE_CUSTOM

A.6.5 CHOICE_USE_SELECTED

A.6.6 USE_ALWAYS_FREE

A.6.7 USE_DOWNLOAD_FREE

A.6.8 USE_SUBSCRIPTION_FREE

A.6.9 USE_USAGE_FREE

A.6.10 init

A.6.11 choosePricingOption

A.6.12 selectFreePrice

Index