This scenario completely removes all Access Manager instances and packages from a system.
Log in as or become superuser (root).
In the input file you used to deploy the instance, set the DEPLOY_LEVEL variable to one of the values described for an Deployment Mode Variable operation.
For example, set DEPLOY_LEVEL=11 to uninstall (or unconfigure) a full installation.
Run the amconfig script using the file you edited in Uninstalling All Access Manager Instances.
For example, on Solaris systems with Access Manager installed in the default directory:
# cd opt/SUNWam/bin/ # ./amconfig -s ./newinstances/amnewws7instance
The amconfig script runs in silent mode to uninstall the instance.
Repeat these steps for any other Access Manager instances you want to uninstall, except for the first instance, which is the instance you installed using the Java Enterprise System installer.
To uninstall the first instance and remove all Access Manager packages from the system, run the Java Enterprise System uninstaller.
For information about the uninstaller, refer to the Sun Java Enterprise System 5 Installation Guide for UNIX or the Sun Java Enterprise System 5 Installation Guide for Microsoft Windows.