ACR38U reader cant be detected in Eclipse jcop tool

Hello,

I am using a ACR38U reader, it appears to be correctly installed as I can see it under device manager.

However, I cannot see it listed among the installed readers in my Eclipse IDE. as such I cannot install my applet on the my smart card.

What can be the problem?

Regards

[309 byte] By [socxa] at [2007-10-3 5:14:26]
# 1

The reader list in the JCOP Tools Launch Configuration page contains only PCSC- and TCL-complient card reader.

But You can also connect to any other installed reader via the JCShell view terminal command: "/terminal <param>" (see more with "help /terminal").

For this purpose You need the dll for your reader.

Try your connection with the following command "/terminal <dll_file_name>:3|1" where "<dll_file_name>" is the name (without extension) of the card reader ddl file (add the path to this dll to your JVM java.library.path).

If this doesn't work try it with some other params after the "|" (e.g. 1 ... 9).

The applet's upload and install process than is the same like this for an "automatic" RUN launch.

HartmutForJCOPa at 2007-7-14 23:20:57 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2

The ACR38U is a PC/SC reader. Make sure you install the correct PC/SC driver which can be downloaded from http://www.acs.com.hk/DriversManual.asp?PID=59

Also, make sure the Smart Card Resource Manager is running. You can check that under Control Panel > Administrative Tools > Services. Make sure "Smart Card" is up and running.

I strongly discourage experimenting with NativeTerminal's DLL numbers. They are only for legacy card readers, and unexpected results may occur (like Eclipse crashing). Only use 4 in conjunction with pcsc, and 10 with tcl. Do NOT play with the others unless you know what you are doing.

mkdataa at 2007-7-14 23:20:57 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3

Hello,

Thanks for the hand guys.

mkdata, it sounds to me like you really understand my challenge perfectly well.

I uninstalled driver i had and installed the one you pointed me to. Now my smart card appears in the device manager on its own under the list of smart card readers, which looks perfect.

I tried starting the Smart card resource service but i get the error message.

Could not start Smart Card Resource Manager Service on Local computer

Error:1086: The dependecy service or group failed to start.

What can be missing?

Thanks.

socxa at 2007-7-14 23:20:57 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 4

Hello,

I managed to resolve the challenge with the resource manager.

The smart card reader driver is successfully installed

The Smart Card Resource Manager is started

I tried out the following command in attempt to connect to it.

/terminal PCSC:3|4

I get the error

cannot init/open terminal: cannot load DLL C:\Program Files\Java\eclipse\plugins\com.ibm.bluez.jcop.eclipse_3.1.1.b\os\win32\x86

I tried copying the dll of the driver, Usbr38.dll into the JVM library path as suggested. then I run this line

/terminal Usbr38:3|4

but i get

cannot init/open terminal: cannot bind symbol CT_INIT in DLL Usbr38

Any suggestions as to the way out?

Thanks guys,

It starts up now. yet I still cannot connect with the card reader.

socxa at 2007-7-14 23:20:57 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 5
The reader should now be showing up in the list of readers within JCOP Tools.
mkdataa at 2007-7-14 23:20:57 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 6
It still does not show.I can only see the Philips Pedoga reader, whihc I don't remember installing myself, I guess it comes with the JCOPs tool by default.Any idea what else is left to be done?Thanks,
socxa at 2007-7-14 23:20:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 7
1) The Philips pegoda reader is the JCOP default reader and every in the list.2) to connect a pcsc compliant reader use only "pcsc:4" or "winscard:4" (it's case significant !!)
HartmutForJCOPa at 2007-7-14 23:20:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 8

Hello,

Thanks for your response, I Just tried the line

/terminal pcsc:4

i get the error

cannot init/open terminal: Smart Card resource manager is not running

But when i checked the Smart Card service it says "started". (I am running Windos XP). I restarted it again and tried; got the same message. The other line

/terminal winscard:4

give the same result. Is there a problem with my Smart Card Resource Manager, my Eclipse or my jcop tool?

socxa at 2007-7-14 23:20:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 9
JCOP Tools calls directly into the Windows SCARD API, and if that returns SCARD_E_NO_SERVICE (which is what the message indicates), there's a problem with the service.
mkdataa at 2007-7-14 23:20:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 10

Thanks mkdata,

Guess You are right.

The problem was that i upgraded my XP home Edition to XP professional.

So my Smart Card resource manager was one i downloaded from the internet, because XP Home does not have that service.

The smart card resource manager is part of the OS, if it gets corrupted the only way to fix it is to re-install the OS. Which i have confirmed by testing.

Got it sorted now.

Socx

socxa at 2007-7-14 23:20:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 11
Hello socx."The Smart Card Resource Manager is started"Can you tell me how you resolved the problem with the "Smart Card Resource Manager"? I磎 having the same problem with my Windows Media Center. What did you do to fix it? Can you help?S. Beck
srunarssona at 2007-7-14 23:20:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 12

Hello,

I read it from a site that when you have such problems it means that the Smart Card Resource Manager is corrupted, and the only proven way to resolve that is to re-install you operating system. if you uninstall and re-install the service, it may not work.

So what i did was to re-install my Operating system. Sounds like killing a mosquito with a rifle, but it's the only way i know and have tested.

All the best,

Socx

socxa at 2007-7-14 23:20:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...