Problem during generating cap file

hello u all
when i am tried to generate a cap file using class file
by Converter exception is thown name as
java.util.Zip.ZipException
------------please help me solve it.

yes when i execute this command
C:\java_card_kit-2_2\samples>scriptgen -o adout C:\java_card_kit-2_2\sam
sses\com\sun\javacard\samples\HelloWorld\javacard
the following response is return:::::
Java Card 2.2 APDU Script File Builder (version 0.11)
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Cap constructor exception: java.util.zip.ZipException: Access is denied

Similar Messages

  • Problems reading generated pdf-files

    Hi all,
    I have problems reading generated pdf-files from
    Report Builder 6.0.8.11.3
    An error-message occurs when opening the pdf with
    Adobe Acrobat 5.0.1:
    ... problem 110 and after moving in an empty pdf-document
    the messages:
    - too few operands
    - an unrecognized token
    I think the solution must be very simple, but the docu and
    other info resources provide nothing aboutthis issue.
    Greetings,
    Bernhard

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by the oracle reports team:
    hello,
    there are no known problems with reading reports PDFs with later Acrobat Readers. maybe your file is somehow corrupt.
    regards,
    the oracle reports team<HR></BLOCKQUOTE>
    I had to install a local printer, the network printer is not appropriate here. After that, everything is fine :-)),
    Greetings,
    Bernhard
    null

  • Problem during loadgae of file

    Hello,
    I am trying to modify Loader.java sample to load simple HelloWorld applet to the
    JCOP simulator.
    During the execution the problem with call to the installForInstallAbdMakeSelectable aperas. The error code returned by he simulator is just 6a80 (Wrong data). I cant't find out what is the problem... Maybe anyone could help me?
    So here is the code of my program, that shoul load and install applet, also make it selectable:
    public class Loader
        private Loader(){}
        private void load(String capFileName) throws Exception
              CapFile capFile = new CapFile(capFileName, null);
              System.out.println("Package name: " + capFile.pkg);
              byte[][] applets = capFile.aids;
              if ((applets == null) || (applets.length == 0))
                  throw new RuntimeException("no applets in cap file");
              // Get connection to terminal, we look for the simulation.
              // As you might want to use "pcsc", "4" or "tcl", "10" in case of
              // Windows or "PCSC", null in case of Linux, you should pass the name
              // of the terminal on the command line or in a properties file
              System.out.println("Open terminal ...");
              JCTerminal term = JCTerminal.getInstance("Remote", null);
              term.open();
              // Create a logging terminal spitting out the APDUs on standard out
              TraceJCTerminal _term = new TraceJCTerminal();
              _term.setLog(new PrintWriter(System.out));
              _term.init(term);
              term = _term;
              // Get JavaCard representative, passing NULL resets card and returns ATR
              System.out.println("Get card ...");
              JCard card = new JCard(term, null, 2000);
              // Get the off-card representative for the card manager and use it to
              // select the on-card CardManager
              System.out.println("Select card manager ...");
              CardManager cardManager = new CardManager(card, CardManager.daid);
              cardManager.select();
              // For downloading something, we have to be authenticated to card manager.
              // For this, the keys must be set. The keys to use should of course
              // be configurable as well.
              byte[] dfltKey = c2b("404142434445464748494a4b4c4d4e4f");
              cardManager.setKey(new OPKey(255, 1, OPKey.DES_ECB, dfltKey));
              cardManager.setKey(new OPKey(255, 2, OPKey.DES_ECB, dfltKey));
              cardManager.setKey(new OPKey(255, 3, OPKey.DES_ECB, dfltKey));
              //cardManager.setKey(new OPKey(1, 1, OPKey.DES_ECB, c2b("707172737475767778797a7b7c7d7e7f")));
              //cardManager.setKey(new OPKey(1, 2, OPKey.DES_ECB, c2b("606162636465666768696a6b6c6d6e6f")));
              cardManager.setKey(new OPKey(1, 3, OPKey.DES_ECB, c2b("505152535455565758595a5b5c5d5e5f")));
              System.out.println("Authenticate to card manager ...");
              cardManager.initializeUpdate(255, 0, OPApplet.SCP_UNDEFINED);
              cardManager.externalAuthenticate(OPApplet.APDU_CLR);
              System.out.println("deleting applets");
              cardManager.deleteObject(capFile.pkgId, 0, capFile.pkgId.length, true);
              System.out.println("applets deleted");
              // And load the cap-file, do not forget to call installForLoad
              System.out.println("Loading cap-file ..."+capFile.pkg);
              cardManager.installForLoad(capFile.pkgId, 0, capFile.pkgId.length, null, 0, 0, null, 0, null, 0, 0, null, 0);
              cardManager.load(capFile, null, SecurityDomain.LOAD_ALL, new PrintWriter(System.out), 250);
              System.out.println("Finished loading !");
              // Install applet, we try to install the first applet given in the
              // cap file, and try to instantiate it under the same AID as given for its
              // representation in the cap file. No installation data is passed.
              System.out.println("Installing applet ...");
              cardManager.installForInstallAndMakeSelectable     //HERE EXCEPTION APPEARS
                        capFile.pkgId,
                        0,
                        capFile.pkgId.length,
                        applets[0],
                        0,
                        applets[0].length, /* applet */
                        applets[0],
                        0,
                        applets[0].length, /* instance aid */
                        OPApplet.NO_PRIVS,  /* no special priviledges */
                        null,
                        0,
                        0,   /* install data */
                        null,
                        0
              System.out.println("Install succeeded!");
              // synchronize state with on-card card manager
              cardManager.update();
              // Print information regarding card manager, applets and packages on-card
              JCInfo info = JCInfo.INFO;
              System.out.println("\nCardManager AID   :  " + info.dataToString(cardManager.getAID()));
              System.out.println("CardManager state :  " + info.toString("card.status", (byte) cardManager.getState()) + "\n");There is the reaply of the smulator:
    Open terminal ...
    Get card ...
    --Waiting for card...
    Select card manager ...
    ATR=3B FA 13 00 00 81 31 FE 45 4A 43 4F 50 34 31 56    ;.....1.EJCOP41V
        32 32 31 96                                        221.
    => 00 A4 04 00 07 A0 00 00 00 03 00 00 00             .............
    (0 msec)
    <= 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
    Authenticate to card manager ...
    => 80 50 00 00 08 A9 2D 23 0F 2E CD 55 7A 00          .P....-#...Uz.
    (0 msec)
    <= 00 00 57 F3 97 D9 7F 72 88 55 FF 02 00 20 BA 9A    ..W....r.U... ..
        16 94 77 B9 81 CE 96 61 84 55 71 73 90 00          ..w....a.Uqs..
    Status: No Error
    => 84 82 00 00 10 18 F1 1A 0C 97 BD D1 66 8B 43 41    ............f.CA
        46 39 44 85 9C                                     F9D..
    (0 msec)
    <= 90 00                                              ..
    Status: No Error
    deleting applets
    => 80 E4 00 80 0C 4F 0A 48 65 6C 6C 6F 57 6F 72 6C    .....O.HelloWorl
        64 00                                              d.
    (0 msec)
    <= 00 90 00                                           ...
    Status: No Error
    applets deleted
    Loading cap-file ...com.sun.javacard.samples.HelloWorld
    => 80 E6 02 00 0F 0A 48 65 6C 6C 6F 57 6F 72 6C 64    ......HelloWorld
        00 00 00 00 00                                     .....
    (0 msec)
    <= 00 90 00                                           ...
    Status: No Error
    => 80 E8 00 00 FA C4 82 01 57 01 00 38 DE CA FF ED    ........W..8....
        02 02 04 00 01 0A 48 65 6C 6C 6F 57 6F 72 6C 64    ......HelloWorld
        23 63 6F 6D 2F 73 75 6E 2F 6A 61 76 61 63 61 72    #com/sun/javacar
        64 2F 73 61 6D 70 6C 65 73 2F 48 65 6C 6C 6F 57    d/samples/HelloW
        6F 72 6C 64 02 00 21 00 38 00 21 00 12 00 0B 00    orld..!.8.!.....
        36 00 0E 00 65 00 0A 00 13 00 00 00 6E 02 9A 00    6...e.......n...
        00 00 00 00 00 01 01 00 04 00 0B 01 02 01 07 A0    ................
        00 00 00 62 01 01 03 00 12 01 0E 48 65 6C 6C 6F    ...b.......Hello
        57 6F 72 6C 64 41 70 70 6C 00 14 06 00 0E 00 00    WorldAppl.......
        00 80 03 01 00 01 07 01 00 00 00 1D 07 00 65 00    ..............e.
        02 10 18 8C 00 07 18 11 01 00 90 0B 87 00 18 8B    ................
        00 05 7A 01 30 8F 00 03 8C 00 0A 7A 05 23 19 8B    ..z.0......z.#..
        00 08 2D 19 8B 00 02 32 03 29 04 70 19 1A 08 AD    ..-....2.).p....
        00 16 04 1F 8D 00 01 3B 16 04 1F 41 29 04 19 08    .......;...A)...
        8B 00 09 32 1F 64 E8 19 8B 00 06 3B 19 16 04 08    ...2.d.....;....
        41 8B 00 04 19 03 08 8B 00 0B 19 AD 00 03 16 00    A...............
    (0 msec)
    <= 00 90 00                                           ...
    Status: No Error
    => 80 E8 80 01 61 04 8B 00 0C 7A 08 00 0A 00 00 00    ....a....z......
        00 00 00 00 00 00 00 05 00 36 00 0D 02 00 02 00    .........6......
        06 80 10 02 03 80 0A 06 01 00 02 00 03 80 0A 09    ................
        03 80 03 01 03 80 0A 07 06 80 03 00 03 80 0A 01    ................
        03 80 0A 03 06 00 00 01 03 80 0A 04 03 80 0A 05    ................
        09 00 13 00 03 0E 23 2C 00 0C 05 0C 06 03 07 05    ......#,........
        10 0C 08 09 06 09 00                               .......
    (16 msec)
    <= 00 90 00                                           ...
    Status: No Error
    Finished loading !
    Installing applet ...
    => 80 E6 0C 00 2D 0A 48 65 6C 6C 6F 57 6F 72 6C 64    ....-.HelloWorld
        0E 48 65 6C 6C 6F 57 6F 72 6C 64 41 70 70 6C 0E    .HelloWorldAppl.
        48 65 6C 6C 6F 57 6F 72 6C 64 41 70 70 6C 01 00    HelloWorldAppl..
        00 00 00                                           ...
    (0 msec)
    <= 6A 80                                              j.
    Status: Wrong data
    EX: msg null, class class com.ibm.jc.JCException
    com.ibm.jc.JCException:
      Error: 6a80
      APDU:  6A80
            at com.ibm.jc.JCUtil.check9000(Unknown Source)
            at com.ibm.jc.SecurityDomain.handleInstall(Unknown Source)
            at com.ibm.jc.SecurityDomain.installForInstallAndMakeSelectable(Unknown
    Source)
            at loader.Loader.load(Loader.java:93)
            at loader.Loader.main(Loader.java:187)Please, help me, I don't get it, ehat could be wrong in this sample?

    Yes, I did.
    Below are the results of HelloWorldAppl loading to Java Card in JCOP Shell simulations process.
    -  /term "Remote|localhost:1175"
    --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          ..............
    (0 msec)
    <= 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 E6 F0 56 27 06 B6 C6 42 00          .P.....V'...B.
    (0 msec)
    <= 00 00 57 F3 97 D9 7F 72 88 55 FF 02 00 00 3D 02    ..W....r.U....=.
        9C 31 C7 89 6E 2E 4E BD 56 FB A4 9A 90 00          .1..n.N.V.....
    Status: No Error
    cm>  ext-auth plain
    => 84 82 00 00 10 6B FC E2 0E 7D 91 7F 9E DD 09 6A    .....k...}.....j
        90 D0 2C D6 E9                                     ..,..
    (16 msec)
    <= 90 00                                              ..
    Status: No Error
    cm>  delete 48656c6c6f576f726c644170706c
    => 80 E4 00 00 10 4F 0E 48 65 6C 6C 6F 57 6F 72 6C    .....O.HelloWorl
        64 41 70 70 6C 00                                  dAppl.
    (0 msec)
    <= 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 48656c6c6f576f726c64
    => 80 E4 00 00 0C 4F 0A 48 65 6C 6C 6F 57 6F 72 6C    .....O.HelloWorl
        64 00                                              d.
    (0 msec)
    <= 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 "C:\Documents and Settings\Ieva\workspace\HelloWorld\bin\com\sun\javacard\samples\HelloWorld\javacard\HelloWorld.cap"
    => 80 E6 02 00 17 0A 48 65 6C 6C 6F 57 6F 72 6C 64    ......HelloWorld
        08 A0 00 00 00 03 00 00 00 00 00 00 00             .............
    (31 msec)
    <= 00 90 00                                           ...
    Status: No Error
    => 80 E8 00 00 FA C4 82 01 57 01 00 38 DE CA FF ED    ........W..8....
        02 02 04 00 01 0A 48 65 6C 6C 6F 57 6F 72 6C 64    ......HelloWorld
        23 63 6F 6D 2F 73 75 6E 2F 6A 61 76 61 63 61 72    #com/sun/javacar
        64 2F 73 61 6D 70 6C 65 73 2F 48 65 6C 6C 6F 57    d/samples/HelloW
        6F 72 6C 64 02 00 21 00 38 00 21 00 12 00 0B 00    orld..!.8.!.....
        36 00 0E 00 65 00 0A 00 13 00 00 00 6E 02 9A 00    6...e.......n...
        00 00 00 00 00 01 01 00 04 00 0B 01 02 01 07 A0    ................
        00 00 00 62 01 01 03 00 12 01 0E 48 65 6C 6C 6F    ...b.......Hello
        57 6F 72 6C 64 41 70 70 6C 00 14 06 00 0E 00 00    WorldAppl.......
        00 80 03 01 00 01 07 01 00 00 00 1D 07 00 65 00    ..............e.
        02 10 18 8C 00 07 18 11 01 00 90 0B 87 00 18 8B    ................
        00 05 7A 01 30 8F 00 03 8C 00 0A 7A 05 23 19 8B    ..z.0......z.#..
        00 08 2D 19 8B 00 02 32 03 29 04 70 19 1A 08 AD    ..-....2.).p....
        00 16 04 1F 8D 00 01 3B 16 04 1F 41 29 04 19 08    .......;...A)...
        8B 00 09 32 1F 64 E8 19 8B 00 06 3B 19 16 04 08    ...2.d.....;....
        41 8B 00 04 19 03 08 8B 00 0B 19 AD 00 03 16 00    A...............
    (16 msec)
    <= 00 90 00                                           ...
    Status: No Error
    => 80 E8 80 01 61 04 8B 00 0C 7A 08 00 0A 00 00 00    ....a....z......
        00 00 00 00 00 00 00 05 00 36 00 0D 02 00 02 00    .........6......
        06 80 10 02 03 80 0A 06 01 00 02 00 03 80 0A 09    ................
        03 80 03 01 03 80 0A 07 06 80 03 00 03 80 0A 01    ................
        03 80 0A 03 06 00 00 01 03 80 0A 04 03 80 0A 05    ................
        09 00 13 00 03 0E 23 2C 00 0C 05 0C 06 03 07 05    ......#,........
        10 0C 08 09 06 09 00                               .......
    (16 msec)
    <= 00 90 00                                           ...
    Status: No Error
    Load report:
      347 bytes loaded in 0.1 seconds
      effective code size on card:
          + package AID       10
          + applet AIDs       21
          + classes           17
          + methods           104
          + statics           0
          + exports           0
            overall           152  bytes
    cm>  install -i 48656c6c6f576f726c644170706c  -q C9#() 48656c6c6f576f726c64 48656c6c6f576f726c644170706c
    => 80 E6 0C 00 2F 0A 48 65 6C 6C 6F 57 6F 72 6C 64    ..../.HelloWorld
        0E 48 65 6C 6C 6F 57 6F 72 6C 64 41 70 70 6C 0E    .HelloWorldAppl.
        48 65 6C 6C 6F 57 6F 72 6C 64 41 70 70 6C 01 00    HelloWorldAppl..
        02 C9 00 00 00                                     .....
    (0 msec)
    <= 90 00                                              ..
    Status: No Error
    cm>  card-info
    => 80 F2 80 00 02 4F 00 00                            .....O..
    (0 msec)
    <= 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]..
    (0 msec)
    <= 0E 48 65 6C 6C 6F 57 6F 72 6C 64 41 70 70 6C 07    .HelloWorldAppl.
        00 90 00                                           ...
    Status: No Error
    => 80 F2 10 00 02 4F 00 00                            .....O..
    (0 msec)
    <= 07 A0 00 00 00 03 53 50 01 00 01 08 A0 00 00 00    ......SP........
        03 53 50 41 0A 48 65 6C 6C 6F 57 6F 72 6C 64 01    .SPA.HelloWorld.
        00 01 0E 48 65 6C 6C 6F 57 6F 72 6C 64 41 70 70    ...HelloWorldApp
        6C 90 00                                           l..
    Status: No Error
    Card Manager AID   :  A000000003000000
    Card Manager state :  OP_READY
        Application:  SELECTABLE (--------) "HelloWorldAppl"
        Load File  :      LOADED (--------) A0000000035350   (Security Domain)
         Module    :                        A000000003535041
        Load File  :      LOADED (--------) "HelloWorld"   
         Module    :                        "HelloWorldAppl"
    cm>  /select |HelloWorldAppl
    => 00 A4 04 00 0E 48 65 6C 6C 6F 57 6F 72 6C 64 41    .....HelloWorldA
        70 70 6C 00                                        ppl.
    (0 msec)
    <= 00 A4 04 00 0E 48 65 6C 6C 6F 57 6F 72 6C 64 41    .....HelloWorldA
        70 70 6C 90 00                                     ppl..
    Status: No ErrorEverything works fine. That's why, I don't get it, where mistake is made.
    The only logical consumption is, that there are maybe some mistakes in my OffCard API Java code?!
    May be anyone has well-working Java OffCard sample, that loads and installs applet (also makes it selectable)?
    Best regards,
    Eve

  • ERROR while generating CAP file

    Hello,
    Iam trying to generate a cap file of JCRMI applet. Iam getting the following errors while generating a CAP file. Can anybody help me.
    Thanks in advance,
    With Regards,
    Abhishek Goud
    {color:#ff0000}{color:#008080}*C:\Documents and Settings\Administrator\Desktop\Demo>converter -classdir C:\jav*
    a_card_kit-2_2_2\lib -exportpath C:\java_card_kit-2_2_2\api_export_files;C:\java
    cardkit-2_2_2\lib -applet 0xa0:0x00:0x00:0x00:0x62:0x03:0x01:0x08:0x01 PurseAp*
    plet com.sun.javacard.samples.RMIDemo 0xa0:0x00:0x00:0x00:0x62:0x12:0x34 1.3
    {color}
    Java Card 2.2.2 Class File Converter, Version 1.3
    Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    warning: You did not supply export file for the previous minor version of the pa
    ckage
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported type long of
    field serialVersionUID.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnull in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
    in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okestatic in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
    amples.RMIDemo.PurseImpl_Stub.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ane
    warray in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode aas
    tore in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okevirtual in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method getMethod(java.lang.String, java.lang.Class) of clas
    s java.lang.Class.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnul
    l in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
    in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okestatic in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
    amples.RMIDemo.PurseImpl_Stub.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ane
    warray in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode aas
    tore in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okevirtual in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method getMethod(java.lang.String, java.lang.Class) of clas
    s java.lang.Class.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnul
    l in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
    in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okestatic in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
    amples.RMIDemo.PurseImpl_Stub.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ane
    warray in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okevirtual in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method getMethod(java.lang.String, java.lang.Class) of clas
    s java.lang.Class.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnul
    l in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
    in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okestatic in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
    amples.RMIDemo.PurseImpl_Stub.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ane
    warray in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okevirtual in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method getMethod(java.lang.String, java.lang.Class) of clas
    s java.lang.Class.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnul
    l in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
    in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okestatic in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
    amples.RMIDemo.PurseImpl_Stub.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ane
    warray in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode ifnul
    l in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
    in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okestatic in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method class$(java.lang.String) of class com.sun.javacard.s
    amples.RMIDemo.PurseImpl_Stub.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode aas
    tore in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okevirtual in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method getMethod(java.lang.String, java.lang.Class) of clas
    s java.lang.Class.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode goto
    in clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unhandled bytecode pop i
    n clinit method, try a different compiler.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode new
    in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode inv
    okespecial in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method <init>(java.lang.String) of class java.lang.NoSuchMe
    thodError.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported bytecode ath
    row in clinit method.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of method class$.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method forName(java.lang.String) of class java.lang.Class.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported return type
    String of invoked method getMessage() of class java.lang.Throwable.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method <init>(java.lang.String) of class java.lang.NoClassD
    efFoundError.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported long type co
    nstant.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe long of invoked method invoke(java.rmi.Remote, java.lang.reflect.Method, java
    *.lang.Object, long) of class java.rmi.server.RemoteRef.*
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported String type
    constant.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method <init>(java.lang.String, java.lang.Exception) of cla
    ss java.rmi.UnexpectedException.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported long type co
    nstant.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe long of invoked method invoke(java.rmi.Remote, java.lang.reflect.Method, java
    *.lang.Object, long) of class java.rmi.server.RemoteRef.*
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported String type
    constant.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method <init>(java.lang.String, java.lang.Exception) of cla
    ss java.rmi.UnexpectedException.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported long type co
    nstant.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe long of invoked method invoke(java.rmi.Remote, java.lang.reflect.Method, java
    *.lang.Object, long) of class java.rmi.server.RemoteRef.*
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported String type
    constant.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method <init>(java.lang.String, java.lang.Exception) of cla
    ss java.rmi.UnexpectedException.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported long type co
    nstant.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe long of invoked method invoke(java.rmi.Remote, java.lang.reflect.Method, java
    *.lang.Object, long) of class java.rmi.server.RemoteRef.*
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported String type
    constant.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method <init>(java.lang.String, java.lang.Exception) of cla
    ss java.rmi.UnexpectedException.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported long type co
    nstant.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe long of invoked method invoke(java.rmi.Remote, java.lang.reflect.Method, java
    *.lang.Object, long) of class java.rmi.server.RemoteRef.*
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported String type
    constant.
    error: com.sun.javacard.samples.RMIDemo.PurseImpl_Stub: unsupported parameter ty
    pe String of invoked method <init>(java.lang.String, java.lang.Exception) of cla
    ss java.rmi.UnexpectedException.
    {color}
    conversion completed with 73 errors and 1 warnings.

    It seems there is a variable of type "long" in your applet. The "long" type is not supported by Java Card, so you should remove all variables with type "long".
    Otherwise, without the source code, it is difficult to help you find out what's wrong.

  • Performance problems to generate PDF files using CR

    Hi,
    I develop an application that read TXT files and uses this information to generate PDF files, but I'm having problems with performance to generate this PDF, each files are taking at least 1 minute to create the file. I realized that some TMP and RPT files are generated and deleted in the temp folder of the machine which is running the application, but after some time creating the PDF's the RPT files aren't deleted and I have an exception on my app:
    Memory full.
    Failed to export the report.
    Not enough memory for operation.    at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
    The server who is running this application is a Dual Core AMD Opteron 2.61 ghz, 7 GB RAM
    The framework version is 2.0 and the Crystal Reports dll version is 10.5.3700.0
    Thanks.

    Hi,
    If you are using IIS5 the give aspnet full permission to the Temp folders. For IIS6 give  IIS_wpg permission.
    For this you need to right click on the folder,
    go to properties,
    security tab,
    click on Add,
    Type aspnet/iis_wpg,
    select top note in Location and click on check on check names.
    Give full control and
    click ok.
    Also try using GC.Collect(), reportDocObject.Close() and reportDocObject.Dispose() as clean up code.
    Regards,
    AG.

  • Problem Displaying generated Markup File (CLOB column)

    Dear Colleague,
    I am attempting to display the results of a generated Markup File in a Forms Text Item. The code (Below) is in a WHEN-BUTTON-PRESSED trigger.
    Step 1: generates the markup file and stores it in the MARKUP_DOCUMENTS table.
    Step 2: Copies the clob column DOCUMENT to the clob variable MYCLOB
    --> At Step 2, my form crashes !!!
    Is Oracle Forms not able to process CLOBs? The form was compiled as if there was no problem.
    How can I access the results of the generated Markup File in the MARKUP_DOCUMENTS table and present it to the Oracle Forms user?
    Best regards,
    Randy
    declare
    myclob clob := empty_clob();
    read_amount number(4):= 500;
    read_offset number(4):= 1;
    buffer varchar2(500) ;
    begin
    -- Step 1:
    ctx_doc.markup(index_name => 'documents_index',
    textkey => to_char(:hitlist_block.id),
    text_query => :search_block.search_clause,
    restab => 'markup_documents',
    query_id => '1',
    plaintext => TRUE);
    -- Step 2:
    SELECT document
    INTO myclob
    FROM markup_documents
    WHERE query_id = 1;
    -- Step 3:
    dbms_lob.read(myclob, read_amount, read_offset, buffer);
    -- Step 4:
    :markup_block.markup_text := buffer;
    go_block ('markup_block');
    exception
    when others then
    message ('Document could not be displayed: '||dbms_error_text);
    end;

    Hello,
    This is what i use to display an HTML Forms Text Item:
    Declare
       lc$Texte  Varchar2(2000) ;
       lf$fic client_text_io.file_type ;
    Begin
       lf$fic := client_text_io.fopen('c:\test.htm', 'w');
       client_text_io.put_line( lf$fic, '<html>' ) ;
       client_text_io.put_line( lf$fic, '<script language="JavaScript">' ) ;
       client_text_io.put_line( lf$fic, 'parent.window.resizeTo(600,400);' ) ;
       client_text_io.put_line( lf$fic, '</script>' ) ;
       client_text_io.put_line( lf$fic, '<body>' ) ;
       client_text_io.put_line( lf$fic, '<FONT face="sans-serif" color=#1B62AB size=2>' ) ;
       client_text_io.put_line( lf$fic, replace( :MAILS.TEXTE, CHR(10), '<br>') ) ;
       client_text_io.put_line( lf$fic, '</body></html>' ) ;
       client_text_io.fclose( lf$fic ) ;
       client_host('cmd /C START "x" iexplore.exe c:\test.htm' ) ;
       client_host('del c:\test.htm' ) ;
    End;Francois

  • Problem with Generate to File...

    Hi:
    I am executing a report from a form. I am sending this some parameters as filters. When the report executes it, it is OK, but when I want to save it in a file (going to generate to file) it saved me it with the all datas without paying attention to the parameters (filters). I know that if I show the parameter form builder to the user and it enter again the data the file will be all right, but my boss wants me to find another solution.
    Have you got any idea of what can I do?
    Thanks
    Vero

    Hi,
    I am using reports 6i.
    I am sending user parameters by a form and calling the report through this. It seems that when I save it to a file it blanks the user parameters.
    Here is the Report query:
    select DISTINCT
    e.est_nom estacio,
    l.ls_nom linia,
    dep_sigla um,
    p.p_nom tens,
    mu_nom municipi,
    cd_nom_general ccdd,
    cd.cd_idint
    from
    centre_distribucio cd,
    estacio,
    municipios,
    departamentos,
    vw_cd_ls c,
    linea_standar l,
    vw_sp_ls v,
    sortida_de_parc s,
    parc p,
    estacio e
    where l.ls_identificador=c.ls_identificador and
    cd.cd_idint=c.cd_idint and
    cd.cd_dep_idint=dep_identificador and
    cd.cd_mu_idint=mu_identificador and
    l.ls_identificador=v.ls_identificador and
    v.sp_identificador=s.sp_identificador and
    s.sp_p_idint=p.p_idint and
    p.p_est_idint=e.est_idint and
    ((:est='%') or (e.est_numero like :est)) and
    ((:p='%') or (p.p_nom like :p)) and
    ((:ls='%') or (l.ls_nom like :ls)) and
    ((:cd='%') or (cd.cd_nom_general like :cd))
    order by estacio,tens,linia,ccdd
    /

  • CS3:Problem in generating .ps file for an indesign document.

    Hello,
    I have ported a plug-in built for InDesign server CS2 to CS3.
    Generating ".ps" file is one of the functionality of my plug-in.
    But for the given document InDesign CS3 server Debug generated the following asserts in the server log.
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 2 (Class kRIDXBoss).
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 216 (Class kAssignmentBoss).
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 5 (Class kContentMgrBoss).
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 187 (Class kAssignmentBoss).
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 218 (Class kAssignedStoryBoss).
    [21/05/2008 22:21:50] ~InstanceList(): 1 outstanding references to UID 1 (Class kDocBoss).
    I have debugged the code and found that the following API is causing these asserts.
    IPrintSetupProvider::StartPrintPub( bool16 & bReturn,
    IDocument * iDoc,
    UIDRef & styleUIDRef,
    IPrintCmdData::PrintUIOptions & printPubUIOpt,
    IInkList * iInkList,
    ITrapStyleListMgr * iTrapListMgr
    when i shutdown the InDesign server got crashed.
    Can any one of you describe in detail the functionality of this API.
    I will be thankful if any one you can give some idea on how to resolve this issue.
    Thanks,
    sambolus.

    Lee,
    Sorry I think I didn't use the right terminology, somehow I want to include/link the file (not with menu item 'place') programmatically in my current open Indesign document, then I expect to see the filename in Link palette. I can do this with linking to a page item in doc but I don't want to assign it to a particular page item, rather I want to assign it to doc. Is any approach to do it?
    Thanks again,
    Mor

  • Help:  Problem in Uploading Cap File to JCOP41v22  Card

    Hi,
    I am new in Java Card development.
    Having successfully tested the simulation with HelloWorld Applet using JCOP Tools 3.1 on Eclipse, I tried to excecute the code using the real JCOP41V22 card, I encountered the following error message after the Cap File is uploaded:
    jcshell: Error code: 45d (0x045D)
    jcshell: Command failed: SCardTransmit(): 0x45d, PCSC failed with 0x45D: 0x45D (OK,--,(System))
    Unexpected error; aborting execution
    What could go wrong?
    Please endlighten.

    Finally, I got the answer from IBM Zurich Research Lab after sending 4 emails to three different email addresses there within a week.
    It boils down to the Gemplus USB GemPC430 smart card reader which is not fully ISO-compliant.
    After switching to Sclumberger Refelx USB reader, it works perfectly.
    CrreativeMan,
    I strongly recommend JCOP java card if you are keen to embark on the development. You need to install Eclispse Java IDE first, download the JCOP Tools and;
    - Buy an activation code at CHF 40 to make use of the Java Card Simulator
    - or buy a JCOP Engineering Sample Card at CHF 75. The activation code is bundled with the card. It will be activated automatically when you click Run Java Card Application the first time. Once activated, you can either work in simulation or real card condition.
    - As for the reader, I have just replied that Schlumberger Relext USB reader works fine.
    JCOP ordering information is at
    http://www.zurich.ibm.com/jcop/order/tools.html
    The delivery by Federal Express is very fast . Mine took three days only..
    I hope the above informatio will help.

  • Problems during copying music files from iTunes 10.6.1 to iPhone

    1st problem
    In new iTunes 10.6.1 on my MBP when copying music on iPhone if during copying add additional musical files in queue, copying of files from the previous queue stops. In the previous iTunes version of such problem didn't arise. Whether there is a solution of this problem?
    2nd problem
    In older version of iTunes i could adding new music files to my iphone with drag and drop from Finder. Now i must add files in iTunes library and then from library drag and drop files to iphone. How to solve this problem?

    You would have to purchase 10.6 (Snow Leopard) and install it, assuming your computer is compatible.

  • Problems to generate WSDL file

    Hello to all,
    I am adapting the sample ( /xws-security/samples/simple) to develop my service. When I compile the file WSDL no is adapted with my changes. I think that the problems is in build.xml, in gen-service target where execute wscompile to generate WSDL, but I do not know the solution.
    I hope that somebody can help me.
    thanks to all,
    Antonio.

    At least I don't have a clue about ABAP Proxy.
    You are pretty much on your own unless someone
    else has tried it.
    Preston
    >>> On Tuesday, August 03, 2010 at 8:26 AM,
    pawelnowicki<[email protected]> wrote:
    > Hi,
    >
    > For our customer we try to bind SAP with GW Calendar using GW Web
    > Services. We tried to generate ABAP Proxy from groupwise.wsdl file but
    > there are problems: GW uses recursive data structures what ABAP Proxy
    > can not use. Is there any simple solution to this problem?
    >
    > Best regards
    > Pawel

  • Error in generating CAP File

    I unzipped the java card kit to C:\java_card_kit-2_2_1
    Then created a java card applet with
    applet AID A00000006203010C06 and
    package AID as A00000000000000000
    with java card kit path as
    JAVA CARD API LOCATION C:\java_card_kit-2_2_1\lib\api.jar
    JAVA CARD ECPORT FILES C:\java_card_kit-2_2_1\api_export_files
    converter location C:\java_card_kit-2_2_1\lib\converter.jar
    jcwde simulator location C:\java_card_kit-2_2_1\bin\jcwde.bat
    While running this command in command prompt
    command in command prompt :
    java -jar "C:\java_card_kit-2_2_1\lib\converter.jar" -classdir "C:\WORKFOLDER RANJITH JAVA CARD\UPDATED JAVA CARD CODE\AppletToBeLoadedInCard\build\classes" -exportpath "C:\java_card_kit-2_2_1\api_export_files" -applet 0xA0:0x00:0x00:0x00:0x62:0x03:0x01:0x0C:0x06 javacardapplet1.JavaCardApplet1 -d "C:\WORKFOLDER RANJITH JAVA CARD\UPDATED JAVA CARD CODE\AppletToBeLoadedInCard\javacard_dist" -out CAP EXP javacardapplet1 0xA0:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00 1.0
    I get error as
    Failed to load Main-Class manifest attribute from c:\java_card_kit-2_2_1\lib\converter.jar
    What is the issue here and how to ivercome this..

    Hi CulbOy,
    You might have more luck running the batch files found at JC_HOME/bin (more specifically converter.bat)
    here is a batch file I use to convert applets with JC 2.2.1 (file is run from the project root directory)
    @echo off
    if "%OS%" == "Windows_NT" setlocal
    if not "%JC_HOME%" == "" goto doit
        echo Please set the JC_HOME environment variable.
        goto end
    :doit
    %JC_HOME%\bin\converter.bat -config src/main/resources/applet.opt
    :end
    if "%OS%" == "Windows_NT" endlocaland a sample applet.opt:
    <PACKAGAE_NAME> <PACKAGE_AID> 1.0
    -applet <APPLET_AID> <APPLET_CLASS_NAME>
    -classdir target/classes
    -d target/javacard
    -out CAP EXP JCA
    -debugI hope this helps.
    Cheers,
    Shane

  • Problem in generating WSDL file for triggering BPM process

    Hello Experts,
    I have a working BPM process which I want to trigger using a web service. I am referring following blog link to generate New WSDL file and perform further operations:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    However, it everything goes well until I set the type for the "New Element". I want to set type to context of my component controller. So I selected Set type --> Enclosing Project and I seleted Context of my component controller.
    Upon saving this, I am getting this error:
    "../../rep/ui/com.sap.demo.wd_ui_mna.wd.comp.c_fillmynameage.C_FillMyNameAgeInterface.xsd" is not a path relative to "src/wsdl/NewWSDLFile.wsdl" because it contains too many '../'
    I am not sure what is happening here. I have also removed the response element(s) from WSDL source.
    What am I missing here?
    Thanks in advance,
    Ameya

    Cross post in EBiz forum -
    General EBS Discussion
    Regards,
    Anuj

  • Problem during mail to file scenario

    Hi all,
    I ve done all configurations but it is showing an error in the Modules tab....
    ModuleProcessorException: Error during processing local bean: localejbs/AF_Modulews/PayloadSwapBean caused by:

    Hi Sathish,
    Go through the links  for ur  developments.
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    Mail-XI-file scenario
    Email Adapter Throwing Error
    Error during configuration of Sender Mail Adapter
    regards
    sreeni

  • Problems keeping generated java files

    hi!
              I have a war containing a lot of jsp files.
              I want those files to be precompiled when I start my server, only if the war file has changed.
              I also want to keep the generated files,
              So that the next time I start the server
              It won't need to precomile them (unless changed, ofcourse).
              I set the "keepgenerated" flag and "precompile" flag to true, in the weblogic.xml file.
              i also added:
              <context-param>
              <param-name>weblogic.jsp.keepgenerated</param-name>
              <param-value>true</param-value>
              </context-param>
              in the web.xml
              but everytime I start up the server, it deletes all
              the old generated files, and precompiles my jsp all over again.
              I also tried not using the pre-compilation option at all,
              just to see the effect that "keepgenerated" flag had,
              but the generated files were still removed each time i restarted the server.
              Is it at all possible to keep those files?
              If so, how?
              thanx,
              Einav
              

              I tried using jspc to precompile the jsp files and deploy the resulting class files
              (and the jsp files). This way the server never regenerates the files or compiles
              the servlets.
              

Maybe you are looking for