Remove previously installed software dependant on what was installed and how it was initially installed. You might have to do one or all of the following depending on your deployment.
For an Access Manager 7.1 or a Federation Manager WAR deployment, undeploy the appropriate WAR (amserver.war for Access Manager or federation.war for Federation Manager) using the web container console or command line interface. For information, see the documentation for the web container.
For a Java Enterprise System installer deployment of Access Manager 7.1 or Access Manager 7 2005Q4, undeploy all web applications (amcommon, amconsole, ampassword and amserver) by executing the amconfig script with DEPLOY_LEVEL=26 as input in the amsamplesilent file. For more information, see Chapter 2, Running the Access Manager amconfig Script, in Sun Java System Access Manager 7.1 Postinstallation Guide.
After you undeploy the appropriate WAR file or undeploy all web applications, remove the classpath for the old Access Manager or Federation Manager libraries.
For example, if using Application Server 9.1, edit /opt/SUNWappserver/appserver/domains/domain1/config/domain.xml to remove all paths containing /opt/SUNWam/. Remove all entries containing SUNWam and SUNWma.
/opt/SUNWam/lib/xmlsec.jar
/etc/opt/SUNWam/config
/opt/SUNWam/lib
/opt/SUNWam/locale
/opt/SUNWam/lib/am_sdk.jar
/opt/SUNWam/lib/ldapjdk.jar
/opt/SUNWam/lib/am_services.jar
/opt/SUNWam/lib/am_sso_provider.jar
/opt/SUNWam/lib/swec.jar
/opt/SUNWam/lib/acmecrypt.jar
/opt/SUNWam/lib/iaik_ssl.jar
/opt/SUNWam/lib/iaik_jce_full.jar
/opt/SUNWam/lib/am_logging.jar
/opt/SUNWam/lib/jce1_2_1.jar
/opt/SUNWma/lib/wireless_rendering.jar
/opt/SUNWma/lib/wireless_rendering_util.jar
/opt/SUNWma/lib/mobile_services.jar
/opt/SUNWma/lib/ccpp-1_0.jar
/opt/SUNWma/lib/ccpp-ri-1_0.jar
/opt/SUNWma/lib/jena-1.4.0.jar
/opt/SUNWma/lib/rdffilter.jar
/opt/SUNWma/lib/locale
/opt/SUNWam/lib/mobile_identity.jar
When deployed on a Linux system, the entries are:
/etc/opt/sun/identity/config
/opt/sun/identity/lib
/opt/sun/identity/locale
/opt/sun/identity/lib/am_sdk.jar
/opt/sun/share/lib/ldapjdk.jar
/opt/sun/identity/lib/am_services.jar
/opt/sun/identity/lib/am_sso_provider.jar
/opt/sun/identity/lib/swec.jar
/opt/sun/identity/lib/acmecrypt.jar
/opt/sun/identity/lib/iaik_ssl.jar
/opt/sun/identity/lib/iaik_jce_full.jar
/opt/sun/identity/lib/am_logging.jar
/opt/sun/mobileaccess/share/lib/wireless_rendering.jar
/opt/sun/mobileaccess/share/lib/wireless_rendering_util.jar
/opt/sun/mobileaccess/share/lib/mobile_services.jar
/opt/sun/mobileaccess/share/lib/ccpp-1_0.jar
/opt/sun/mobileaccess/share/lib/ccpp-ri-1_0.jar
/opt/sun/mobileaccess/share/lib/jena-1.4.0.jar
/opt/sun/mobileaccess/share/lib/rdffilter.jar
/opt/sun/mobileaccess/share/lib/locale
/opt/sun/identity/lib/mobile_identity.jar
See OpenSSO issue 4032 for more information.