Hi,

ok, after trying several things to get the applet to run with OCF 1.1.1, 
GemXpresso 211 (especially the VOP211 service) and JDK Plugin 1.2.2 I think 
I found some kind of bug either in the ClassLoader used by applets or in 
the OCF implementation of the CardService stuff.

Sometimes if you want to use a specific card service you get a 
ClassNotFoundException and the note that the CardService could not be found 
(or something similar) (I wrote some mails describing my problem before).

At least I could find some kind of work around (everything works fine now):
Just try to get the service class manually (!)before it is retrieved by 
serv = (CardServiceVOP211)sm.getCardService(CSVOP211Class, true)
like

java.lang.Class CSVOP211Class = 
java.lang.Class.forName("com.gemplus.opencard.service.op.vop.vop211.CardServiceVOP211");
System.out.println(CSVOP211Class.getName());

I think the getName() at the end is necessary to really resolve a class 
instance of CardServiceVOP211 ...

As I maybe mix up some things here, I would like to here some suggestions 
of the real Java pros out there ....
One more comment on this, this is not really specific to the card service. 
I tried also PassThruCardService and some others.

Steffen
---------------------------------------------------------------------------------
DaimlerChrysler Research and Technology North America Inc.
Smart Vehicle Group
1510 Page Mill Rd.
Palo Alto, CA 94304
USA
ph: (650)-845-2531
fax:(650)-845-2556
email: [EMAIL PROTECTED]



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