Hello Guys, I have a problem when I use a SmartCard and then my applet has loaded all certficates from pkcs11.
First, when my applet are running and then I insert the card in the reader, when I close the browser the java.exe process disappear because I overwrote the method destroy and stop with a System.exit(0). The problem is when I load the keystore from pkcs11 and try to close the browser. The java.exe process still there. I want to kill the applet because I need use again in another page in same hosting and the death process blocks a new instance.
Notes: If I have loaded the certificates and remove the smartcard reader, later when I close the applet the java.exe process disappear but if I do not remove the Reader from usb port, the process java.exe still there.
I try using card.disconnect(true) but Just works when I need load again all certificates using a pin to open the KeyStore.
Somebody can helpme? Thanks.
Oracle Certified Associate, Java SE 7 Programmer
subject: Problem Removing SmartCard terminal (KeyStore and PKCS11)