Hello,
First of all, I would suggest to post OCF-related questions
to the '[EMAIL PROTECTED]' mailing-list.. just because
you'll reach more OCF-knowledgeable people.. :-)
Luciano da Silva Coelho wrote:
> Is's possible to have 2 or more OCF applications accessing the same
> card? I have an application that I initiate two independents
> instances. One run very well (the first) but the other instance no.
Are you running only one VM (in that case there might be a bug
in the core event package which should allow all listeners to be
aware of a card insertion) or two Java VMs (in that case, it
cannot work because the locks are done by a "CardServiceScheduler"
object: This one is common among all threads but not of course
among all Java VMs!).
So if you are in the second case, I'd suggest to try running
your two applications using two threads of the same VM, i.e.,
making OCF a "server" of card features.
Just my 0.02 cents, hope it'll help.
Cheers,
Christophe.
= Most of the VAX instructions are in microcode, =
= but HALT and NO-OP are in hardware for efficiency. =
--
-------------------------------------------------------------
[EMAIL PROTECTED] - Gemplus Research Lab
Phone: +33 4-42-36-57-83 | Disclaimer: I don't speak for Gemplus
Gemplus doesn't speak for me... it is better that way!
-------------------------------------------------------------
***************************************************************
Unix Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/
To unsubscribe send an email to [EMAIL PROTECTED] with
unsubscribe sclinux
***************************************************************