title: JCIDE and pyapdutool
body: <p>I wrote a code with gcide. when I want to debug it in gpshell I saw this message :</p>
  
  <pre><code>Start jcvm_gp successfully.
  Connect Simulator:eJava Token successfully.
  &gt;&gt; /card -a ""
  ATR=3B 70 13 00 00
  
  &gt;&gt; 00 A4 04 00 00
  &lt;&lt; .. 90 00
  
  &gt;&gt; set-key 255/1/DES-ECB/404142434445464748494A4B4C4D4E4F 255/2/DES-ECB/404142434445464748494A4B4C4D4E4F 255/3/DES-ECB/404142434445464748494A4B4C4D4E4F
  
  &gt;&gt; init-update 255
  &lt;&lt; ..90 00
  
  &gt;&gt; ext-auth
  &lt;&lt; ..90 00
  
  &gt;&gt; upload 
  &lt;&lt; .. 90 00
  
  &gt;&gt; install A000000308 A00000030800001000 A00000030800001000  
  &lt;&lt; .. 90 00
  
  &gt;&gt; cardinfo
  &lt;&lt; .. 90 00
  
  Card Manager AID   :  A000000003000000
  Card Manager state :  OP_READY
  
      Application:  SELECTABLE (--------) A00000030800001000
      Load File  :      LOADED (--------) A000000308
       Module    :                        A00000030800001000
  
   1. Disconnect apdu port with JCVM successfully. 
  
   2. Connect JAVACOS Virtual Contact Reader 0 successfully. Connect JAVACOS        Virtual Contactless Reader 1  successfully.
  
   3. Connect CL port failed,IP:127.0.0.1:Port:0.
      Reason: The requested address is not valid in its context.
   4. Connect CB port successful,IP:127.0.0.1  Port:51836 T0
  </code></pre>
  
  <p>but for example when I wrote command <code>/select</code> ,I get Jcvm is not connected.</p>
  
  <pre><code>&gt;&gt; /select "A0 00 00 03 08 00 00 10 00"
  &gt;&gt; 00 A4 04 00 09 A0 00 00 03 08 00 00 10 00 00
  &lt;&lt; 00 00   Jcvm is not connected
  Win32 Interface already disconnected.
  </code></pre>
  
  <p>also I enable pcsc interface and I use simulator:ejavatoken but some time in debug mode it is connected <em>PyAPDUTool</em> but some times no.
  can every body help me?</p>