Dear list,
I'm playing with the source code from the OCF Book.
calling "java BusinessTest" says:
Creating thread 0
The card info is set in this thread
java.lang.ClassNotFoundException: CardService implementing class BusinessCardPro
xy
at opencard.core.service.CardServiceRegistry.getCardServiceInstance(Card
ServiceRegistry.java, Compiled Code)
at opencard.core.service.SmartCard.getCardService(SmartCard.java:325)
at BusinessCard.cardInserted(BusinessCard.java:57)
at opencard.core.terminal.CardTerminalRegistry.createEventsForPresentCar
ds(CardTerminalRegistry.java, Compiled Code)
at BusinessCard.<init>(BusinessCard.java:40)
at BusinessTest.<init>(BusinessTest.java:38)
at BusinessTest.main(BusinessTest.java, Compiled Code)
java.lang.NullPointerException
at BusinessCard.setBusinessInfo(BusinessCard.java:136)
at BusinessTest.<init>(BusinessTest.java:40)
at BusinessTest.main(BusinessTest.java, Compiled Code)
BusinessCardException
at BusinessCard.setBusinessInfo(BusinessCard.java:143)
at BusinessTest.<init>(BusinessTest.java:40)
at BusinessTest.main(BusinessTest.java, Compiled Code)
but my opencard.properties is:
OpenCard.services = BusinessCardProxyFactory
OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
as you can see I striped the sample.buiss... package statements from
the complete source.
Part of my classpath is the directory where the book-classes reside.
I'm using jdk1.2, Win NT, Schlumberger Reflex 72 in PC/SC OpenCard mode,
Cyberflex Access JavaCard.
(I did of course install the Cardlet before - To make it
install successfully on the card I had to
lower the number of nested procedure calls in the "install"
procedure however.)
What am I doing wrong ?
Can you help me out ?
I do get a similar error message (about MFC...Factory) while trying to
start the ReadFile class. The Cyberflex does
support standard ISO7816-4 filehandling, doesn't it ?
Regards,
Erik
---
> 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.