Access JCOP simulated card with SATSA from WTK

hello fellow JavaCard lovers :-)

For a while now, I'm trying to access my simulated JCOP smartcard with the SATSA libraries from WTK, but 'till the time off writing, all my efforts were unsuccessful.

I'm using:

WTK Version 2.5 for CLDC Beta (19-jun-2006 16:06)

Eclipse SDK Version: 3.1.1

JCOP Tools - Version 3.1.2

There is NO problem when I try to access my simulated card with the offcard JCOP tools, everything works fine. Now I'm trying to access the same simulated card with the SATSA library in the WTK with following code:

APDUConnection con = (APDUConnection)Connector.open("apdu:0;target=65.69.64.41.70.70.6c.65.74.49.44");

with following settings in the ktoolbar of the WTK

security: Policy: MSA, Domain: maximum

SATSA: port number for slot 0: 8050 (The simulated javacard applet listens on port 8050)

Card emulator host name: 127.0.0.1

Simulator type: other

I've shut down my firewall, and even the windows firewall is disabled.

In the JCOP Debug perspective, I close the JCOP Shell with the /close command.

OK, when I do that, I get following errors. First time of execution:

java.io.IOException: error 0 during TCP write

second time of execution:

java.io.IOException: error 10054 during TCP read

I've run out of ideas to solve this matter, so any help would be appreciated!

Michiel

PS: with first time and second time of execution I mean when I execute the middlet with the same JCOP simulated card running.

[1562 byte] By [Michiel82a] at [2007-11-26 22:05:55]
# 1
I had this error with EclipseME, WTK2.5 and java card kit 2.2.2 when launched cref.exe from java card kit.Now I use cref.exe from WTK2.5 (bin subfolder) and it works well. Seems like there's difference in implemented protocols in cref.exe in various kits
alToSa at 2007-7-10 10:50:19 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2
Besides I've developed an utility to forward APDU from SATSA to real smart-card. See http://forum.java.sun.com/thread.jspa?threadID=5153989
alToSa at 2007-7-10 10:50:19 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3
See Javacard proxy http://sourceforge.net/projects/javacard-proxy
alToSa at 2007-7-10 10:50:19 > top of Java-index,Java Mobility Forums,Consumer and Commerce...