Sun GlassFish Enterprise Server 2.1 Release Notes

Uninstall does not update productregistry file properly; unable to use silent mode to install (6571598)

Description

If the Enterprise Server productregistry file contains shared component configurations, an Enterprise Server uninstallation procedure does not update the productregistry file correctly, and you will not be able to use silent mode in a subsequent installation unless the productregistry file is renamed or removed. Leaving the shared components entries in the productregistry file intact is by design, but it leads to confusion with subsequent silent installs.

Solution

After a successful uninstallation is reported back through uninstall log files, delete the productregistry file prior to running a subsequent installation. To verify that a previous uninstallation has completed successfully, look for a appserv_uninstall.class file in as-install. This file will not be present if the uninstallation was successful.


Note –

Do not delete the productregistry if the uninstallation was not successful.


The productregistry file is located in /var/sadm/install on Solaris and /var/tmp on Linux.