Hi All,
I was testing my application with OCF and I have some problems when
testing with Schlemberger's CyberflexAccess.
My enviroment is Win 2000, OCF 1.2, Reflex 72 accessed via PSCS.
When I insert the MFC Card that came with "Smart Card Applicatione
Development Using Java" book all is OK. But, when I insert the
CyberflexAccess, my application lock at the method
SmartCard.getSmartCard(CTListener, CardRequest).
I 'm posting the test application, the opencard.properties file, and the
trace dump from my application.
Could someone help-me with this.
Thanks a lot.
[ ]'s
Luciano Coelho
[EMAIL PROTECTED]
ReadFile.java
Reading file from smart card...
[DEBUG ] opencard.core.service.SmartCard.getRegistryEntry
--- message tag OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10Ca
rdTerminalFactory
--- thread Thread[main,5,main]
--- source class opencard.core.service.SmartCard
[DEBUG ] opencard.core.terminal.CardTerminal.<init>
--- message (Schlumberger Reflex 72 0, PCSC10, )
--- thread Thread[main,5,main]
--- source class opencard.core.terminal.CardTerminal
[DEBUG ] opencard.core.event.EventGenerator.updateTerminals
--- message new pollable Terminal = com.ibm.opencard.terminal.pcsc10.Pcsc10Car
dTerminal@7943a4
+ name Schlumberger Reflex 72 0
+ type PCSC10
+ addr
--- thread Thread[main,5,main]
--- source class opencard.core.event.EventGenerator
[DEBUG ] opencard.core.service.CardServiceRegistry.<init>
--- message instantiating
--- thread Thread[main,5,main]
--- source class opencard.core.service.CardServiceRegistry
[DEBUG ] opencard.core.service.SmartCard.getRegistryEntry
--- message tag OpenCard.services = com.slb.opencard.CyberflexAccess.Cyberflex
AccessCardServiceFactory
--- thread Thread[main,5,main]
--- source class opencard.core.service.SmartCard
[DEBUG ] opencard.core.service.CardServiceFactory.<init>
--- message instantiating
--- thread Thread[main,5,main]
--- source class opencard.core.service.CardServiceFactory
[DEBUG ] opencard.core.service.CardServiceRegistry.add
--- message com.slb.opencard.CyberflexAccess.CyberflexAccessCardServiceFactor
y@690726
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@5483cd
[DEBUG ] opencard.core.service.SmartCard.<start>
--- message finished
--- thread Thread[main,5,main]
--- source class opencard.core.service.SmartCard
configuration was done.
[DEBUG ] opencard.core.service.CardRequest.<init>
--- message (interface opencard.opt.iso.fs.FileAccessCardService)
--- thread Thread[main,5,main]
--- source class opencard.core.service.CardRequest
CArd Service
please insert a card now!
[DEBUG ] com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.cardInserted
--- message slotID 0, )
--- thread Thread[Thread-0,5,main]
--- source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@7943a4
+ name Schlumberger Reflex 72 0
+ type PCSC10
+ addr
[DEBUG ] opencard.core.event.EventGenerator.updateCards
--- message card inserted slotID = 0
--- thread Thread[Thread-0,5,main]
--- source class opencard.core.event.EventGenerator
card was inserted
Getting SmartCard from event
[DEBUG ] opencard.core.service.CardServiceRegistry.getSmartCard
--- message CTEvent opencard.core.event.CardTerminalEvent[source=com.ibm.openc
ard.terminal.pcsc10.Pcsc10CardTerminal@7943a4
+ name Schlumberger Reflex 72 0
+ type PCSC10
+ addr ]
---source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@7943a4
+ name Schlumberger Reflex 72 0
+ type PCSC10
+ addr
---id 1
card inserted in slot 0
terminal com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@7943a4
+ name Schlumberger Reflex 72 0
+ type PCSC10
+ addr
--- thread Thread[Thread-0,5,main]
--- source opencard.core.service.CardServiceRegistry@5483cd++ registered fact
ory com.slb.opencard.CyberflexAccess.CyberflexAccessCardServiceFactory@690726
[DEBUG ] com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.openSlotChannel
--- message for slot #0
--- thread Thread[Thread-0,5,main]
--- source com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal@7943a4
+ name Schlumberger Reflex 72 0
+ type PCSC10
+ addr
opencard.properties