Hi,
I'm new in smart card and smart card reader, and I encountered some problem I am not able to solve
My environment:
windows 2000 SP4
a GemPC Twin smart card reader
OCF1.2 and comm.jar
I'm just trying tu use the samples provided by OCF but no one runs. Here are the tracks obtain with the GetCardID program:
------------------------------------------------------------
start use case: get a card ID
[DEBUG ] opencard.core.service.SmartCard.getRegistryEntry
--- message tag OpenCard.terminals = com.gemplus.opencard.terminal.GemplusCardTerminalFactory|mygcr|GCR410|COM1
--- thread Thread[main,5,main]
--- source class opencard.core.service.SmartCard
[DEBUG ] opencard.core.terminal.CardTerminal.<init>
--- message (mygcr, GCR410, COM1)
--- thread Thread[main,5,main]
--- source class opencard.core.terminal.CardTerminal
[INFO ] com.gemplus.opencard.terminal.GemplusSerialCardTerminal.open
--- message open terminal: mygcr
--- thread Thread[main,5,main]
--- source class com.gemplus.opencard.terminal.GemplusSerialCardTerminal
[DEBUG ] com.gemplus.opencard.terminal.GemplusSerialCardTerminal.open
--- message opening serial port COM1
--- thread Thread[main,5,main]
--- source class com.gemplus.opencard.terminal.GemplusSerialCardTerminal
CardTerminalException:
javax.comm.PortInUseException: Port currently owned by Unknown Windows Application
finished use case: get a card ID
------------------------------------------------------------
I seen that in this case I had to disable the smart card resource manager or something like that.
I don't know exactly wath it is but I stop the smart card service in control panel/admin tool/services and
the result is the same.
So I don't know what i can do.............
Does anybody have the same smart card reader, is my opencard.properties file well configured because I don't know
if the type of the GemPC Twin reader is GCR410 or another one:
#OpenCard.property = new_value
#OpenCard.property.override = true
###############################
# Card service configuration #
###############################
#OpenCard.services = com.ibm.opencard.factory.MFCCardServiceFactory
#OpenCard.services = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
OpenCard.services = opencard.opt.util.PassThruCardServiceFactory
###############################
# Card terminal configuration #
###############################
OpenCard.terminals = com.gemplus.opencard.terminal.GemplusCardTerminalFactory|mygcr|GCR410|COM1
polling = usesthread
###############################
# Trace configuration #
###############################
#OpenCard.trace = opencard:8
OpenCard.trace = opencard:8 com.ibm:8 com.gemplus.opencard.terminal:8
Any suggestion will be very appreciated
Thanks
Rachel --- > 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.
- Re: [OCF + GEMPLUS] PortInUseException rhahn
- Re: [OCF + GEMPLUS] PortInUseExce... Brian McGuiness
- Re: [OCF + GEMPLUS] PortInUseExce... Cedric HUET
- Re: [OCF + GEMPLUS] PortInUse... Cedric HUET
- [OCF] Smart Card in Spain Frederic Roussel (Global Card 2000)
- Re: [OCF] Smart Card in ... Jonsy (teleline)
- RE: [OCF + GEMPLUS] PortInUseExce... rhahn
