[EMAIL PROTECTED] wrote:

Hi,

I cannot make CFlexAccess32Loader work ... I believe my configuration
isn't good.  I get the following error.

Address:
Name:    SCM SCR 331 CCID 0 0
Type:    PCSC10
Slots:   1

Info for slot ID: 0
card present: yes
ATR: 3B 65 00 00 29 05 01 02 01
Insert your card ...
java.lang.ClassNotFoundException: CardService implementing interface 
smartcard.OCF.service.CFlexAccess32Loader

My CLASSPATH is as follows.

export CLASSPATH=$CLASSPATH:/usr/OpenCard/OCF1.2/lib/base-core.jar:/usr/OpenCard/OCF1.2/lib/base-opt.jar:/usr/OpenCard/OCF1.2/lib/reference-services.jar:/home/naomaru/MyDownloadFiles/MUSCLE/CFlexAccess32Loader/lib/pcsc-wrapper-2.0.jar:/home/naomaru/MyDownloadFiles/MUSCLE/CFlexAccess32Loader/lib/cryptix-jce-api.jar:/home/naomaru/MyDownloadFiles/MUSCLE/CFlexAccess32Loader/lib/cryptix-jce-provider.jar:.

Am I missing something ... ?

Thank you.



You must have the CardService mentioned in your opencard.properties file placed in your JAVA_HOME/lib/ or local in the directory where the application is running (The entry OpenCard.services).


A opencard.properties files is shipped with the CFlexAccess32Loader, or you use this one which is equivalent but I have set the debugging priority to 0 (last 4 line actually not needed.)

OpenCard.services = \
smartcard.OCF.factory.CFlexAccessCardServiceFactory
OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
OpenCard.trace = opencard:0 \
opencard.core.service.CardServiceRegistry:0 \
smartcard.OCF.factory.CFlexAccessCardServiceFactory:0 \
smartcard.OCF.service.CFlexAccess32Loader:0 \
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory:0


Bye, Karsten

_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to