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

Similar Messages

  • Receiver Determination Problem In Mail to File Scenario.

    Hi All,
    I am trying to do Mail to File Scenario. I defined two business systems, one s/w component in SLD and in IR I defined a DataType , MessageType and Two MessageInterfaces. In ID these are mail adapter settings I gave :-
    Message Protocol :- POP3
    Message Protocol :- XIPAYLOAD
    MAIL ATTRIBUTES -- Enabled checkbox for "Use Mail Package"
                                    Content Encoding - "base64"
                                    Enabled checkbox for "Keep Attachments"
    DEFAULT XI PARAMTERS --
                                    Default Interface Namespace -- http://mtf
                                    Default Interface Name         --  mtf_mi1
    And in Modules Tab I also defined the "PayloadSwapBean" module and swap.keyName and swap.keyValue.
    Infact I followed all the steps specified in /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    But in SXMB_MONI this is the error I am getting :-
      <b><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error></b>
    Please help me out.
    Thanks All,
    Madhu.

    Hi,
    Please verify letter by letter if you haven't make a typo here:
    Default Interface Namespace -- http://mtf
    Default Interface Name -- mtf_mi1
    please also make a test of your scenario in integration directory
    please also do not use best efort quality of service
    /wg
    Message was edited by:
            Wojciech Gasiorowski

  • MAIL TO FILE SCENARIO--3 MAILINBOX configured in the same Outlook

    Hi All,
    I have  a  below requirement :
    A vendor is sending an e-mail with attached an invoice (PDF, TIF, etc) to a common Outlook (But can have several mailboxes: eg abc@xxx. com ; xyz@xxx .com)
    When a new email arrives in these inboxes (Note : Same Outlook Server ), XI needs to pick up the attachment of the  unread mails and place it in  the network folder.
    I did go through this SDN Link (Mail to File Scenario ) : http://wiki.sdn.sap.com/wiki/display/XI/StepbyStepMailToFileScenario , but  have few queries:
    - Mail Sender CC should be configured as IMAP4 to read the unread mail , pick up the attachment and place it in network folder.
    -Here , how do we configure for several inboxes of same Outlook..?
    -Secondarly i believe , mapping is not required in this case  as xi just picks up the attachment and place in File location.
    Could you please me any info that  meets this requirement .
    Thanks,
    Vara

    Here , how do we configure for several inboxes of same Outlook..?
    Configure as many sender mail channels as the number of mailboxes.....each pointing to a different mailbox.

  • Download & save pdf file (mail to file scenario)

    Hi All,
    I have a simple scenario (mail to file), in which pdf file is being attached to incoming mail message. Attachment is "downloaded" (using localejbs/AF_Modules/PayloadSwapBean adaptor module(.
    Since no mapping required, the used "Integrated Configuration".
    my scenario works fine, no ERR and pdf file is created at target directory.
    When I'm trying to open the file the adobe is showing to following err msg:
    "Adobe Reader could not open 'xi_output.pdf' because it is either not a supported file type or because the has been damaged.."
    What can be done, to bypass the problem? Please advice.
    Regards,
    Uri

    Hi,
    >>>The only difference is that my current scenario is based on "Integrated Configuration", does it make sense?
    hmm this should work in the very same way with ICO but I never tested it with it frankly speaking
    but the adapter module works on the same adapter as without ICO so why should there be a difference
    (the swaping is done before the message is delivered to the IE or AAE processing)
    but you can try writing a note to SAP to crosscheck if this module works with local AAE
    Regards,
    Michal Krawczyk

  • FIle Content Conversion Problem in IDOC-XI-File Scenario

    Dear All,
    I am doing IDOC-XI-FILE scenario.
    I am facing one problem related to File Content Coversion.My requirement was to generate a dynamic file like <b>%store_code%_%current_date%_sitemaster.xml</b> , I have completed the dynamic generation successfully .
    Now there is slight change in the requirement ,<b>we have to suppress the current_date node of the xml content</b> . i have tried to suppress the current_date using these <b>DATE.fieldFixedLengths 0 , Date.fixedLengthTooShortHandling Cut</b> , But I am unable to suppress it Can some body provide me the details on this .
    The output xml version generated by Reciever file adapter is as below :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    </ns0:MT_SITE_MASTER>
    Plz provide me the code I have to write in the file content conversion .
    Thanks in advance
    Regards
    Prabhat

    If u see my earlier reply, I mentioned that u can not suppress the field from the one node.i.e Form SITE_DATA data type u can not suppress the field called CURRENT_DATE.
    My suggestion is that , modify the Data type in such a way that you will be having two nodes as I have mentioned earlier.  Then use the Suppress Logic for the Current Date.
    So it will look like this-
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    <CURR_DATE>
       <CURRENT_DATE>20051105</CURRENT_DATE>
    </CURR_DATE>
    </ns0:MT_SITE_MASTER>
    So ur SITE_DATA is not having a field called CURRENT_DATE. This field is in separate node (segment ) called CURR_DATE. Now u can use the Suppress Logic for the same like this.
    CURR_DATE.fieldFixedLengths - 0
    CURR_DATE.fixedLengthTooShortHanling - Cut
    And in your Variable Substitution you can use the date from the other segment called CURR_DATE.
    Hope this solves ur problem.
    Regards,
    Moorthy

  • Problem in idoc to file scenario

    hi
    while creating the idoc to file scenario i am facing few problems.
    1) My design time objects are working fine. i have checked my message mapping, message interface etc.. (all design time objects are in active mode).
    2) In ID, i have tested my configuration in test configuration, its working fine there as well (in ID i am using 2 business service one for sender, one for receiver)
    3) i am using my ecc6 training server as my sender and using my XI server as receiver.
    4) i am sending idoc from ecc6 and converting it  to file in XI server and saving it in XI server itself(my receiver in this case).
    my error:
    i send my idoc from we19 transaction, and i see a error message stating
    that 'RCVR_DETERMINATION.NO_RECEIVER_CASE_ASYNC'
    my doubts.
    1) while sending the idoc from ecc6, is it mandatory to give process code in partner profile ( that is, assign an outbound function module to push the created idoc to the mentioned destination).
    2) also is it mandatory to have a partner profile on the receiver side( XI in this case) along with inbound process code.
    3) in my receiver adapter ( file adatper in this case ) i have used NFS protocal. is it rite?
    kindly help me with this issue.
    regards
    manoharan

    >
    manoj murugesan wrote:
    > 1) while sending the idoc from ecc6, is it mandatory to give process code in partner profile ( that is, assign an outbound function module to push the created idoc to the mentioned destination).
    >
    > 2) also is it mandatory to have a partner profile on the receiver side( XI in this case) along with inbound process code.
    >
    > 3) in my receiver adapter ( file adatper in this case ) i have used NFS protocal. is it rite?
    >
    >
    > kindly help me with this issue.
    >
    >
    > regards
    > manoharan
    and to 1 & 2 ref. below,
    Configuration steps required for posting idoc's(XI) -
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    ALE configuration for pushing idocs from SAP to XI -
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    3. NFS protocol is used to read/write files to the XI server itself. If you have to write to a local machine then use FTP

  • JCO problem in SOAP to file scenario

    Hey guys
    i m doin a SOAP to file scenario and getting a JCO error in moni,the status of my queue in SMQ2 is SYSFAIL,when i check the TCP/IP connection in SM59 i find error in two places
    AI_DIRECTORY_JCOSERVER and AI_RUNTIME_JCOSERVER .when i test connection for both of them i get the followin error "Error opening and RFC connection".
    is this error dues to some server problem of something wrong in my scenario.?
    the SOAP adapter in RWB is green.
    i tried to unlock and delete the queue in SMQ2 but when i execute my scenario again,it gets SYSFAIL error.
    thanx
    ahmad

    Hi,
    If you restart the J2ee engine, it will work.
    But The error may because of many reasons
    -Might be because of lots of messages are to be processed simultaneously.
    -Increasing the number of processes in VisualAdmin (VisualAdmin>JCO RFC Provider>AI_RUNTIME_<SID>) and see if that helps.
    -This  SAP Note may help u -709140.
    Hope this helps,
    Regards,
    Moorthy

  • Problem with IDOC TO FILE Scenario

    Hi Experts,
    I am doing IDOC TO FILE Scenario.
    I have done all the configuration.I have cretaed RFC,PORT,LS and Partner profile at both R/3 and
    XI Side.
    when I am trying to generate IDOC using we19 and I put the r/3 port,partner in sender and XI
    port and partner in receiver it gives me error as "Port 'SAPCU6_100' does not exist in the table
    of port descriptions.
    Please help me.....
    Regards

    HI Saras,
    Please go through the below weblog which has all the stpes which is required for ur scenario...I think screen by screen help u to debug ur problem and it will help u to find out the msitake which u have made.
    File To IDOC - Part1 (SLD and Design):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    File To IDOC - Part2 (Configuration):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    File To IDOC - Part3 (Steps required in XI and R3):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    Thnx
    Chirag

  • Problem Executing RFC to File Scenario

    Hi,
    I am currently working on RFC to File Scenario which is Asynchronous in Nature i.e. The RFC will send some data to XI and then it'll be dumped in an XML File on the shared drive.
    Following are the steps which were performed by me :
    1. i created an RFC Destination in R/3 using SM59 and entered the Required values as mentioned in the blog
    The specified item was not found.
    2. Then i entered the same values in the communication channel of the sender RFC adapter.
    I tested it from R/3 and the connection was successful.
    3. i created an RFC in SE37 in the R/3 and just added an existing table under the "tables" tab. No further code was written in it. I saved it and activated it.
    4. All the IR and ID objects were made and activated and then the scenario was run by sending a single data row by pressing F8. The RFC showed a message of "System Failure" and while looking into the XI Server (SXMB_MONI) the message gave absurd values with a error symbol(it a Red Light symbol and there was no Red Flag).
    Initially, the XML file was getting posted in the shared drive but after further execution it stopped.
    I am unable to figure out the problem. Kindly let me know where i am going wrong and what needs to be done to correct it ?

    Hi,
    For Sending RFC asynchronously check for these points:
    For RFC creation and importing please follow this discussion. Very useful:
    Re: RFC to FILE
    Specially reply by Udo Martens.
    Also for sender RFC, check two things.
    1) First step is Register your ProgramId using activiating the communication channel(XI). You should be able to see it in smgw(R/3)
    smgw->Goto->Looged on Clients(Check it here)
    2) Then use this registered programid in your RFC Destination,in R/3 (it is Case-Sensitive).
    These are just common errors i have encountered sometimes.

  • Mail 2 File scenario - problems with attachments in file receiver

    Hi experts,
    I want to receive PDF documents via email and send them thru file adapter. Now I have some trouble with the attachments. I have configured my mailsender as follows:
    localejbs/AF_Modules/PayloadSwapBean    TRANSFORM
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean    mail
    Modules:
    TRANSFORM       swap.keyName   Content-Disposition
    TRANSFORM     swap.keyName     Content-Description
    TRANSFORM       swap.keyValue     MailAttachment-1
    TRANSFORM       swap.keyValue     attachment;filename="MailAttachment-1.pdf"
    Now what modules do I have to use in my file receiver when I want to write the PDF-attachment to my directory? I already tried a lot and referred to many blogs but nothing really worked. I only get my header information in the output file.
    Any ideas?
    Thanks in advance.
    Best regards.
    Oliver.

    Hi
    Check this blogs
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1810608850DB10913328217115658435End?blog=/pub/wlg/1685
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1810608850DB10913328217115658435End?blog=/pub/wlg/2849
    Regards
    Ramesh

  • Mail-XI-file scenario

    Hi,
    I am using a scenario mail(as sender) to XI to file(as Receiver).
    i am getting an error in the adapter monitoring ""error occured: exception caught during processing mail message; java.net.ConnectException: Connection refused: connect""
    Plz tell me any thing gone wrong in my scenario.i did:-
    1)In IR, i have created 2-DT's,2-MT's,2-MI's of same type(for receiver(file) and sender(Mail)) and 1-MM,1-IM.
    2)In ID,I have created a comm channel for sender mail adapter and i have given
    URL:- imap://192.168.236.113(my comp mail server address)
    user:- 511531
    Password:- xxxxxxxx
    and created comm channel for receiver file adapter,sender&receiver agreements Interface&receiver Determinations.
    I have one doubt, plz clarify:-
    1)Is the XI server will hit the mail server to pick the mails?
    2)If not the above case,then i have to send a mail to xi server.how can i send for testing.
    3)what is the story behind the error i am getting.
    thanks in advance
    Sridhar Raju

    Hi sridhar,
    From whatr you ve described it looks like the problem is in your configuration of your mail adapter as a sender. Check the parameters for the mail adapter that have been entered and also check if XI has acces to your mail server.
    This link might help you,
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

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

  • Is it possible Mail - PCK -File Scenario?

    Hi all,
    i want to try the scenario in PCK  where the mail adapter of PCK will pick the mail from mail server address and it will pass through PCK to the File receiver adapter.
    anyone have a related document for this scenario.
    Thanks
    Ashwin

    Hi
    PCk -with out XI???
    PCk is nothing but enables smaller companies to exchange xml documents with business parter's SAP XI
    Business system environment of small business partner is connected via PCk to integration server  by means of XI
    check this for PCK info
    /people/siva.maranani/blog/2005/08/30/pck-cross-sectional-analysis-part-1
    /people/siva.maranani/blog/2005/08/30/pck-cross-sectional-analysis-part-2
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/content.htm
    Message was edited by:
            Anu Ram
    Message was edited by:
            Anu Ram

  • Mail to File Scenario

    HI,
    The scenario is like I am reading data from the attachment of an email using mail sender adapter and creating a file at unix server.
    Please provide me any good links which gives step by step configuration.

    Hi Priya,
    Did u try out with Adapter Modules to get these attachment info ?
    Else try out with that option..
    check out this thread [if you did not go thru before]:
    Re: sender mail adapter - attachment name
    Hope this helps, Regards, Moorthy
    Edited by: Krishna Moorthy P on Dec 20, 2007 10:15 AM

  • 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

Maybe you are looking for