Page 1 of 1

Error when debugging my applet in JCIDE

Posted: Wed Sep 07, 2016 2:00 am
by Sajaki
When I click Debug button to debug my applet in JCIDE, I always got an error "Connect CL port failed .Please disconnect JAVACOS Virtual Contact Reader 0 first" in debug shell. How can I solve this issue? Does anyone know?


Re: Error when debugging my applet in JCIDE

Posted: Wed Sep 07, 2016 3:54 am
by lostsiwonlw
What are the following APDU commands used to do?

Re: Error when debugging my applet in JCIDE

Posted: Wed Sep 07, 2016 5:26 am
by Sajaki
I didn't send any commands yet. I thought these were sent by JCIDE.

Re: Error when debugging my applet in JCIDE

Posted: Thu Sep 08, 2016 2:17 am
by popmun09
These unknown commands were sent by your computer OS, which has automatically connected the virtual reader and send APDU commands to it.

To solve your problem, just edit computer policies.

Step1. Launch gpedit.msc

Step2. Select Computer Configuration --> Administrative Templates --> Windows Components --> Smart Card

Step3. Disable Smartcard setting options:
> Turn on certificate propagation from smart card: disable
> Turn on root certificate propagation from smart card: disable
> Force the reading of all certificates from the smart card: disable
> Turn on Smart Card Plug and Play service: disable


Re: Error when debugging my applet in JCIDE

Posted: Thu Sep 08, 2016 2:19 am
by popmun09
After you edit the policies, remember to restart your computer.

Re: Error when debugging my applet in JCIDE

Posted: Thu Sep 08, 2016 4:03 am
by Sajaki
Thanks for all the answers.

@popmun09, I have solved this problem according to your steps. Thanks very much.

Re: Error when debugging my applet in JCIDE

Posted: Tue Nov 26, 2019 4:07 am
by typelogic
I did this gpedit.msc, but still have the error message in JCIDE. Any tips? JCIDE 3013