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

Similar Messages

  • 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.

  • 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

  • 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

  • Two problems in using LKM file to sql

    hi all,
    i met two problems during use "LKM file to sql" for loading data from csv file to oracle db. please try to help me, thanks a lot!
    my environment:
    os: win 7
    odi version: 11g
    The 1st condition is: in the 10th step of the execute session, a table called ".SNP_CHECK_TAB" which could not be created in oracle will be created!
    If i modify it to SNP_CHECK_TABLE, the step will pass...
    why naming table like this?
    create table .SNP_CHECK_TAB
         CATALOG_NAME     VARCHAR2(100 CHAR) NULL ,
         SCHEMA_NAME     VARCHAR2(100 CHAR) NULL ,
         RESOURCE_NAME     VARCHAR2(100 CHAR) NULL,
         FULL_RES_NAME     VARCHAR2(100 CHAR) NULL,
         ERR_TYPE          VARCHAR2(1 CHAR) NULL,
         ERR_MESS          VARCHAR2(250 CHAR) NULL ,
         CHECK_DATE     DATE NULL,
         ORIGIN          VARCHAR2(100 CHAR) NULL,
         CONS_NAME     VARCHAR2(35 CHAR) NULL,
         CONS_TYPE          VARCHAR2(2 CHAR) NULL,
         ERR_COUNT          NUMBER(10) NULL
    The 2nd condition is: i want to filter out certain name in the source table and the filter string is "BRE.name!='some_value'".
    When I clicked the "Testing query" button, the following error shows:"Error while executing query Invalid format description".
    It works well when the source db is oracle, why not file? Is there any format for the filter string in file? I don't think so...
    Jun

    Hi Jun,
    Can i contribute a little for ur 2nd problem.
    This error is coz, If u are using a filter against a File "data store" u can't test it, only against RDBMS query will be tested at data store level.
    Well, for using that filter and make sure its working, drag and drop the source file in the interface (u can get the filter) and make it to execute on STAGING.
    Thanks,
    Guru

  • "Program files" directory problem during Microsoft Office Customization Installer in non-English versions of Windows

    We have a document-level customization solution for Word and are experiencing problems during deployment in an environment running on terminal services. The OS (Windows 2012) is English and Word (2013) is non-English (German). 
    Installation is done into the "Program Files" folder correctly. But when trying to start a word document linked to the specific template. The "Microsoft Office Customization Installer" pops up with the error.
    "There was an error during installation"
    From: file:///C:/Programme/[CompanyName]/[Productname]/[Productname].vsto
    Downloading file:///c:/Programme/[CompanyName]/[Productname]/[Productname].vsto did not succeed.
    Exception: ....
    System.Deployment.Application.DeploymentDonwloadException: Download file:///C:/Programme/[Companyname]/Productname]/[Productname].vsto did not suceed. ---> System.Net.WebException: Could not find a part of the path 'C:\Programme\[Companyname]\[Productname]\[Productname].vsto'.
    ---> System.Net.WebException: ...... ---> System.IO.DirectoyNotFoundException......
    The problem seems to be that the installer is looking for C:\PROGRAMME instead of C:\PROGRAM FILES. C:\PROGAMME is the German localized name of PROGRAM FILES (http://en.wikipedia.org/wiki/Program_Files).
    The installer installs the solution correctly deployed into c:\program files, but when the later a user tries to start it and the Microsoft Office Customization Installer is called, it tries to access the non-existing "c:\programme" folder. This
    doesn't exist, because Windows is English.
    Is there any thing related to deploying solutions on a platform which has different languages (mixing/matching of OS language and Office language?)
    Thank you for your help

    Hello,
    1. First, I would confirm with you whether you dealt with the localization for your document-level add-in?
    2. Did you use this way to define the Create a class that defines the post-deployment action part of Put the document of a solution
    onto the end user's computer (document-level customizations only) and did you get the path with Environment.SpecialFolder enum?
    To handle this, I would recommend you consider using Environment.SpecialFolder to set that property.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem in attach a file during mail

    I am facing problem while attaching a file during mailing

    What file ?
    If its some Office document (word / excel) .. first open the document and then (...)-->share and select your mail client ..

  • Problem during restore from a file

    Hello guys,
    I'have a big problem during restore a backup, the situation :
    I want to upgrade my iPhone from 4.0.2 to 4.3.3
    I make a encrypted backup (I know password ...) of the old version -> ok no errors
    I upgrade iOS -> ok
    When I want to restore the version I ve just backup -> it crashs : iphone restart and error appears "the Iphone was disconnected" ... (it works fine with an older backup of december 2010 ...)
    I try to unistall / reinstall iTunes, it's the last version -> same problem
    I try one a another machine (Windows 7 and XP) -> same problem
    The logs :
    [4896 @ Mon Jun 20 22:33:02 2011] [com.apple.console AppleMobileBackup.exe] Unable to move temporary file "C:\Users\***\AppData\Roaming\Apple Computer\MobileSync\Backup\Logs\MobileBackup-unknown-20110620-223302-Restore-Co mputer.log" (3)
    [4896 @ Mon Jun 20 22:33:02 2011] [com.apple.console AppleMobileBackup.exe] Unable to move temporary file "C:\Users\Hamad\AppData\Roaming\Apple Computer\MobileSync\Backup\Logs\MobileBackup-10b66065f7dbf1da28658fd7fbeb7b128a 871760-20110620-223302-Restore-Computer.log" (3)
    [4896 @ Mon Jun 20 22:33:02 2011] [com.apple.console AppleMobileBackup.exe] WARNING: Restoring 10b66065f7dbf1da28658fd7fbeb7b128a871760 from 10b66065f7dbf1da28658fd7fbeb7b128a871760-20110619-224423
    [5564 @ Mon Jun 20 22:34:09 2011] [(unknown facility) iTunes.exe] AMDServiceConnectionReceiveMessage (thread 3352): Could not receive size of message: 0 No error
    [5564 @ Mon Jun 20 22:34:09 2011] [(unknown facility) iTunes.exe] _read_thread (thread 3352): Could not receive message: 0xe8000001
    [4896 @ Mon Jun 20 22:34:10 2011] [com.apple.console AppleMobileBackup.exe] ERROR: Connection to device lost (com.apple.MobileBackup.ErrorDomain/200)
    [4896 @ Mon Jun 20 22:34:10 2011] [com.apple.console AppleMobileBackup.exe] ERROR: Restore error: -10
    I want to restore at least my contacts, sms and photos, the issue was the backup is encrypted that why I cant't acceess directly to the concerned files ...
    Can somebody help me?
    Thanks

       Hello, I had the same problem with my notebook (HP Envy 15) and iTunes 10.5 after install iOS 5. The restore backup fail and show the next text:
    [4428 @ Mon Oct 17 00:44:41 2011] [com.apple.console AppleMobileBackup.exe] Unable to move temporary file "C:\Users\Dani\AppData\Roaming\Apple Computer\MobileSync\Backup\Logs\MobileBackup-unknown-20111017-004441-Restore-Co mputer.log" (2)
    [4428 @ Mon Oct 17 00:44:41 2011] [com.apple.console AppleMobileBackup.exe] Unable to move temporary file "C:\Users\Dani\AppData\Roaming\Apple Computer\MobileSync\Backup\Logs\MobileBackup-71f0bc4bbd4f76087135ff002d3b0c7f6b 85ee0f-20111017-004441-Restore-Computer.log" (2)
    [4428 @ Mon Oct 17 00:44:41 2011] [com.apple.console AppleMobileBackup.exe] WARNING: Restoring 71f0bc4bbd4f76087135ff002d3b0c7f6b85ee0f from 71f0bc4bbd4f76087135ff002d3b0c7f6b85ee0f
    [4428 @ Mon Oct 17 00:44:41 2011] [(unknown facility) AppleMobileBackup.exe] _AMDDeviceAttachedCallbackv3 (thread 3008): Device 'AMDevice 004EFAA8 {UDID = 71f0bc4bbd4f76087135ff002d3b0c7f6b85ee0f, device ID = 1, location ID = 0x0, product ID = 0x1297}' attached.
    [4428 @ Mon Oct 17 00:45:08 2011] [(unknown facility) AppleMobileBackup.exe] lockssl_handshake (thread 3008): SSL handshake fatal lower level error -1: SSL_ERROR_SYSCALL errno (No such file or directory)
    [4428 @ Mon Oct 17 00:45:08 2011] [(unknown facility) AppleMobileBackup.exe] AMDeviceStartSession (thread 3008): Could not start session: kAMDInvalidPairRecordError
    [4428 @ Mon Oct 17 00:45:08 2011] [(unknown facility) AppleMobileBackup.exe] _AMDNotifyHook (thread 3008): Could not load library SHLWAPI.dll from the AppleMobileDeviceSupport directory, C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\\SHLWAPI.dll.
    [4428 @ Mon Oct 17 00:45:08 2011] [com.apple.console AppleMobileBackup.exe] ERROR: Error attaching to device
    [4428 @ Mon Oct 17 00:45:08 2011] [YSLoader AppleMobileBackup.exe]
    Without any doubt there's some problem with USB device during this operation of restore. After 5 hours looking for a solution, I copied the backup folder (C:\Users\Dani\AppData\Roaming\Apple Computer\MobileSync) to an external disk, installed iTunes in other PC, copy the backup and restore without any problem.
    Regards

  • Problem during retriving file from application Server

    Hi all,
    i am trying to upload a world file (from desktop ) on application server and
    retrieve it back on local desktop.
    during retrieval of file from application server i am getting all the data in encoded format .
    i am using -
    open DATASET p_fpath for output in text mode encoding UTF-8 WITH SMART LINEFEED.
    plz help.

    Hi,
    use the tcodes CG3Y and
    CG3Z
    Or
    try with this command
    open DATASET p_fpath for output in text mode encoding default.
    Regards,
    nagaraj

  • Problem During Installation of ECC 6 on Windows 2003

    <b><b>Here I am facing problem during Import ABAP Phase.
    It is throwing Error like that::
    CJS-30022 Program 'Migration Moitor' exists with return code 103.
    After completeing 9 stages, it's getting problem in Import packages and installation get stucked.
    My Server is like that:
    OS: Windows Server 2003
    Hardware: HP Itanium IA64
    Database: Oracle 10.2g
    SAP Release : 2004s ECC 6
    I have configured Java with j2sdk 1.4.2_12:
    JRE 1.5 is not available for IA64 .
    I reconfigured the parameter "shared_pool_size" (to 400MB)in init<sid>.ora at \oracle\<sid>\database.
    Also adjusted another parameter which is "shared_pool_reserved_size" i.e. 10% of the shared_pool_size.
    What to do now.
    Please send me feed backs.
    Regards,
    Sumanta Chatterjee
    </b></b> <b></b>

    run 'ls -lrta' in /tmp/sapinst_instdir/.... (whatever the lowest path is there, where all the log files are).  You should see something like sap<something>.tsk and sap<something>.log.  Look at the most recently updated sap<something>.log file for the specific error.  One problem I've seen is that if you configure the advanced oracle config to turn off AUTOEXTEND on the tablespaces, the abap load will bomb because it runs out of space.  Also, make sure your SYSTEM tablespace has at least 500M.
    Posting the relevant contents of the log with the detailed error description would help us provide a better answer as well.
    Rich

  • N95 8GB: Problem on deleting video file

    Hi,
    Is there any body experienced this problem. When I'm trying to delete a file from Video Centre > My videos directory, I'm receiving this error... "Unable to delete. File video.mp4 is open."
    Do you have resolution for this? Tnx in advance.
    Br,
    Pete

    21-Nov-200709:06 PM
    pmpinguel wrote:
    posted my detailed steps in the n95 8gb main discussion thread. go see
    I followed your steps but I got this message.... "USB data transfer mode activated. MASS MEMORY MAY NOT BE USED DURING THIS TIME."
    Actually the video file was not there anymore in my File Mgr folder but the problem is the video file is still there in Video centre > My videos folder. When I tried to delete the file using "c" or Options > delete, the error says "Unable to delete. File video.mp4 is open."
    I also tried to reset the phone to its factory settings but still video file was there.
    I think this is a bug. Pls advice. Tnx in advance.
    Br,
    Pete

  • Problem While reading a file in text mode from Unix in ECC 5.0

    Hi Experts,
    I am working on Unicode Upgrade project of ECC5.0.
    Here i got a problem with reading a file format which it does successfully in 4.6 and not in ECC5.0
    My file format was as follows:
    *4 000001862004060300000010###/#######L##########G/##########G/########
    It was successfully converting corresponding field values in 4.6:
    *4
    00000186
    2004
    06
    03
    00000010
    25
    0
    4
    0
    54.75
    0
    54.75
    0.00
    While i am getting some problem in ECC5.0 during conversion of the above line:
    *4 000001862004060300000010###/#######L##########G/##########G/########
    it was consider in the same # values.
    I have used the following statement to open and read dataset.
    OPEN DATASET i_dsn IN LEGACY TEXT MODE FOR INPUT.
    READ DATASET i_dsn INTO pos_rec.
    Thanks for your help.
    Regards,
    Gopinath Addepalli.

    Hi
          You might be facing this problem because of uni code. So while opening or reading the file, there is a statement call ENCODING. Use that option and keep the code page which you want. Then the problem may be solved.
    Thanks & Regards.
    Harish.

  • Problem during installation of  NW7.0 SR3 on Windows x64

    Hello all,
    I have a problem during the installation of a new central instance.
    During the phase 38 "Install Software units", SAPINST shows that logs :
    Jul 30, 2008 1:41:10 PM  Info: Ending deployment prerequisites. All items are correct.
    Jul 30, 2008 1:41:11 PM  Info: Saved current Engine state.
    Jul 30, 2008 1:41:11 PM  Info: Starting: Initial deployment: Selected development component 'caf/eu/gp/model/eap'/'sap.com'/'MAIN_APL70VAL_C'/'1497904'/'5' will be deployed.
    Jul 30, 2008 1:41:11 PM  Info: SDA to be deployed: D:\usr\sap\PAD\DVEBMGS00\SDM\root\origin\sap.com\caf\eu\gp\model\eap\MAIN_APL70VAL_C\5\1497904\cafeugpmodeleap.sda
    Jul 30, 2008 1:41:11 PM  Info: Software type of SDA: J2EE
    Jul 30, 2008 1:41:11 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Jul 30, 2008 1:41:13 PM  Info: Begin of log messages of the target system:
    08/07/30 13:41:11 -  ***********************************************************
    08/07/30 13:41:12 -  Start updating EAR file...
    08/07/30 13:41:12 -  start-up mode is lazy
    08/07/30 13:41:12 -  EAR file updated successfully for 250ms.
    08/07/30 13:41:12 -  Start deploying ...
    08/07/30 13:41:12 -  EAR file uploaded to server for 93ms.
    08/07/30 13:41:13 -  ERROR: NOT deployed. The Deploy Service returned the following error:
                         For detailed information see the log file of the Deploy Service.
                         Exception is:
                         com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
                              Nested exception is:
                              java.net.SocketException: Connection reset
                         java.net.SocketException: Connection reset
                              at java.net.SocketInputStream.read(SocketInputStream.java:168)
                              at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:395)
                              at java.lang.Thread.run(Thread.java:534)
    08/07/30 13:41:13 -  ***********************************************************
    Jul 30, 2008 1:41:13 PM  Info: End of log messages of the target system.
    Jul 30, 2008 1:41:13 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Jul 30, 2008 1:41:13 PM  Error: Aborted: development component 'caf/eu/gp/model/eap'/'sap.com'/'MAIN_APL70VAL_C'/'1497904'/'5', grouped by software component 'SAP-EU'/'sap.com'/'MAIN_APL70VAL_C'/'1000.7.00.14.0.20071210153525''/'5':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: NOT deployed. The Deploy Service returned the following error: com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
         Nested exception is:
         java.net.SocketException: Connection reset
    Exception is:
    com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
         Nested exception is:
         java.net.SocketException: Connection reset
    java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:395)
         at java.lang.Thread.run(Thread.java:534)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Jul 30, 2008 1:41:13 PM  Info: Starting to save the repository
    Jul 30, 2008 1:41:13 PM  Info: Finished saving the repository
    What can I do to validate that step ?
    Thanks in advance,
    Edited by: Alexandre Belgrand on Jul 30, 2008 1:48 PM

    Hi,
    I had same problem.i resolved it by reinstalling OS and configuring high Page file.
    Please set the max and min Page file size of same value.
    and also do the java memory tuning as per SAP Notes.
    Regards,
    Sandeep Nayak

  • Problem during deployment of axis (stock) examples

    Hi all
    I am getting problem during the deployment of stock example given in the apache site.
    Even i am not getting the right response from the URL
    http://localhost:8080/axis/services/Version?method=getVersion
    and
    http://localhost:8080/axis/EchoHeaders.jws?method=list.
    I am using tomcat 4.1 and JDK1.4.
    I have set all the jar files in the axisclasspath.
    At the deployment i am using the commond
    C:\tomcat4\webapps\axis\WEB-INF\classes>java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService samples\stock\deploy.wsdd
    and getting fault as
    Processing file samples\stock\deploy.wsdd
    Exception: AxisFault
    faultCode: {http://xml.apache.org/axis/}Server.NoService
    faultSubcode:
    faultString: The AXIS engine could not find a target service to invoke! targetService is null
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:Divyakant-verma
    If anybody has solution please let me know
    Thanks in advance
    Divyakant Verma

    I too am having the same issue and I am using the Java2WSDL and the WSDL2Java to create both the WSDL and the WSDD and I still get Server.NoService when I try to use the AdminClient to deploy the wsdd?
    I have tried using both 1.2 and 1.2.1.
    I am going to try to use an older verison to see if this is a bug..
    If any one know the answer to this deployment problem please speak up.

  • Problem during startup of NWDS - Error while opening NWDS -

    Hi,
    iam unable to start up NWDS.problem during startup of NWDS
    Error when double click the NWDS to open.
    Error in .log file of workshop[--
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Dec 03, 2007 15:59:04.226
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: java.lang.reflect.InvocationTargetException
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:861)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         ... 7 more
    Caused by: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
         at org.eclipse.swt.SWT.error(SWT.java:2330)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:101)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
         at org.eclipse.swt.widgets.Display.release(Display.java:1782)
         at org.eclipse.swt.graphics.Device.dispose(Device.java:212)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1390)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         ... 8 more

    Hi nayab,
                     Ur workspace metadata seems to be corrupted. Go to ur workspace. rename .metadata folder  & open the NWDS. It will not show ur previous configuration so u have to import the Development configuration again. In case ur any activity is open, it will come back when u import the Development Configuration.
    regards
    Sumit

