Closed GoogleCodeExporter closed 9 years ago
Original comment by frank.co...@gmail.com
on 11 Dec 2009 at 9:02
I have been able to get more infos about this issue.
On this machine, the applet is executing:
public boolean isEidPresent() throws CardException {
[...]
if (cardTerminal.isCardPresent()) {
Card card;
try {
/*
/*
* eToken is not using T=0 apparently, hence the need for an
* explicit CardException catch
*/
card = cardTerminal.connect("T=0");
/*
* The exclusive card lock in combination with reset at
* disconnect and some sleeps seems to fix the
* SCARD_E_SHARING_VIOLATION issue.
*/
card.beginExclusive();
} catch (CardException e) {
this.view.addDetailMessage("could not connect to card: "
+ e.getMessage());
continue;
}
[...]
It is entering the isCardPresent even with no card in the reader and then does
not
return from the beginExclusive method.
I still believe there is a problem with the Middleware and I'm search for a
clean way
to disable the usage of the middleware in the applet (remember Java is not my
cup of
tea ;) ).
Or if you have an idea to fix this issue with the middleware, it might be worth
too.
Original comment by sbuyss...@gmail.com
on 25 Mar 2010 at 3:11
Was related to the card removal fix.
Original comment by frank.co...@gmail.com
on 19 Apr 2010 at 1:01
Original issue reported on code.google.com by
sbuyss...@gmail.com
on 6 Dec 2009 at 2:46Attachments: