Testing Java_card_kit  examples with JCOP tools

Hi again,
I'm moving from the Wallet example to more sophisticated examples from the java card kit, how to import those examples into JCOP tools projects?
For example, the JavaPurse applet involves more classes and packages, if I copy&paste JavaPurse and SampleLibrary packages into my JCOP project, I fall into the following errors:
- error resolving constant-pool of clazz Lcom/sun/javacard/samples/JavaPurse/JavaPurse; failed: missing export file for package com/sun/javacard/samples/SampleLibrary
- AID for package com.sun.javacard.samples.SampleLibrary is invalid or not set
Best regards, Dariush.

Thank you again, it works.
Now, what about developing a client application? Do you know if there's an OCF client example to use with?
I have also another question about the OPSystem class, that should be deprecated and substituted by GPSystem class....
In the cryptosample example
http://www.zurich.ibm.com/jcop/download/projects/cryptosample/Sample6.java
there's the following code:
if(OPSystem.getCardContentState() == OPSystem.APPLET_PERSONALIZED)
GPSystem doesn't have APPLET_PERSONALIZED constant, what should I use?
ciao, Dariush.

Similar Messages

  • Problem with JCOP tool

    Hi all,
    I wrote simple applet and I tried to test it with JCOP Tool (eclipse) but I get this error
    cm>  /term "Remote|localhost:8050"
    /card -a a000000003000000 -c com.ibm.jc.CardManagerATR: 3BFA1300008131FE454A434F5034315632323196
    ATR: T=1, FI=1/DI=3 (93clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP41V221"
    cm>  set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm>  init-update 255
    cm>  ext-auth plain
    cm>  delete 4422331234
    cm>  delete 4422331234
    jcshell: Error code: 6a88 (Reference data not found)
    jcshell: Wrong response APDU: 6A88
    Ignoring expected error
    cm>  delete 0000000001
    cm>  delete 0000000011
    cm>  upload -b 250 "D:\Development\Java\projects\JavaCard\HelloWorld\bin\org\erno\jc\hello\javacard\hello.cap"
    cm>  install -i 0000000001  -q C9#() 0000000011 0000000001
    cm>  upload -b 250 "D:\Development\Java\projects\JavaCard\test\bin\org\erno\test\javacard\test.cap"
    cm>  install -i 4422331234  -q C9#() 4422331234 4422331234
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    Unexpected error; aborting executiondoes anybody know what is wrong with it? I am new about this :-(. thanx for any help.
    regards
    p.s. I'm using simulator not real card.

    Hy,
    here is the status I get when I try to run my applet
    -  /term "Remote|localhost:50337"
    --Opening terminal
    /card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B FA 13 00 00 81 31 FE 45 4A 43 4F 50 34 31 56    ;.....1.EJCOP41V
        32 32 31 96                                        221.
    ATR: T=1, FI=1/DI=3 (93clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP41V221"
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00          ..............
    (15538 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65    o..............e
        01 FF 90 00                                        ....
    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 D7 5D 16 84 88 87 8B B0 00          .P....].......
    (4177 usec)
    <= 00 00 57 F3 97 D9 7F 72 88 55 FF 02 00 00 3D 02    ..W....r.U....=.
        9C 31 C7 89 90 D8 41 D7 23 6B DD B4 90 00          .1....A.#k....
    Status: No Error
    cm>  ext-auth plain
    => 84 82 00 00 10 45 11 3E D7 C1 3E 63 40 3A 2F EF    .....E.>..>c@:/.
        C1 E6 93 3C 0F                                     ...<.
    (3099 usec)
    <= 90 00                                              ..
    Status: No Error
    cm>  delete 0000000012
    => 80 E4 00 00 07 4F 05 00 00 00 00 12 00             .....O.......
    (1459 usec)
    <= 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 0000000012
    => 80 E4 00 00 07 4F 05 00 00 00 00 12 00             .....O.......
    (1613 usec)
    <= 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 -b 250 "D:\Development\Java\projects\JavaCard\JCErnad\bin\erno\jc\javacard\jc.cap"
    => 80 E6 02 00 12 05 00 00 00 00 12 08 A0 00 00 00    ................
        03 00 00 00 00 00 00 00                            ........
    (3475 usec)
    <= 00 90 00                                           ...
    Status: No Error
    => 80 E8 80 00 E8 C4 81 E5 01 00 17 DE CA FF ED 02    ................
        02 04 00 01 05 00 00 00 00 12 07 65 72 6E 6F 2F    ...........erno/
        6A 63 02 00 21 00 17 00 21 00 09 00 0B 00 1E 00    jc..!...!.......
        0E 00 3D 00 0A 00 0B 00 00 00 4D 01 A3 00 00 00    ..=.......M.....
        00 00 00 01 01 00 04 00 0B 01 02 01 07 A0 00 00    ................
        00 62 01 01 03 00 09 01 05 00 00 00 00 12 00 08    .b..............
        06 00 0E 00 00 00 80 03 00 FF 00 07 01 00 00 00    ................
        1C 07 00 3D 00 01 10 18 8C 00 06 7A 05 30 8F 00    ...=.......z.0..
        03 3D 8C 00 00 18 1D 04 41 18 1D 25 8B 00 01 7A    .=......A..%...z
        02 21 18 8B 00 02 60 03 7A 19 8B 00 04 2D 1A 04    .!....`.z....-..
        25 73 00 09 00 00 00 00 00 0F 11 6D 00 8D 00 05    %s.........m....
        7A 08 00 0A 00 00 00 00 00 00 00 00 00 00 05 00    z...............
        1E 00 07 06 00 00 01 03 80 03 02 03 80 03 03 01    ................
        00 02 00 03 80 0A 01 06 80 07 01 06 80 03 00 09    ................
        00 0B 00 00 00 07 05 06 04 0A 07 07 13 00          ..............
    (18434 usec)
    <= 00 90 00                                           ...
    Status: No Error
    Load report:
      232 bytes loaded in 0.0 seconds
      effective code size on card:
          + package AID       5
          + applet AIDs       12
          + classes           17
          + methods           64
          + statics           0
          + exports           0
            overall           98  bytes
    cm>  install -i 0000000012  -q C9#() 0000000012 0000000012
    => 80 E6 0C 00 18 05 00 00 00 00 12 05 00 00 00 00    ................
        12 05 00 00 00 00 12 01 00 02 C9 00 00 00          ..............
    (3280 usec)
    <= 69 85                                              i.
    Status: Conditions of use not satisfied
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    Unexpected error; aborting executionthanks
    regards
    erno

  • Getting started with JCOP Tools

    I have a working Eclipse + JCOP Tools installation, activated. I now also have a Cardman reader (drivers loaded) and some blank JCOP30 cards. I read through the Eclipse embedded JCOP help page, but couldn't find the answers to some simple questions:
    1. How can I see a list of connected readers to ensure my reader hardware is recognized? I read earlier on the forums about a "Launch Configuration page". How do I access this page?
    2. The JCOP Shell seems to be working... my cards are blank and /terminal does show "Slot empty" or "Card present" so I presume the interface is running fine. My cards are totally blank. Can I still read any useful info from them such as vendor strings, version#, etc?
    3. Do the JCOP Tools 3.1.2 come with a sample project? Since I've never used this environment, I would love to see an example of working code that can be simulated or loaded onto a physical card. It would help me "learn by example"
    If there is sample code, where can I find it? I tried to use Eclipse's import from archive but didn't find anything resembling samples within jcop tools. Any example you know of would be great.

    Here is the ATR and cplc output for my card. So far I know with certainty it's JCOP30-something and it supports T=CL.
    But I'm not even sure which Java Card and Global Platform it supports! The "JCOP version map" from the 2003 specs document says JC 2.1.1 and GP 2.0.1, but http://www-306.ibm.com/software/wireless/wecos/jcop30.html says these cards are JC 2.2.1 and GP 2.1.1. Yikes! Which do I have?
    cm>  /atr
    resetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B 86 80 01 4A 43 4F 50 33 30 12                   ;...JCOP30.
    ATR: T=0, T=1, Hist="JCOP30"
    cm>  get-cplc
    => 80 CA 9F 7F 00                                     .....
    (11274 usec)
    <= 9F 7F 2A 40 70 95 16 40 51 30 84 30 1A 61 12 00    ..*@[email protected]..
        69 00 90 95 59 40 70 61 19 00 00 00 00 06 31 13    [email protected].
        30 36 39 30 30 00 00 00 00 00 00 00 00 90 00       06900..........
    Status: No Error
      IC Fabricator                      : 4070
      IC Type                            : 9516
      Operating System ID                : 4051
      Operating System release date      : 3084 (25.3.2003)
      Operating System release level     : 301A
      IC Fabrication Date                : 6112 (22.4.2006)
      IC Serial Number                   : 00690090
      IC Batch Identifier                : 9559
      IC Module Fabricator               : 4070
      IC Module Packaging Date           : 6119 (29.4.2006)
      ICC Manufacturer                   : 0000
      IC Embedding Date                  : 0000
      IC Pre-Personalizer                : 0631
      IC Pre-Perso. Equipment Date       : 1330 (26.11.2001)
      IC Pre-Perso. Equipment ID         : 36393030
      IC Personalizer                    : 0000
      IC Personalization Date            : 0000
      IC Perso. Equipment ID             : 00000000

  • Unknown Error with JCop Tools 3.1.2

    Hello All ,
    I am using Eclipse program to create a javacard applet...
    But there is a unknown Problem appears to me ..I don't know how to solve it.
    First of All ,
    My OS is Windows 7 x64 bit
    My java version is : 1.6
    My Eclipse version is : 3.2
    My Smart Card Reader is : Omnikey ,CardMan 5321
    So First of All , i added the plugin "JCOP tools 3.1.2" to the Eclipse program , and i activated the tools successfully.
    and i created a new javacard project by using Basic Javacard template
    Now when i want to Run ,
    SO i when i set the Run options to Card Reader , and set the card reader to "OmniKey"
    like this image:
    [Image 1|http://img85.imageshack.us/img85/1158/runx.jpg]
    -By the way , i don't understand where "Philps Pegoda Reader" came from?? -
    Then when i press Run , the Eclipse program will be closed and this error appears:
    [Error Image|http://img135.imageshack.us/img135/2926/errorevs.jpg]
    I am not sure what is the problem ... so please some one help me here...
    Thank you for your time
    Edited by: ahmed30 on May 25, 2010 8:44 AM

    Hi,
    The pegoda reader is the default reader that has hard coded support (like JCOP engineering sample cards). I would say this is because NXP was founded by Phillips.
    I cannot help you with the second issue. I have only used JCOP 3.1.2 for a short time (quite a while ago now) and reverted to 3.1.1.b as 3.1.2 did not add any new features and from memory did not work properly on my WIndows XP machine (32-bit). I can confirm that 3.1.1 works on XP 64-bit under a 32-bit JVM.
    Is the issue when running against a card or the simulator or both?
    You could try running the jcop.exe executable in the plugins\com.ibm.bluez.jcop.eclipse_<version>\simuls\nJCOP\win32\x86 directory from a command prompt to see if it is an issue with Eclipse/Java or the JCOP simulator.
    Cheers,
    Shane

  • Changing cardmanager keys with jcop tools

    hi,
    how can i change or add a whole keyset (enc,kek,mac) on a jcop card with jcop shell?
    bye,
    daniel

    Tried doing it as you said now, but I still get the same problem:
    -  /term
    --Opening terminal
    /cardresetCard 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 75                                        GDTu
    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..
    (84033 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             .............
    (47027 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65    o..............e
        01 FF 90 00                                        ....
    Status: No Error
    cm>  set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm>  auth mac
    => 80 50 00 00 08 30 A5 C8 99 77 E3 78 A0 00          .P...0...w.x..
    (93751 usec)
    <= 00 00 60 27 00 25 08 90 89 68 FF 01 6A 7B D8 99    ..`'.%...h..j{..
        60 F8 8B 0D B4 9C 64 A0 80 2A 83 DB 90 00          `.....d..*....
    Status: No Error
    => 84 82 01 00 10 A2 93 12 04 A2 89 21 29 1C A2 E5    ...........!)...
        85 10 40 8A 69                                     [email protected]
    (65147 usec)
    <= 90 00                                              ..
    Status: No Error
    cm>  print-key
    255/1/DES-ECB/404142434445464748494A4B4C4D4E4F
    255/2/DES-ECB/404142434445464748494A4B4C4D4E4F
    255/3/DES-ECB/404142434445464748494A4B4C4D4E4F
    cm>  set-key 102/1/DES-ECB/ff00ab123456789aabbccddaabbff992 102/2/DES-ECB/ff00ab123456789aabbccddaabbff992 102/3/DES-ECB/ff00ab123456789aabbccddaabbff992
    cm>  print-key
    255/1/DES-ECB/404142434445464748494A4B4C4D4E4F
    255/2/DES-ECB/404142434445464748494A4B4C4D4E4F
    255/3/DES-ECB/404142434445464748494A4B4C4D4E4F
    102/1/DES-ECB/FF00AB123456789AABBCCDDAABBFF992
    102/2/DES-ECB/FF00AB123456789AABBCCDDAABBFF992
    102/3/DES-ECB/FF00AB123456789AABBCCDDAABBFF992
    cm>  put-keyset 102
    => 84 D8 00 81 4B 66 81 10 77 EE 78 84 70 F7 6C 0C    ....Kf..w.x.p.l.
        93 67 55 A4 D1 05 12 A0 03 90 4C 3E 81 10 77 EE    .gU.......L>..w.
        78 84 70 F7 6C 0C 93 67 55 A4 D1 05 12 A0 03 90    x.p.l..gU.......
        4C 3E 81 10 77 EE 78 84 70 F7 6C 0C 93 67 55 A4    L>..w.x.p.l..gU.
        D1 05 12 A0 03 90 4C 3E 2B 57 C7 F1 7C 24 5E 7D    ......L>+W..|$^}
        00                                                 .
    (170325 usec)
    <= 6A 80                                              j.
    Status: Wrong data
    Add new key set didn't work, try modify ...
    => 84 D8 66 81 4B 00 81 10 77 EE 78 84 70 F7 6C 0C    ..f.K...w.x.p.l.
        93 67 55 A4 D1 05 12 A0 03 90 4C 3E 81 10 77 EE    .gU.......L>..w.
        78 84 70 F7 6C 0C 93 67 55 A4 D1 05 12 A0 03 90    x.p.l..gU.......
        4C 3E 81 10 77 EE 78 84 70 F7 6C 0C 93 67 55 A4    L>..w.x.p.l..gU.
        D1 05 12 A0 03 90 4C 3E 9E 17 F4 CB EC 03 E7 BA    ......L>........
        00                                                 .
    (116615 usec)
    <= 6A 88                                              j.
    Status: Reference data not found
    jcshell: Error code: 6a88 (Reference data not found)
    jcshell: Wrong response APDU: 6A88
    cm>  card-info
    => 84 F2 80 00 0A 4F 00 78 63 C7 BB 7C 42 1C D4 00    .....O.xc..|B...
    (64816 usec)
    <= 08 A0 00 00 00 03 00 00 00 01 9E 90 00             .............
    Status: No Error
    => 84 F2 40 00 0A 4F 00 5C B2 9C 91 20 36 87 DA 00    [email protected].\... 6...
    (35208 usec)
    <= 6A 88                                              j.
    Status: Reference data not found
    => 84 F2 10 00 0A 4F 00 48 21 05 1E A7 C9 9B E2 00    .....O.H!.......
    (118894 usec)
    <= 07 A0 00 00 00 03 53 50 01 00 01 08 A0 00 00 00    ......SP........
        03 53 50 41 05 31 50 41 59 2E 01 00 01 0E 31 50    .SPA.1PAY.....1P
        41 59 2E 53 59 53 2E 44 44 46 30 31 06 A0 00 00    AY.SYS.DDF01....
        00 03 10 01 00 01 07 A0 00 00 00 03 10 10 06 A0    ................
        00 00 02 41 00 01 00 01 07 A0 00 00 02 41 00 00    ...A.........A..
        90 00                                              ..
    Status: No Error
    Card Manager AID   :  A000000003000000
    Card Manager state :  OP_READY
        Load File  :      LOADED (--------) A0000000035350   (Security Domain)
         Module    :                        A000000003535041
        Load File  :      LOADED (--------) "1PAY."          (PSE)
         Module    :                        "1PAY.SYS.DDF01"
        Load File  :      LOADED (--------) A00000000310     (VSDC)
         Module    :                        A0000000031010
        Load File  :      LOADED (--------) A00000024100   
         Module    :                        A0000002410000

  • JCOP tools and walllet example

    Hi,
    I'm trying to execute the well known (not for me ;-)) Wallet example with JCOP tools 3.1.1 but I have some problems.
    The first is related to install parameters: searching into other threads I was able to install the applet using 0102030405 parameter (even if it's not clear for me the meaning of this parameter, the install method accepts 3 parameters, bArray, bOffset and bLength).
    Here the install APDU trace:
    cm> install -i 77616c6c65742e617070 -q C9#(0102030405) 6578616d706c6573 77616c6c65742e617070
    => 80 E6 0C 00 2A 08 65 78 61 6D 70 6C 65 73 0A 77 ....*.examples.w
    61 6C 6C 65 74 2E 61 70 70 0A 77 61 6C 6C 65 74 allet.app.wallet
    2E 61 70 70 01 00 07 C9 05 01 02 03 04 05 00 00 .app............
    (2002 usec)
    <= 90 00 ..
    Status: No Error
    cm> card-info
    => 80 F2 80 00 02 4F 00 00 .....O..
    (471848 nsec)
    <= 08 A0 00 00 00 03 00 00 00 01 9E 90 00 .............
    Status: No Error
    => 80 F2 40 00 02 4F 00 00 [email protected]..
    (521854 nsec)
    <= 0A 77 61 6C 6C 65 74 2E 61 70 70 07 00 90 00 .wallet.app....
    Status: No Error
    => 80 F2 10 00 02 4F 00 00 .....O..
    (762666 nsec)
    <= 07 A0 00 00 00 03 53 50 01 00 01 08 A0 00 00 00 ......SP........
    03 53 50 41 08 65 78 61 6D 70 6C 65 73 01 00 01 .SPA.examples...
    0A 77 61 6C 6C 65 74 2E 61 70 70 90 00 .wallet.app..
    Status: No Error
    Card Manager AID : A000000003000000
    Card Manager state : OP_READY
    Application: SELECTABLE (--------) "wallet.app"
    Load File : LOADED (--------) A0000000035350 (Security Domain)
    Module : A000000003535041
    Load File : LOADED (--------) "examples"
    Module : "wallet.app"
    After that I'm not able to select the applet, here the APDU trace:
    cm> /select |wallet.app
    => 00 A4 04 00 0A 77 61 6C 6C 65 74 2E 61 70 70 00 .....wallet.app.
    (334400 nsec)
    <= 6E 00 n.
    Status: CLA value not supported
    jcshell: Error code: 6e00 (CLA value not supported)
    jcshell: Wrong response APDU: 6E00
    Any help would be very appreciated.
    Dariush.

    Dariush, whether this pin data or not is defined inside an applet. As for Wallet it must be pin value. But I saw several implementations of Wallet applet with different initialize parameters processing.
    Consider this code:
       private Wallet(byte[] bArray, short bOffset, byte bLength) {
          pin = new OwnerPIN(PIN_TRY_LIMIT, MAX_PIN_SIZE);
          byte iLen = bArray[bOffset]; // aid length
          bOffset = (short) (bOffset + iLen + 1);
          byte cLen = bArray[bOffset]; // info length
          bOffset = (short) (bOffset + cLen + 1);
          byte aLen = bArray[bOffset]; // applet data length
          pin.update(bArray, (short) (bOffset + 1), aLen);
          register();
       public static void install(byte[] bArray, short bOffset, byte bLength) {
          new Wallet(bArray, bOffset, bLength);
       }Think of bArray data array as installation parameters (like command-line params in main method of the Java application); some of them you defined using C9 tag in JCOP Shell. Look at the comments in Wallet constructor and you will understand what data is passed. aLen variable denotes the length of parameters you passed through C9 tag.
    You can make a breakpoint on the first line in the constructor and then inspect what bArray actually contains.
    bOffset - is the offset in bArray, bLength - length of the installation params.
    Regards, Eugene

  • JCOP Tools "This package has not been built"

    Hello,
    I'm using the Eclipse with JCOP Tools 3.1.1 and sometimes the .cap file is not built and the upload of the Applet fails when running the project
    cm> upload ".../workspace.1j.../myapp.cap"
    jcshell: Cannot read </../../myapp.cap>: java.util.zip.ZipException: error in opening zip fileThe "CAP File Properties" view in Eclipse says "This package has not been built" but I don't know how to force the build of the package. I tried to clean, manually/automatically build the project but it just won't get build :(
    Any ideas ?
    Thanks.
    Tex

    well nevermind, when this happens I just build the .cap alone:
    cd myproject/bin
    ..../java_card_kit-2_2_1/bin/converter -out CAP -applet 0x01:0x02:0x03:0x04:0x05:0x2E:0x61:0x70:0x70 com.test.MyApplet com.test 0x01:0x02:0x03:0x04:0x05 1.0 Tex

  • Debug STK applet   with  JCOP 3.0

    Hi all
    i want to debug my STK applet with JCOP tools in eclipse plugin.but somehow i am not able to debug my SIM toolkit with JCOP.
    first ques , is it possible?
    right now i m debuging in manu project---->debug
    then i m choosing java card application to debug,but its not working:(
    how can i proceed step by step for debuging?
    one more ques,
    is it possible to load applet on java card only with JCOP tools?(means without any s/w like views professional or aspects developer.)
    Regards
    Divyesh.

    Hi all.
    I'm having the same problem. I know that a html file is created everytime the applet is invoked (clicking on debug or run) with a diferent name to be called as argument of appletviewer.
    But I will join to the question... How can we use our testpage to do a test of a devel applet?
    Because mine has to be used with javascript and it's very difficult to test it without a custom test page or appletviewer...
    Thank you all

  • I just downlouded the latest version of the Muse CC and it doesn't work well, it freezes all the time, in particular with the tools. Example the selection tool doesen't wor at all.

    I just downlouded the latest version of the Muse CC and it doesn't work well, it freezes all the time, in particular with the tools. Example the selection tool doesn't wor at all. Is there any solution for this problem?

    Hi!
    I restarted the computer, but the same issue happens again. When I move my mouse over some object or tool, it doesn’t come active at all (only some of the tools works) When I try to change “site properties”, I can’t choose tablet or phone mode or even I can’t select the checkboxes, only thing what I can do is change the numbers (high and width) . After all the main problem is that I can’t select some of the items or functions by mouse, but only by the keyboard.

  • FM to read files starting with TEST(for example) from Unix server

    Hi all,
    Is there a FM to read all the files which start with TEST (for example) from the Unix server?
    Requirement is if we put TEST* in the selection screen for the filename, it should read all the files which start with TEST from the default Unix path.
    Thanks and regards,
    Anishur

    Function Modules
    http://www.erpgenie.com/abap/functions.htm
    http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
    http://www.erpgenie.com/abap/index.htm
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    Rewards if useful.........
    Minal

  • Read files starting with TEST* (for example)

    Hi all,
    Is it possible to read all the files starting with TEST for example from the Unix folder.
    Requirement is there will be files starting with TEST present in the default path x.
    I need to read all the files starting with TEST from this path. So, basically in the selection screen, can I put the default filename as TEST*.
    All these files will have POs(Purchase Orders) which the program needs to update accordingly.
    Please assist.
    Thanks and regards,
    Anishur

    Hi,
    I had to do the same. Selecting all values from table comparing konzs that start with number 500* .
    check the code:
       lv_var = '500'.
       CONCATENATE lv_var '%' INTO h_concern.
       SELECT * INTO TABLE t_lfa1
               FROM        lfa1
               WHERE     konzs LIKE h_concern.
    Adibo.

  • JCOP tools on 64-bit platform

    Hello.
    Is there any way to find jct.dll, jcpcsc.dll (those are in the jcop plug-in os/ directory) analogues for 64-bit platform?
    As i know, jcop tools provides only dll's and so libraries for 32-bit platforms to communicate with the card? Are there any 64-bit compatible?
    I want to use Offcard API from JCOP tools on 64-bit platform (it uses mentioned above dlls or shared objects on Linux).
    Best regards,
    eveline-z

    eveline-z wrote:
    Thanks for your reply.
    So, Eclipse IDE with JCOP plug-in work fine on 64-bit platform without any emulation?Yes
    I mean, you had no problems with connecting to a real card through the JCShell or even using JCOP Offcard API (because those are using native dll's for 32-bit platform which reside in com.ibm.bluez.jcop.eclipse_3.1.2\os\win32\x86\ directory)?I tested only on the simulator
    The "com.ibm.bluez.jcop.eclipse_3.1.2\os\win32\x86\" directory is in the folder plugins in your eclipse path.
    example : c:\eclipse\plugins\com.ibm.bluez.jcop.eclipse_3.1.2\os\win32\x86\
    >
    >
    Thanks.
    Best regards,
    eveline-zMaDmEd

  • JCOP tools without GUI

    Hello,
    i would like to know, what scripts is JCOP tools exactly running while building Java files (generating class files) and converting them to CAP files. I.e. what does "Build autoimatically" exactly do in ECLIPSE IDE with JCOP plug-in? What .jar files are also used?
    I.e. i want to be able to rebuild my Java Card projects for different version os java cards without opening the Eclipse IDE, openning projects and building them in IDE.
    I would appreciate nay information.
    Thanks a lot,
    best regards,
    newbie.

    Hello.
    Thanks a lot lexdabear for your reply.
    The post you've noticed above was very useful for me. I have solved the problem with tric.jar and also would like to add my 50 cents regarding some solutions proposed by Lillesand.
    The error listed below can be simply avoided by explicitly declaring the whole name of the applet, i.e. -a 0xF3:0xF3:0xF3:0xF3:0xF3:0xA1:0xA1:0xA1:0xA1:0xA1 no.qfree.keyexport.KeyDiversification.
    E:\tools\captest2>java -cp e:\eclipse\plugins\com.ibm.bluez.jcop.eclipse_3.1.2\tric.jar com.ibm.jc.apps.tric.jc.Converter
    -dd e:\tools\captest2\
    -cp e:\workspace\KeyExport\bin\;e:\tools\java_card_kit-2_2_2\lib\api.jar
    -ep E:\tools\java_card_kit-2_2_2\api_export_files
    -a 0xF3:0xF3:0xF3:0xF3:0xF3:0xA1:0xA1:0xA1:0xA1:0xA1 KeyDiversification 0xF3:0xF3:0xF3:0xF3:0xF3:0xA2:0xA2:0xA2:0xA2:0xA2 StringStorage
    no.qfree.keyexport 0xF3:0xF3:0xF3:0xF3:0xF3 1 0
    Error: class java.lang.RuntimeException, no such applet class LKeyDiversification; found in package no/qfree/keyexportAlso my there are some facts that i have figured out during the usage of tric.jar through command line:
    1. Eclipse IDE produces slightly different .class files than i do by using
    javac -source 1.3 -target 1.2 -g options during the compilation. May be it uses additional options?
    2. Perhaps, as a result, a bit different CAP files are produced that the ones built automatically using Eclipse IDE GUI. Those CAP files also slightly differ in size (usually smaller tha mines). The only components that differ in size are:
    Method.cap
    Debug.cap.
    The files produced through command line work just fine. I guess, that JCOP tools may additionally optimize the .class files to produce a bit smaller .CAP files.
    3. Regarding the version information JCOP tools tric.jar produces
    CAP files with version M=2, m=1 when using JC211 API, and
    CAP files with version M=2, M=2 when using JC221.
    I also converted the same files uding JCDKv2.2.1. It produces CAP files of version M=2, M=1.
    In my opinion, all the problems that occured in the aforementioned post by Lillesand were caused by wrong usage of the JC2.2.2 export files.
    I totally agree with you, lexdabear regarding choosing only one solution. In case you are using JCOP tools (through GUI or command line) you must use JCOP JC API .jar files and tric.jar converter.
    If you are using JCDK, you must use its api.jar library with export files and converter from JCDK (coverter.bat).
    I hope this info might be useful.
    Best regards,
    Eve
    Edited by: Ieva on Nov 5, 2007 4:11 AM

  • JCOP tools activation!

    Since JCOP tools was moved to NXP by IBM, I can't get activation code from NXP. It is said that JCOP sample card can be used to activate JCOP tools.
    Can all of JCOP family cards(10,20,30 or else) be useful for JCOP activation?
    How is the activation process ?
    Where can I buy JCOP sample card?
    By the way,I have a contacless card reader from Gemplus and Gemcombi XR4 card.
    Thanks!

    Bobby_SH wrote:
    Since JCOP tools was moved to NXP by IBM, I can't get activation code from NXP. It is said that JCOP sample card can be used to activate JCOP tools. Yes.
    Can all of JCOP family cards(10,20,30 or else) be useful for JCOP activation? Check out the nice post from sonnyyu at http://forum.java.sun.com/thread.jspa?threadID=5180928 .
    How is the activation process ? As soon as you want to create a Java Card project you have the choice to unlock the tools with a JCOP engineering sample.
    Where can I buy JCOP sample card?
    http://www.usasmartcard.com/ for example
    By the way,I have a contacless card reader from Gemplus and Gemcombi XR4 card. Should work as long they are PCSC compliant.
    >
    Thanks!

  • JCOP Tools don't detect Omnikey Cardman 3121 reader in activation

    Hello,
    I am trying to activate the JCOP Tools in my MacOS X, but my reader isn't detected by Eclipse / JCOP Tools.
    I have installed pcsc lite 1.4.4, and used pcsctest to check if the reader is working, and it seems to be ok:
    xxx:~ tuxed$ pcsctest
    MUSCLE PC/SC Lite Test Program
    Testing SCardEstablishContext    : Command successful.
    Testing SCardGetStatusChange
    Please insert a working reader   : Command successful.
    Testing SCardListReaders         : Command successful.
    Reader 01: OMNIKEY CardMan 3x21 0 0
    Enter the reader number          : 01
    Waiting for card insertion        
                                     : Command successful.
    Testing SCardConnect             : Command successful.
    Testing SCardStatus              : Command successful.
    Current Reader Name              : OMNIKEY CardMan 3x21 0 0
    Current Reader State             : 34
    Current Reader Protocol          : 0
    Current Reader ATR Size          : b
    Current Reader ATR Value         : 3B 67 00 00 29 20 00 6F 78 90 00
    Testing SCardDisconnect          : Command successful.
    Testing SCardReleaseContext      : Command successful.
    PC/SC Test Completed Successfully !Can anyone give me any clue to solve the problem?
    Thanks in advance :)

    I don't know about MacOS, but you can check the info about Linux:
    http://forum.java.sun.com/thread.jspa?forumID=23&threadID=5221167
    PC/SC Support (Linux)
    JCOP Tools only works with pcsc-lite 1.2.0.

Maybe you are looking for

  • JSP error page does not displayed on its own, includes in the original JSP

    Problem Description: - Exceptions in a Condition cause pages to fail to render. The actual issue is, the JSP error page does not displayed on its own, included in the original JSP Page when exception occurs. Problem Cause: As per the JSP specificatio

  • Can't go back to 10.6.3 from 10.6.7

    So we have 7 MacBook Pro's at my office who are all at 10.6.7.  I was trying to create a bootable system disk on our mac mini server so I can do all installs from it.  But when I put the DVD that came with the MacBook Pro to try to re-image it for a

  • Nothing appears on my desktop

    Here's an oddity that I can't figure out: I have a new MBA 11" running 10.8.4. After a day of playing with it, I used Migration Assistant to copy data via a Time Machine Backup (which was the only method I could use, given the limited ports on the MB

  • Plsql procedure containing select statement to fill page items

    I would like to fill items :P200_A and :P200_B and so on with the result of a SELECT which depends on the different values of many select lists. E.G. :P200_list_alpha with the list of values STATIC:less than 10;less,equal than 10;equal,above 10;above

  • Problem getting to the new purchased page.

    Itunes won't let me go to the new purchased page in the itunes store. It tells me I need to update to the latest version of safari. I have the latest version of safari and it still says that. What should I do?