Hello,

Note: for your first problem, Laurent Jutard has just answered.

man wrote:
> When I have this on my opencard.properties file,
>>OpenCard.services=opencard.opt.util.PassThruCardServiceFactory
> 
> I have this error message:
> 
> >>>Exception in thread "main" java.lang.IllegalAccessError: try to
> >>>access field 
>opencard.core.service.CardServiceFactory.class$opencard$core$service$CardServiceFactory

This is a known bug from OCF 1.1.1. You can either:

 - replace "OCF11CardServiceFactory.class" in "base-opt.jar". See my
   previous email: http://www.opencard.org/archive/opencard/0458.html
   on the subject where I explain how to create a new "base-opt.jar"
   JAR file (and attached a version of "OCF11CardServiceFactory.class"
   that works).
or
 - upgrade to OCF 1.2 where the bug has been fixed. But, then make
   sure that you also have one package (management) that has been
   forgotten and is still necessary for GemXpresso. See this page for
   more details:
http://www.gemplus.fr/developers/technologies/opencard/faqs/bugs.html

And then, either way, you will be able to use the PassThruCardService
to send APDUs to your card.

Hope it'll help.

Cheers,
Christophe.

 = You hit the Bug   --more--   It dies in a fit of agony. =
--
-------------------------------------------------------------
[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!
-------------------------------------------------------------


---
> 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.

Reply via email to