Hi, I have successfully installed OCF in my computer. The following is my development environment:
1. Windows XP
2. JDK1.4
3. OCF1.2
4. Smart Card Reader: Towitoko Chipdrive micro 130 (USB)
5. Smart Card: G&D (Java Card)
After changing opencard.properties, reader.cfg (in home.dir),
.java.policy(in home.dir) and sign the applet, the demos in OCF work fine.
Now my questions are:
1. I cannot get userData from my Java Card. May I use FileAccessCardService
to access Files on Java Card? (it is not normal smart card)
When I run the Stock Broker Demo from browser (Applet), I have the following
error messages in my Java Console:
SignatureCard - start OpenCard
SignatureCard - OpenCard is up and running
SignatureCard - got CARD_INSERTED event
java.lang.ClassNotFoundException: CardService implementing interface
opencard.opt.iso.fs.FileAccessCardService
at
opencard.core.service.CardServiceRegistry.getCardServiceInstance(CardService
Registry.java:269)
at opencard.core.service.SmartCard.getCardService(SmartCard.java:331)
at demos.stockbroker.SignatureCard.allocateServices(SignatureCard.java:311)
at demos.stockbroker.SignatureCard.cardInserted(SignatureCard.java:120)
at opencard.core.event.EventGenerator.updateCards(EventGenerator.java:233)
at
opencard.core.terminal.CardTerminalRegistry.cardInserted(CardTerminalRegistr
y.java:281)
at opencard.core.terminal.CardTerminal.cardInserted(CardTerminal.java:577)
at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.poll(Pcsc10CardTerminal.
java:479)
at opencard.core.event.EventGenerator.run(EventGenerator.java:199)
at java.lang.Thread.run(Thread.java:536)
2. Is there File system on Java Card? (Because as i know, it is applet saved
on Java Card, maybe I am wrong)
The attachment file is my opencard.properties, maybe it is helpful to
somebody who has the same environment as mine. I also want to mention that
you need to add archive and codebase in the applet embeded html file if you
want to test the applet in OCF demos.
Thanks, this group is really great.
Alvin
.opencard.properties
Description: Binary data