Maybe you are looking for

  • In iCal, an entire week has disappeared

    For some reason in my iCal, an entire week has been cleared/hidden and is now locked.  (In Week view) This week is completely normal and updated, but when I click next to the week of April 24 - April 30, all events have been cleared.  However, all ev

  • How to add string to sendbuffer in visual basic?

    1.if buffer type=FML,then ' Fchg(sendBuf, Fldid("ACCOUNT_ID"), 0, accountNumber&, 0)' can add the accountnumber into sendbuffer. 2.if buffer type=STRING ,then how can i add a simple string into sendbuffer before the tpcall()? Eager for the reply.

  • LAST ITUNES UPDATE SEEMS TO AFFECT EMAIL

    Prior to this latest issue, can anyone tell me why the Authentication for email changes of its own free will? I choose password, then go to retrieve emails, and it doesn't, so I check the Authentication menu and sure enough, it's jumped off password.

  • Inkjet CP1700D Printer

    Several weeks ago, my Inkjet Printer CP 1700D displayed a message to replace all four print heads. I cleaned them, and after one sheet printed, got the same message again. I then ordered from HP the four print heads, installed same, and until today,

  • How do you find Apple Support phone number for warranty for Mac Mini?

    How do you find Apple Support phone number for warranty for Mac Mini?