Chapter 10: Using Repository Versioning  Chapter 11: Runtime Monitoring

Chapter 10: Using Repository Versioning

Creating and restoring versions

Using EAServer Manager, you can create versions for any repository entity type listed in Table 10-1.

Table 10-1: Version data for each entity type

Entity type

Version data contains

Server

For major and minor versions, includes only configuration properties for the server.

WARNING! Unlike the application entity type, the server version data does not include installed applications, packages, or Web applications. You must create versions of these entities yourself.

Application

Includes application properties data, plus version data for each Web application and package in the application. Major versions include package and Web application implementation files, as described below.

Package

Version data for the package plus version data for each component installed in the package.

A major version includes:

  • Package property settings

  • Package files (the file set indicated by the com.sybase.jaguar.package.files property)

  • Major version data for each component in the package

  • For each component, implementation files (the file set indicated by the com.sybase.jaguar.component.files property plus the component implementation files).

The major version file set is the same as would be included if the package were archived in Jaguar JAR format.

A minor version includes only package properties and minor version data for each component in the package.

Component

Major and minor versions include only configuration properties.

Web Application

A major version includes configuration properties and implementation files (the entire context root directory including the WEB-INF subdirectory), plus major version data for installed Web components.

A minor version includes only configuration properties for the Web application and for installed Web components.

Servlet or Web Component

Major and minor versions include only configuration properties.

J2EE Client

A major version includes configuration properties and implementation files.

A minor version includes only configuration properties.

StepsManually creating a new version

  1. Highlight the entity of interest.

  2. Select File | Versioning, then select:

  3. Enter a comment describing the version and click OK.

  4. EAServer Manager creates a new version archive for the entity. If the entity contains nested entities (see Table 10-1), EAServer Manager creates new versions for each nested entity.

StepsViewing version history

Version history shows the version number, creation date, and comment for all available versions of an entity. To display version history:

  1. Highlight the entity of interest and select File | Versioning | List Versions.

  2. EAServer Manager displays a list of version numbers, creation dates, and the corresponding comments.

StepsRestoring a version

Restoring replaces the current configuration and implementation files with the saved version files.

WARNING! Restore overwrites the current configuration and implementation. Save the current version first if you may need to restore it in the future.

To restore a version:

  1. Highlight the entity of interest and select File | Versioning | Restore Version.

  2. EAServer Manager displays a list of available versions and the corresponding comments.

  3. Highlight the version to be restored, then click OK.

StepsDeleting a version

Deleting removes the version data and archived files so the version can no longer be restored. To delete a version:

  1. Highlight the entity of interest and select File | Versioning | List Versions.

  2. EAServer Manager displays a list of available versions and the corresponding comments in the List Versions dialog box. Highlight the version to delete, and click Delete.





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 11: Runtime Monitoring