Application gets exception with JDK 7 b132 (which has changes to 6924489):
Exception in thread "Thread-2" java.security.ProviderException: doFinal() failed
at sun.security.pkcs11.P11Cipher.implDoFinal(P11Cipher.java:750)
at sun.security.pkcs11.P11Cipher.engineDoFinal(P11Cipher.java:517)
at sun.security.pkcs11.P11Cipher.engineDoFinal(P11Cipher.java:500)
at javax.crypto.Cipher.doFinal(Cipher.java:1873)
at sun.security.ssl.CipherBox.dispose(CipherBox.java:687)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1794)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1743)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1707)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1652)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:113)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
at com.sun.jndi.ldap.Connection.run(Connection.java:829)
at java.lang.Thread.run(Thread.java:722)
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
at sun.security.pkcs11.wrapper.PKCS11.C_DecryptFinal(Native Method)
at sun.security.pkcs11.P11Cipher.implDoFinal(P11Cipher.java:743)
... 14 more