Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java smartcardio fails if running with other smart card tool side by side

881346Aug 15 2011 — edited Aug 16 2011
Java smartcardio fails if you try to run your smartcardio based application and other smart card application side by side.

E.g. if you remove the card and re-insert the card, other application like ActivClient or IDPTool or SmartAccess will quickly talk to card but my java smartcardio application will fail.
One solution is to add some Thread.sleep so that you start communicating with card only after other application is done.

Seems like other applications lock the card for 4-5seconds when they initiate communication and then release the lock. So if my java smartcardio code wait for 4-5 secods before talking to card every things work fine.


Is there any standard approach to solve this problem.

Edited by: 878343 on Aug 15, 2011 3:17 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2011
Added on Aug 15 2011
4 comments
997 views