apdutool and PCSC problems
I can't get the apdutool to work with the -pcsc option on a Windows platform. This is what I get:
java.util.MissingResourceException: Can't find bundle for base name jpcsclite, locale en_US
I see the jpscslite.dll in the bin directory with apdutool.bat and I can use the pcsc reader in other environments like C# so I know it is configured correctly. If I'm able to get this to work, how do I select between multiple pcsc readers on a machine?
[465 byte] By [
fastercata] at [2007-11-26 15:29:40]

# 1
I also have the same problem, I am getting the following error:
java.util.MissingResourceException: Can't find bundle for base name jpcsclite, locale en_US
Exception while getting ATR
with windowsXP, JC2.2.2, and SCM SCR300 USB Smart card reader.
although I have followed the guide's "Configuring PC/SC functionality" section that says:
- create a file called "jpcsclite.properties" in any dir listed in the CLASSPATH.
- and add the line: lib.path=path\to\your\JavaCardKit\bin
Please.... any help will be greatly appretiated!! (ASAP)
# 2
Guys,
I've been stuck with this for two days, trying everything I could to download a simple appletinto the card with no luck!
I can't do any card tests; can't communicatewith the card!
please... HELP!!
thanks in advance.
p.s. I can access the card with other sw(opencard demos) and get info about the card and the reader,
Mike.
# 3
I am using JCOP tools now, which does all this manual stuff.
but in case someone has the same problem, I solved it by
-placing the "jpcsclite.properties" in the same dir as the cap file (I beleive you can put it in source folder also).
- and using "\\" instead of "\" .
- or you can use -Djava.library.path=your\path\to\DLLs
Have a good one guys,
Mike.
# 4
Hey all
I'm working on a DoD contracted tool for logging in using a CAC (Common Access Card). We are using an SCR331 reader, which is PCSC compatible. All I really need is to be able check a pin number with the card and get information off of it. Does anyone have suggestions?
The dll we currently have doesn't really work. If we enter the correct pin everything is hunky dory, but as soon as we enter an incorrect pin we get an internal error (no exceptions thrown) and everything goes bye bye.
Please help!
I also have tried connecting using the following lines with javacard framework:
cad=CadDevice.getCadClientInstance(CadDevice.PROTOCOL_PCSC, null, null);
cad.powerUp();
As soon as I called cad.powerUp() I get this error:
java.io.IOException: Exception while getting ATR
at com.sun.javacard.apduio.CadPCSCClient.powerUp(Unknown Source)
If anyone can provide some help that would be awesome. Thanks