Restoring the sample server

You can restore the server to its initial state. Restoring the sample server re-creates the profile and the databases.

Before you begin

To run the following commands, you must define the ANT_HOME variable. For more information, see Setting up your environment to use Ant.

Important:

When you restore the sample server, all the deployed applications are deleted. Before restoring the server, make sure that you have done a backup of the existing profile and databases.

About this task

Restoring the server has the following effects:

Procedure

To restore the sample server:

  1. Open a command prompt, and go to <InstallDir>/shared/bin/.
  2. Type ant recreateserver, and press Enter.