I work for SSB and i use OCF.

I install towitoko21411_driver.zip  and i work with a towitoko chipdrive 100
on COM1 port.

I add to the opencard.properties:


OpenCard.services = opencard.opt.util.PassThruCardServiceFactory
OpenCard.terminals =
com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory


and i add to the readers.cfg



Reader[1]
PORT_NUMBER = 1
READER_NAME = TOWITOKO terminals
DLL_NAME = gen_twk.dll



my opencard.properties is in \jdk1.2.2\jre\lib directory;
my readers.cfg is in \OpenCard\OCF1.2\lib directory;
my gen_twk.dll  is in in \OpenCard\OCF1.2\lib  directory;

I execute this code



    try {
        SmartCard.start();
    }
    catch (OpenCardPropertyLoadingException e)
    {
        e.printStackTrace(System.err);
    }
    catch (CardTerminalException e)
    {
        e.printStackTrace(System.err);
    }
    catch (CardServiceException e)
    {
        e.printStackTrace(System.err);
    }
    catch (java.lang.ClassNotFoundException e)
    {
        e.printStackTrace(System.err);
    }



but the execution is reset without an exception; the execution's trace is:



[DEBUG    ] opencard.core.service.SmartCard.getRegistryEntry
--- message   tag OpenCard.terminals =
com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory
--- thread    Thread[main,5,main]
--- source    class opencard.core.service.SmartCard
Hit uncaught exception java.lang.Exception
[DEBUG    ]
com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory.PcscMigCardTerm
inalFactory
--- message   connect to PCSC Migration
--- thread    Thread[main,5,main]
--- source
com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory@7b8c0a96




Please tell me how can i risolve this problem?
Thanks
Alessandro Matti



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