Hi all, I'm developing a web application in which i need a reader for client and another one for server. I'm developing this application in the same computer. Sometimes, but not always (THIS IS STRANGE) I get the following exception: ######################################### Exception occured Pcsc10CardTerminal: PCSC Exception in method SCardConnect: PC/SC Error SCardConnect return code = 8010000b #########################################
I read in other mails this: >8010000b corresponds to a sharing violation in PCSC. Two things could be > causing this error. Either you have an application that has already >grabbed the smart card in exclusive mode (doing a PCSC SCardConnect() with > SCARD_SHARE_EXCLUSIVE set), or your OCF application is attempting to get > exclusive access to the card after another application has obtained shared > access to the card. I closed the communication with the smartCard with this lines: ######################################### public void close() { EventGenerator.getGenerator().removeCTListener(this); try{ SmartCard.shutdown(); }catch (CardTerminalException e) { e.printStackTrace(); } } ############################################ How can i solve this problem? Regards. Mavi. --- > Visit the OpenCard web site at http://www.opencard.org/ for more > information on OpenCard---binaries, source code, documents. > This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.