6 Replies Latest reply: May 10, 2012 9:10 PM by 921719 RSS

    Urgent!Plz help me,   Who knows below error?

    921719
      cm>  /term "Remote|localhost:56119"
      --Opening terminal
      
      /card -a a000000003000000 -c com.ibm.jc.CardManager
      resetCard with timeout: 0 (ms) --Waiting for card... ATR=3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34    ;.....1.EJCOPv24     31 B7                                              1. IOCTL(). ATR:          T = 1                   => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00          .............. (552934 nsec) <= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65    oe...........Y.e     01 FF 9F 6E 06 47 91 01 17 33 00 73 4A 06 07 2A    ...n.G...3.sJ..*     86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B    .H..k.`...*.H..k     02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64    ....c...*.H..k.d     0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09    ...*.H..k...e...     2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01    +...Hd...f...+..     04 01 2A 02 6E 01 02 90 00                         ..*.n.... Status: No Error cm>  set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f cm>  init-update 255 => 80 50 00 00 08 CC 20 E2 3A E0 F8 D6 0B 00          .P.... .:..... (1457 usec) <= 00 00 DE 81 34 18 39 B7 09 70 FF 02 00 00 3D 02    ....4.9..p....=.     9C 31 C7 89 75 4A BD 96 F6 68 B0 CD 90 00          .1..uJ...h.... Status: No Error cm>  ext-auth plain => 84 82 00 00 10 31 E6 FA 16 3D 47 37 FA 2E 01 1B    .....1...=G7....     A3 33 22 63 EB                                     .3"c. (1576 usec) <= 90 00                                              .. Status: No Error cm>  delete -r 01010101010101 => 80 E4 00 80 09 4F 07 01 01 01 01 01 01 01 00       .....O......... (750777 nsec) <= 6A 88                                              j. Status: Reference data not found jcshell: Error code: 6a88 (Reference data not found) jcshell: Wrong response APDU: 6A88 Ignoring expected error cm>  upload -c -b 250 "D:\Java workspace\Testtest\bin\Test_GPRegistryEntry_deregisterService\javacard\Test_GPRegistryEntry_deregisterService.cap" jcshell: Cannot read <D:\Java workspace\Testtest\bin\Test_GPRegistryEntry_deregisterService\javacard\Test_GPRegistryEntry_deregisterService.cap>: java.io.FileNotFoundException: D:\Java workspace\Testtest\bin\Test_GPRegistryEntry_deregisterService\javacard\Test_GPRegistryEntry_deregisterService.cap (The system cannot find the path specified) cm>  install -i 0101010101010101  -q C9#() 01010101010101 0101010101010101 => 80 E6 0C 00 20 07 01 01 01 01 01 01 01 08 01 01    .... ...........     01 01 01 01 01 01 08 01 01 01 01 01 01 01 01 01    ................     00 02 C9 00 00 00                                  ...... (1233 usec) <= 6A 88                                              j. Status: Reference data not found jcshell: Error code: 6a88 (Reference data not found) jcshell: Wrong response APDU: 6A88 Unexpected error; aborting execution
      Who knows above error? its appeared during build the cap file. Who can help me how to build the cap file?
        • 1. Re: Urgent!Plz help me,   Who knows below error?
          rohit007
          it seems that , your Eclipse IDE is not generating .cap file, that's why upload command showing such error, normally eclipse automatically generate whenever you save your file....
          One reason may be jdk version , try jdk 1.3 , may be it helps!!!!!!!!!!!! , before using jcop simulation check for your .cap file, when u will get your .cap ,instantly you will get your solution..



          Cheers!!!!

          Edited by: rohit pathak on May 7, 2012 5:15 PM
          • 2. Re: Urgent!Plz help me,   Who knows below error?
            safarmer
            it seems that , your Eclipse IDE is not generating .cap file, that's why upload command showing such error, normally eclipse automatically generate whenever you save your file....
            One reason may be jdk version , try jdk 1.3 , may be it helps!!!!!!!!!!!! , before using jcop simulation check for your .cap file, when u will get your .cap ,instantly you will get your solution..
            You do not need a different JDK as Eclipse uses its own compiler. You can change the project settings to use Java 1.3 as the target for JC 2.2.1 or 1.5 for JC 2.2.2.

            Shane
            • 3. Re: Urgent!Plz help me,   Who knows below error?
              safarmer
              There are several posts explaining how to do this if you need help. You should be able to search for them.

              Shane
              • 4. Re: Urgent!Plz help me,   Who knows below error?
                921719
                dear shane,
                I have implemented as you said but it still have an error below. Thanks to review for me and let's me how to fix it.
                thanks very much
                cm>  /term "Remote|localhost:52510"
                --Opening terminal
                
                /card -a a000000003000000 -c com.ibm.jc.CardManager
                resetCard with timeout: 0 (ms) --Waiting for card... ATR=3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34    ;.....1.EJCOPv24     31 B7                                              1. IOCTL(). ATR:          T = 1                   => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00          .............. (572674 nsec) <= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65    oe...........Y.e     01 FF 9F 6E 06 47 91 01 17 33 00 73 4A 06 07 2A    ...n.G...3.sJ..*     86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B    .H..k.`...*.H..k     02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64    ....c...*.H..k.d     0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09    ...*.H..k...e...     2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01    +...Hd...f...+..     04 01 2A 02 6E 01 02 90 00                         ..*.n.... Status: No Error cm>  set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f cm>  init-update 255 => 80 50 00 00 08 6B F1 B2 30 86 A6 F2 E7 00          .P...k..0..... (1609 usec) <= 00 00 DE 81 34 18 39 B7 09 70 FF 02 00 00 3D 02    ....4.9..p....=.     9C 31 C7 89 6A 38 8B BE E2 AE 5E B8 90 00          .1..j8....^... Status: No Error cm>  ext-auth plain => 84 82 00 00 10 4C 85 CA 7F EC 60 8A 55 75 6A 93    .....L....`.Uuj.     8D 50 B9 70 C4                                     .P.p. (1507 usec) <= 90 00                                              .. Status: No Error cm>  delete -r 01020304050505 => 80 E4 00 80 09 4F 07 01 02 03 04 05 05 05 00       .....O......... (692621 nsec) <= 6A 88                                              j. Status: Reference data not found jcshell: Error code: 6a88 (Reference data not found) jcshell: Wrong response APDU: 6A88 Ignoring expected error cm>  delete -r 01020304050508 => 80 E4 00 80 09 4F 07 01 02 03 04 05 05 08 00       .....O......... (692620 nsec) <= 6A 88                                              j. Status: Reference data not found jcshell: Error code: 6a88 (Reference data not found) jcshell: Wrong response APDU: 6A88 Ignoring expected error cm>  delete -r 01020304050501 => 80 E4 00 80 09 4F 07 01 02 03 04 05 05 01 00       .....O......... (686770 nsec) <= 6A 88                                              j. Status: Reference data not found jcshell: Error code: 6a88 (Reference data not found) jcshell: Wrong response APDU: 6A88 Ignoring expected error cm>  delete -r 01020304050507 => 80 E4 00 80 09 4F 07 01 02 03 04 05 05 07 00       .....O......... (689695 nsec) <= 6A 88                                              j. Status: Reference data not found jcshell: Error code: 6a88 (Reference data not found) jcshell: Wrong response APDU: 6A88 Ignoring expected error cm>  delete -r 01020304050506 => 80 E4 00 80 09 4F 07 01 02 03 04 05 05 06 00       .....O......... (688232 nsec) <= 6A 88                                              j. Status: Reference data not found jcshell: Error code: 6a88 (Reference data not found) jcshell: Wrong response APDU: 6A88 Ignoring expected error cm>  delete -r 01020304050504 => 80 E4 00 80 09 4F 07 01 02 03 04 05 05 04 00       .....O......... (691158 nsec) <= 6A 88                                              j. Status: Reference data not found jcshell: Error code: 6a88 (Reference data not found) jcshell: Wrong response APDU: 6A88 Ignoring expected error cm>  delete -r 01020304050502 => 80 E4 00 80 09 4F 07 01 02 03 04 05 05 02 00       .....O......... (681650 nsec) <= 6A 88                                              j. Status: Reference data not found jcshell: Error code: 6a88 (Reference data not found) jcshell: Wrong response APDU: 6A88 Ignoring expected error cm>  delete -r 01020304050503 => 80 E4 00 80 09 4F 07 01 02 03 04 05 05 03 00       .....O......... (682016 nsec) <= 6A 88                                              j. Status: Reference data not found jcshell: Error code: 6a88 (Reference data not found) jcshell: Wrong response APDU: 6A88 Ignoring expected error cm>  upload -c -b 250 "D:\Project\GP Project\FPT SVN\TestApplet\Test_GP_GPRegistryEntry_2.2.1\bin\Test_GPRegistryEntry_getPrivileges\javacard\Test_GPRegistryEntry_getPrivileges.cap" => 80 E6 02 00 14 07 01 02 03 04 05 05 03 08 A0 00    ................     00 00 03 00 00 00 00 00 00 00                      .......... (1831 usec) <= 00 90 00                                           ... Status: No Error Start loading Header.cap (59 byte) => 80 E8 00 00 3B C4 82 02 A5 01 00 34 DE CA FF ED    ....;......4....     02 02 04 00 01 07 01 02 03 04 05 05 03 22 54 65    ............."Te     73 74 5F 47 50 52 65 67 69 73 74 72 79 45 6E 74    st_GPRegistryEnt     72 79 5F 67 65 74 50 72 69 76 69 6C 65 67 65 73    ry_getPrivileges     00                                                 . (1427 usec) <= 00 90 00                                           ... Status: No Error Header.cap loaded (59 byte) Start loading Directory.cap (36 byte) => 80 E8 00 01 24 02 00 21 00 34 00 21 00 0C 00 1E    ....$..!.4.!....     00 4A 00 14 01 7D 00 0A 00 26 00 00 00 AC 07 DE    .J...}...&......     00 00 00 00 00 00 03 01 00 00                      .......... (1278 usec) <= 00 90 00                                           ... Status: No Error Directory.cap loaded (36 byte) Start loading Import.cap (33 byte) => 80 E8 00 02 21 04 00 1E 03 04 01 07 A0 00 00 00    ....!...........     62 01 01 05 01 06 A0 00 00 01 51 00 00 01 07 A0    b.........Q.....     00 00 00 62 00 01 00                               ...b... (5082 usec) <= 6A 80                                              j. Status: Wrong data jcshell: Error code: 6a80 (Wrong data) jcshell: Wrong response APDU: 6A80 Unexpected error; aborting execution
                • 5. Re: Urgent!Plz help me,   Who knows below error?
                  801926
                  Failing at import.cap means your product is not supporting APIs you're referencing, e.g. JCOP version does not support the Java Card version you compiled against, or, you include NXP API which had different version than JCOP product is supporting.
                  • 6. Re: Urgent!Plz help me,   Who knows below error?
                    921719
                    Dear lexdabear,
                    You are right, JCOP is GP2.1.1 compliant only.
                    Do you know any tool like JCOP can compile test applet with GP 2.2 or GP 2.2.1?
                    Thanks!