Trying to undeploy OpenSSO Enterprise 8.0 on Sun GlassFish 2.1 or Sun Java System Application Server 9.1 Update 2 is not successful and returns an “Invalid user or password” error (reported by CR 6808492). Subsequent attempts also fail with the same error message.
Workaround. This problem has been fixed in OpenSSO Enterprise 8.0 Update 1 Patch 3 (patch ID 141655-04). The following workaround applies to OpenSSO Enterprise 8.0 deployments before patch 3:
In the appSrvr_install_directory/domains/domain1/config/domain.xml file, add the following entry under the java-config attribute:
<jvm-options> -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false </jvm-options>
Restart the GlassFish or Application Server instance.
Undeploy OpenSSO Enterprise 8.0 using the GlassFish or Application Server asadmin undeploy command.