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\OCF1.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.<init>(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(SmartCard.java,
Compiled Code)
at
opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.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.