After installing features, if you encounter server issues or startup failures, you can revert the current configuration by restoring a previous one using either the management console or the command line. The latter is recommended if you cannot start the server.
Use the following steps to check your feature installation history and revert the server back to a previous installation. In this recovery process, some features might get installed and some uninstalled.
Reverting using the management console
- Log in to the management console.
- On the Configure menu, click Features.
The Feature Management page appears.
- Click on the Installation History tab.
The Installation History page appears.
- Click on the configuration that you wish to revert to.
The actions that take place when reverting to the selected configuration is listed.
- Click Revert, to revert the current configuration to a previous configuration.
Reverting using the command line
If you cannot start the server after an unsuccessful feature installation, use the following steps to revert to a previous installation:
- Start your product with the
Once the server is started, type the following command:
You will get the following list of states:
Check what features are installed and uninstalled in a given state, by entering the following command:
osgi> getInstallationHistory 1376933879416The output will be as follows:
Decide to which state you need to revert the system to, and thereafter use the following command:
osgi> revert <timestamp>
osgi> revert 1376933879416
The output will be as follows: