Skip Headers
Oracle® Fusion Middleware Creating Templates and Domains Using the Pack and Unpack Commands
12c Release 1 (12.1.1)

Part Number E24498-01
Go to Documentation Home
Go to Table of Contents
Go to Feedback page
Contact Us

Go to previous page
Go to next page
PDF · Mobi · ePub

1 Overview of the Pack and Unpack Commands

The pack and unpack commands provide a simple, one-step method for creating WebLogic domains and templates from the command line. The pack and unpack commands are available in the \common\bin subdirectory of the product installation directory.


You cannot, however, use these commands to customize the contents of your WebLogic domain or template in the same way as with the other tools.

In addition to the pack and unpack commands, you can use the Configuration Wizard, Domain Template Builder, or WebLogic Scripting Tool, to create WebLogic domains and templates.

You can create the following types of templates by using the pack command, and then use them to create templates by using the unpack command:

1.1 Introduction to the Pack Command

The pack command provides an alternative method for creating a template from the command line in one simple step. Though the pack command does not allow you to customize the contents of your template in the same way as the Domain Template Builder, it helps you do the following tasks quickly:

1.2 Introduction to the Unpack Command

The unpack command provides a one-step method for creating a WebLogic domain quickly from an existing template by using the default settings defined in the template. When creating a WebLogic domain, unpack does not provide the same customization options as the Configuration Wizard or WLST. If, however, you use the unpack command with a domain template, you can do the following:

By using unpack, you can also create a Managed Server domain directory based on a Managed Server template created with the pack command. The Managed Server uses the settings defined for the Administration Server; so you cannot change the JDK or the start mode, add administrative users, or change the administrator password.


You cannot use unpack to extend a WebLogic domain.