the CardServiceVOP211.class must be in the classpath (gemplus-services.jar)
you also have to check your opencard.properties ...
there's must be this line inside :
OpenCard.services =
com.gemplus.opencard.service.op.vop.vop211.CardServiceVOP211Factory
I think you missed one of these 2 points ...
keep me informed ..
J.
----- Original Message -----
From: "Catalin Scintei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 3:09 PM
Subject: [OCF] GemXpresso 211 OPPurse-application is blocking!Everything
dies!Why?
> I must admit, firstly, that I'm very new in the club.
> I worked for 2 weeks to get something, from the GemXpresso 211 kit.
> Finally, I succeded in making the sample application to work: both on
> the Simulator and the card. But, after running the sample OPPurse and
> deleting the applet& the package from the card, for a few times, the
> bugs came again. I did not change anything in the settings of the: OCF,
> IDE, reader; I did not delete any other package from the card, beside
> the one that the application had written on the card, but the OPPurse
> application is not working anymore (and tomorrow I have a presentation
> to make).
> Here is were the application is not responding, and I have to close
> the IDE from Task Manager. It's from the method initOCF() of
> OPPurseClient class:
> ---------------------------------------------------------------------
> // wait for card insertion
> SmartCard sc = SmartCard.waitForCard(cr);
> // get the OP/VOP specific CardService
> serv = (CardServiceVOP211)
> sc.getCardService(CardServiceVOP211.class, true); -->this is the
> line where everything dies.
> --------------------------------------------------------------------------
----
>
> I tried with the debugger, and I can say that evereything is fine
> until we're back from the froName method of the class Class, that means
> from here:
> ---------------------------------------------------------
> public static Class forName(String className)
> throws ClassNotFoundException {
> return forName0(className, true, ClassLoader.getCallerClassLoader());
> }
> --------------------------------------------------------------------
> I don't receive any exception, any error, any message, everything
> dies!
> Why?
>
>
>
> ---
> > 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.
>
>
---
> 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.