Sun GlassFish Enterprise Server 2.1 Release Notes

Solution

If you run into this issue, remove sun.security.pkcs11.SunPKCS11 provider from the java.security file in your JRE installation.