Eclipse terminates by starting the card reader

Hello,

it磗 me again. I have a problem with the card reader (Omnikey CardMan 3121 USB) everytime I will start the reader via the symbol I get the termination message and eclipse terminates.

Perhaps I do the wrong things but I don磘 know another way.

1. Write the code

2. push the Run-button (and it loads)

3. I try to connect the card reader with the symbol above the traces to go the same way with the real card reader

termination

In the moment I can test the code with the simulation tool but I wants to load the applet to a real card.

what do I wrong ?

Thank you very much for your help

mimaxx

[663 byte] By [mimaxxa] at [2007-11-27 9:54:01]
# 1

Hello!

I think this might very well be a problem with the Omnikey readers. I use a Omnikey myself and the exact same thing happens. What I do to fix it is simply to type "/term" in the JCOP shell terminal window. Note that if you already have an open session with another reather (i.e. the simulator) you will have to close it using "/close" first.

After you've selected the terminal (card reader), use /card (or even /card -a a000000003000000 -c com.ibm.jc.CardManager, but I find it's sufficient to type /card).

As I'm in a good mood and it's almost weekend, I'll throw in an APDU trace for good measure:

cm> /close

- /term

--Opening terminal

> /card

resetCard with timeout: 0 (ms)

--Waiting for card...

ATR=3B EB 00 00 81 31 20 45 4A 43 4F 50 32 31 31 38;....1 EJCOP2118

47 44 54 75GDTu

ATR: T=1, N=0, IFSC=32, BWI=4/CWI=5, Hist="JCOP2118GDT"

=> 00 A4 04 00 09 A0 00 00 01 67 41 30 00 FF .........gA0..

(90537 usec)

<= F2 04 01 24 4B 4C 38 33 50 48 35 32 32 44 01 03...$KL83PH522D..

FE 90 F2 6A 82 ...j.

Status: File not found

=> 00 A4 04 00 07 A0 00 00 00 03 00 00 00 .............

(46037 usec)

<= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65o..............e

01 FF 90 00....

Status: No Error

cm>

Lillesanda at 2007-7-13 0:23:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2

Well,

it works. So it means I ever have to got this way to get access to the cards memory ? But it磗 ok, with your explaination I got access an can work with this and I guess thats in the moment enough for my project.

I磎 very thankful to you for your help. I wish you a nice weekend.

mimaxx

mimaxxa at 2007-7-13 0:23:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3
As Lillesand already has given you a solution I'll just mention that I had the same problems when trying to run the Eclipse on MS-Vista....When going back to XP it all wotked fine...
davendaa at 2007-7-13 0:23:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...