try to set the card terminal to

OpenCard.terminals =
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory

and remove

pcsc-wrapper-src.jar

from your jre/lib/ext directory, because it contains an older version of the
PC/SC wrapper.

  Karl

> -----Original Message-----
> From: Akis [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 20, 2001 5:04 PM
> To: [EMAIL PROTECTED]
> Subject: [OCF] Towitoko (pure-java - PC/SC) + GPK8000 (GPKTest 0.2)
>
>
>
> Hi,
>
> I am trying to run GPKTest (as given in 0.2 version) with the following
> configuration:
>
> - Windows 2000
> - Towitoko Chipdrive extern
> - GPK-8000 smartcard
> - OCF 1.2
>
> I tried at the beginning with the pure java terminal for Towitoko (hacked
> version of GD) but it failed as the reader did not respont to any
> insert/remove actions ...
> So I said I 'd give it a try at PC/SC
> I tried it with the default PC/SC jar files supplied by OCF 1.2 and then I
> replaced it with the beta version of the PC/SC wrapper (version 2.0) that
> was posted to  this list. In both cases the same error appeared, namely:
>
>
> ----------------------------ERROR MESSAGE--------------------------------
> Waiting for card
> [EMERGENCY]
> com.gemplus.opencard.service.gpk.factory.GPKCardServiceFactory.set
> upSmartCard
> --- message   Could not select MF (:3F00) on the card.
> --- thread    Thread[main,5,main]
> --- source    class
> com.gemplus.opencard.service.gpk.factory.GPKCardServiceFactory
>
>
> starting Tests
>
> ==================================================================
> =============
> Creating File CardServices...
>
> java.lang.ClassNotFoundException: CardService implementing interface
> com.gemplus.opencard.service.gpk.admin.AdministrativeCardService
>         at
> opencard.core.service.CardServiceRegistry.getCardServiceInstance(C
> ardServiceRegistry.java:269)
>         at
> opencard.core.service.SmartCard.getCardService(SmartCard.java:331)
>         at
> com.gemplus.opencard.service.gpk.test.GPKTest.<init>(GPKTest.java:201)
>         at
> com.gemplus.opencard.service.gpk.test.GPKTest.main(GPKTest.java:291)
> [WARNING  ] opencard.core.service.CardServiceScheduler.closeDown
> --- message   closing opencard.core.service.CardChannel@6672d6, is open,
> not jammed
> --- thread    Thread[main,5,main]
> --- source    opencard.core.service.CardServiceScheduler@113fe2, not alive
> ++  channel is allocated
>
> --------------------------------------------------------------------------
>
>
>
> My opencard.properties file looks like :
>
> OpenCard.services = \
>    com.ibm.opencard.factory.MFCCardServiceFactory \
>    opencard.opt.util.PassThruCardServiceFactory \
>    com.gemplus.opencard.service.gpk.factory.GPKCardServiceFactory
>
>
> # PC/SC Terminal TOWITOKO
> OpenCard.terminals =
> com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory
>
>
> the readers.cfg file is placed in lib directory (C:\Java\jdk1.3\jre\lib\)
> Reader[1]
>  PORT_NUMBER = 1
>  READER_NAME = TOWITOKO
>  DLL_NAME    = gen_twk.dll
>
>
> and the JAR files that exist to my /ext are:
>
>
> C:\Java\jdk1.3\jre\lib\ext>dir /B
> base-core.jar
> base-opt.jar
> BlackBox.jar
> comm.jar
> gemplus-gpk-0.2.jar
> gemplus-service-0.2.jar
> gemplus-terminals-4.1.jar
> jaxp.jar
> migterminals.jar
> parser.jar
> pcsc-wrapper-src.jar
> pcsc.jar
> reference-services.jar
> rejar-tool.jar
> sb-demo-ext.jar
> sb-demo.jar
> TomsChipDrive.jar
>
>
> Any ideas ?
> 1) What could be wrong with the :
> java.lang.ClassNotFoundException: CardService implementing interface
> com.gemplus.opencard.service.gpk.admin.AdministrativeCardService
>
> 2) Why doesnt respont Towitoko reader to insert/remove requests while in
> "pure-java" mode ?  (the PC/SC version works fine...)
>
> Thanks in advance,
> Akis
>
>
>
>
> ---
> > 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.

Reply via email to