Do you know or where to find the OpenCard.terminals strings for "GCR400 PC
Card reader" and "430 USB reader"?
tia
-----Original Message-----
From: Laurent Jutard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 7:22 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [OCF] CardTerminalFactory Problem !!!
Hello,
I guess that the problem is not with the OCFPCSC1.class but with
OCFPCSC1.dll. This native library must be located in the system path of
Windows 2000 (for example in the current directory, in winnt or
wintnt\system32).
Concerning your properties file, you should add some arguments behind
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory. For example for
a GCR410 reader on COM1, we have to set:
OpenCard.terminals = \
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|mygcr|GCR410|COM1
But I 'm sorry I don't know arguments for a Schlumberger reader.
Laurent.
>-----Original Message-----
>From: C�dric Malderez [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, December 20, 2000 3:51 PM
>To: [EMAIL PROTECTED]
>Subject: [OCF] CardTerminalFactory Problem !!!
>
>
>Hello !!!
>
>I'm actually trying to access to a Schlumberger Cyberflex
>Access card using
>Schlumberger "CyberflexAccessFileSystemCardService" class ... throught
>OpenCardFramework ...
>
>I'm using a Schlumberger Reflex 72 Reader ... which is normaly
>OCF compliant
>... as a PC/SC Reader !
>
>I'm working under Microsoft Windows 2000 ... and using a
>JavaSoft JDK 1.2.2
>...
>
>I've done a simple Java program based on the one given in the OCF 1.2
>Programmer's Guide (The ReadCardHolder Java program) ...
>changed in order to
>match a SLB Cyberflex Card ... & to read a file at address 0011 ...
>
>My problem is that each time I run my sample ... the following
>error appears
>:
>D:\CMZ\smartcard\OpenCard\Test>java -classpath
>c:\jdk1.2.2\jre\lib\rt.jar;.;./SLBCyberflex.jar;C:\OpenCard\OCF
>1.2\lib\base-
>core.jar;C:\OpenCard\OCF1.2\lib\base-opt.jar;C:\OpenCard\OCF1.2
>\lib\pcsc-wra
>pper-src.jar;C:\OpenCard\OCF1.2\lib\reference-services.jar
>ReadSLBCyberflexCardHolder
>Reading SLB Cyberflex smarcard file ...
>> Step1 : SmartCard.start()
>Exception in thread "main" java.lang.UnsatisfiedLinkError: no
>OCFPCSC1 in
>java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1249)
> at java.lang.Runtime.loadLibrary0(Runtime.java:470)
> at java.lang.System.loadLibrary(System.java:778)
> at
>opencard.core.util.SystemAccess.loadLibrary(SystemAccess.java:111)
> at
>com.ibm.opencard.terminal.pcsc10.OCFPCSC1.loadLib(OCFPCSC1.java:64)
> at
>com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory.open
>(Pcsc10CardTe
>rminalFactory.java:94)
> at
>com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory.<ini
>t>(Pcsc10Card
>TerminalFactory.java:65)
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:241)
> at
>opencard.core.service.SmartCard.handleTerminalFactoryEntries(Sm
>artCard.java,
>Compiled Code)
> at
>opencard.core.service.SmartCard.configureTerminalRegistry(Smart
>Card.java,
>Compiled Code)
> at opencard.core.service.SmartCard.start(SmartCard.java:534)
> at
>ReadSLBCyberflexCardHolder.main(ReadSLBCyberflexCardHolder.java:31)
>
>As you can see ... the OCFPCSC1 class which is in the
>pcsc-wrapper-src.jar
>file ... is in classpath.
>why the java.lang.ClassLoader does not find it ??
>
>Anyway ... I've tried to change the opencard.properties file,
>in the JRE lib
>folder, and comment the line in red:
>###############################
># Card service configuration #
>###############################
>
>OpenCard.services = \
>
>com.slb.opencard.CyberflexAccess.CyberflexAccessCardServiceFactory \
> com.ibm.opencard.factory.MFCCardServiceFactory \
> opencard.opt.util.PassThruCardServiceFactory
>
>###############################
># Card terminal configuration #
>###############################
>
># OpenCard.terminals =
>com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
>
>###############################
># Trace configuration #
>###############################
>
>OpenCard.trace = opencard:5
>
>My sample can be ran ... but ... even if I insert a card on my
>reader ...
>nothing appears ... !
>
>
>Could you tell me if I do it correctly ... of if I need a special
>TerminalFactory from Schlumberger ???
>I would really appreciate for helping !!!
>
>Sincerely,
>
>Malderez C�dric !
>
>
>
>---
>> 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.
---
> 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.