This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.