Error when extracting .sar file

When I try to extract a .sar file with sapcar I get the following error.
SAPCAR: could not open for writing ./J2EE-RUNT CD/IDE/eclipse/plugins/com.sap.tc.ap/comp/CAF/DCs/sap.com/
caf/mp/mmr/adapter/_comp/gen/default/public/com.sap.caf.mp
.mm.adapter/lib/java/sap.comcaf.mpmmradaptercom.sap.ca
f.mp.mm.adapter.jar (error 28).
I downloaded the .sar file (Developer Studio sp14) from service.sap.com.
Have anyone seen this issue before??

Hi Brian,
Check out the following thread.
<b>/thread/59051 [original link is broken]>
Regards
Rajeev.

Similar Messages

  • Error while extracting .SAR File of Br*tools

    Hi All,
    I have created a directory in /instdir/brtool in HP-UX and transfered a
    DBATL640O92_43-20000204.SAR file into this directory and I am
    extracting a file /sapmnt/DEV/exe/./SAPCAR -xvf DBATL640O92_43-
    20000204.SAR but it is giving following error :
    processing archive DBATL640O92_43-20000204.SAR...
    format error in header
    Pl. give us solution and later i want to transfer extrated files
    in /sapmnt/DEV/exe directory.
    Pl. Also let me know how to select appropriate Application Area
    (Component) while creating customer message ?
    Yusuf

    Why is this in the Security forum? it's not a security question.

  • PL/SQL: numeric or value error when extracting xml file from tables.

    create or replace FUNCTION proc_generate_xml_from_tables(p_directory in varchar2,
    p_areaname in varchar2)
    return integer
    AS
    qryCtx DBMS_XMLGEN.ctxHandle;
    result CLOB;
    clob_len number := 0;
    file_ptr utl_file.file_type;
    oTableName restore_metadata.table_name%type;
    o_filename restore_metadata.table_name%type;
    cursor metadata_restore_list(p_area varchar2) is
    select * from restore_metadata
    where instr(area_name,upper(p_Area)) > 0
    order by degree;
    vtabcount number := 0;
    sql_stmt varchar2(300);
    BEGIN
    dbms_lob.createtemporary(result, true,dbms_lob.session);
    oTableName := upper('MAINT_ACTVS');
    vtabcount := 0;
    sql_stmt := 'select count(*) from ' || oTableName;
    execute immediate sql_stmt into vtabcount;
    o_filename := oTableName || '.xml';
    file_ptr := utl_file.fopen(p_directory,o_filename,'W');
    dbms_output.put_line(oTableName);
    qryCtx := dbms_xmlgen.newcontext('select * from ' || oTableName);
    result := dbms_xmlgen.getxml(qryCtx);
    --dbms_output.put_line(result);
    clob_len := dbms_lob.getlength(result);
    dbms_output.put_line('Length of the clob file' || clob_len);
    utl_file.put_line(file_ptr,result);
    utl_file.fclose(file_ptr);
    dbms_xmlgen.closeContext(qryCtx);
    dbms_lob.freetemporary(result);
    return 0;
    EXCEPTION
    when others THEN
    utl_file.fclose(file_ptr);
    dbms_output.put_line('Table Name into Consideration :- ' || oTableName);
    dbms_output.put_line('Oracle Error Number:- ' || sqlcode || ' Ora Message :- ' || sqlerrm);
    return -1;
    END;
    I am getting the following errors..
    SQL> @temp1.sql
    MAINT_ACTVS
    Length of the clob file34245
    Table Name into Consideration :- MAINT_ACTVS
    Oracle Error Number:- -6502 Ora Message :- ORA-06502: PL/SQL: numeric or value error
    What am I doing wrong here?
    DB version is Oracle 10g
    Edited by: userAtoZ on May 6, 2011 2:55 PM

    >
    My problem lies that my xml file is having data more than 32 K.
    When I write it 32K at a time then it work fine.
    >
    Then break it down.
    l_pos number;
    WHILE (l_pos <= clob_len)
      LOOP
        UTL_FILE.PUT_LINE (file_ptr,DBMS_LOB.SUBSTR ( RESULT , 32767,l_pos));
        l_pos := l_pos + 32767;
      END LOOP;
    utl_file.fclose(file_ptr);
     

  • I'm trying to download Premier pro and I'm getting an error message saying "Error when extracting files"

    I'm trying to download Premier pro and I'm getting an error message saying "Error when extracting files". I use a PC and have made the purchase of that service. What's the problem?

    Hi ampsanru,
    We would need some information regarding the error, could you please post a screenshot moreover your system information i.e. OS, RAM & Graphics card.
    -Ankit

  • How to extract SAR file ?

    hi,
    i have downloaded SP15 for NW DEVELOPER STUDIO 7.00 , the file name is JIDE15_0-10003480.SAR
    the patch is for the Developer Studio which is installed in my laptop.
    i put the SAR files same directory with sapcar.exe, then at the dos prompt i run
    c> sapcar -xvf JIDE15_0-10003480.SAR
    and it prompted me error message "format error in header".
    what would be the right way of extracting SAR file in my laptop (windows xp)  ?
    comment and advice are appreciated.
    thanks.
    regards,
    kent

    Hello Kent,
    The command for extracting the sar file is right which you have mentioned.One more thing i want to add up to this message chain.Format header error could happen for couple of reasons.
    1.Check for the correct patch you have downloaded, i mean it should be for the correct OS version and DB
    2.You are using a SAPCAR of a different OS to unpack the patch of a different OS.
    3.Download the patch again and try.
    4.If none of the above is working then probably check with a patch which is on a lower level than the one you are trying to uncar.
    Hope this would be of some help to you.
    Thanks and Regards,
    -Bijesh.

  • SAPCAR error when extracting kernel patches

    Hi gurus
    I am having the following error when extracting so kernel patches:
    SAPCAR could not open for writing sapcar.exe <error 28>.The process cannot acces the file becaues it is being used by another process.
    Maybe its saying that because sapcar is the on that is extracting this patch an now it cant open it.i have followed not 211077 but still not winning.
    on Windows2k3 64bit
    Any ideas welcome

    you can rename the sapcar.exe to oldsapcar.exe and execute oldsapcar.exe
    or  you can move to a different directory and execute from there.

  • Error while extracting zip file

    I am using the following code to extract zip files from jar file
    source = "zip/test.zip"
    destination = "c:\\"
    public void unzip(String source,String destination){
              try{
                   ZipInputStream in = new ZipInputStream( this.getClass().getResourceAsStream(source));
                   FileOutputStream fos = null;
                   ZipEntry ze = null;
                   File ff = null;
                   while ( (ze=in.getNextEntry() ) != null ){
                        System.out.println( "name=" + ze.getName() );
                        ff = new File( destination + ze.getName() );
                        if ( ze.isDirectory() ){
                             System.out.println("making "+ze.getName()+" dir ("+ ff.mkdirs() +")");
                        else{
                             fos = new FileOutputStream( ff );
                             byte[] buf = new byte[1024];
                             int len;
                             while ((len = in.read(buf)) > 0){
                                  fos.write(buf, 0, len);
                             fos.close();
                             System.out.println("wrote file "+ff.getPath()+" success=" + ff.exists() );
                   in.close();
              }catch(Exception e){
                   e.printStackTrace();
         }     But i found error in extracting zip file
    java.io.FileNotFoundException: C:\eclipse\.eclipseproduct (The system cannot find the path specified)
    I need some quick response on it.

    Nothing to do with the resource path....thats fine. Use the code below.....most likely this will fix it.......
    Added a check for directories that start with a ".".  The File utility probably thinks its a file, also added a try....check it does make the "." directories.........dont forget the dukes.
        ZipInputStream zis = null;
        FileOutputStream fos = null;
        try
          zis = new ZipInputStream( new FileInputStream( "C:\\your_path\\your_zipfile_or_jar.zip" ) );
          ZipEntry ze = null;
          File ff = null;
          while ( ( ze = zis.getNextEntry() ) != null )
            System.out.println( "name=" + ze.getName() );
            ff = new File( "C:\\your_path\\" + ze.getName() );
            if ( ze.isDirectory()  || ze.getName().startsWith("."))
              try{ System.out.println( "making " + ze.getName() + " dir (" + ff.mkdirs() + ")" ); }catch(Exception e2){}
            else
              fos = new FileOutputStream( ff );
              byte[] buf = new byte[1024];
              int len;
              while ( ( len = zis.read( buf ) ) > 0 )
                fos.write( buf, 0, len );
              fos.close();
              System.out.println( "wrote file " + ff.getPath() + " success=" + ff.exists() );
          zis.close();
        catch( Exception ex )
          ex.printStackTrace();
        finally
          try { zis.close(); }catch(Exception ex){}
          try { fos.close(); }catch(Exception ex){}
        }

  • Short dump error when extracting delta records from R/3

    I am working on BW 3.5 and I am facing some short dump error when extracting delta records from the r/3 to BW.
    Below is the error message
    Kindly do the needful ASAP.
    Job started
    Step 001 started (program SBIE0001, variant &0000000024277, user ID BWREMOTE)
    Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
    DATASOURCE = 0ISCM_PAYMENT_01
             Current Values for Selected Profile Parameters               *
    abap/heap_area_nondia......... 2000000000                              *
    abap/heap_area_total.......... 2000000000                              *
    abap/heaplimit................ 40000000                                *
    zcsa/installed_languages...... DE                                      *
    zcsa/system_language.......... E                                       *
    ztta/max_memreq_MB............ 2047                                    *
    ztta/roll_area................ 6500000                                 *
    ztta/roll_extension........... 2000000000                              *
    2,454 LUWs confirmed and 2,454 LUWs to be deleted with function module RSC2_QOUT_CONFIRM_DAT
    ABAP/4 processor: MESSAGE_TYPE_X
    Job cancelled

    Hi,
    I look at the transaction ST22 to see which type of error has given you. Take a look at the notes to correct the error.
    Another option is to look at OSS notes, because the error is giving you a standard extractor.
    Greetings,

  • Error when extracting data with extractor 2lis_04_matnr - NEED HELP ASAP !!

    Hi experts!
    Got an error when extracting data with extractor 2lis_04_matnr.
    System says (short dump):
    DUMP TEXT START----
    Runtime error:    CONNE_IMPORT_WRONG_COMP_TYPE
    Exception:   CX_SY_IMPORT_MISMATCH_ERROR
    Error when attempting to import object "MC04P_0MAT_TAB".
    The current ABAP program "SAPLMCEX" had to be terminated because one of the statements could not be executed. This is probably due to an error in the ABAP program. When attempting to import data, it was discovered that the data type of the stored data was not the same as that specified in the program.
    An exception occurred. This exception is dealt with in more detail below. The exception, which is assigned to the class 'CX_SY_IMPORT_MISMATCH_ERROR', was neither caught nor passed along using a RAISING clause, in the procedure  "MCEX_BW_LO_API" "(FUNCTION)".                                                                             
    Since the caller of the procedure could not have expected this exception      
    to occur, the running program was terminated.                                
    The reason for the exception is:  When importing the object "MC04P_0MAT_TAB", the component no. 5 in the dataset has a different type from the corresponding component of the target object in the program "SAPLMCEX". <b>The data type is "D" in the dataset, but "C" in the program.</b>
    DUMP TEXT END----
    Please, can someone explain me how to solve it? 
    Really need help ASAP!
    Thanks in advance,
    Jaume
    Message was edited by:
            Jaume Saumell
    Message was edited by:
            Jaume Saumell

    Hi,
    Check this note: 328181
    So you need to delete entries in SM13/LBWQ for application and also detup table content.
    And then refill teh set up table.
    If you are in production clear the entries by running collective run no of times for this application 04.
    With rgds,
    Anil Kumar Sharma .P

  • How to extract .SAR files

    Hi All
    Can anybody tell me how to extract .SAR files. Is it possible through sapcar.exe, if so how.
    Thanks in advance

    Hi,
    reading the note, I found that it refers to the notes 480180 and 13719 for more information about applying the patch. I can not tell you wether you have to apply this patch or not...
    The patch seems to contain a changed SAP Script form due to some legal changes in India - if you need the changes to this form, you'll have to apply it.
    Basically - this is what note 13719 says - copy the cofile to /usr/sap/trans/cofiles, the data file to /usr/sap/trans/data, go to STMS, add P6BK252127 to the import queue (open the import queue of your system, go to Extras -> Other Requests -> Add) of your system and import it. Note 13719 says to import from the operating system level by calling tp directly, using STMS should also work.
    Best regards,
      Elmar.

  • Error in InfoPackage: Error when uploading Flat Files

    Hello Experts,
    I encoutered this error in Info Package when uploading a flat file.
    When i try to click on the "Preview" button, this errors appear:
    "Error 8 when compiling the upload program: Row
      237, message: Data Type / BIC/ CCCBMA1_COCTR2 was found in a newer"
    Please help to advise what is this error about and how to resolve this?

    hi Annie,
    run RSA1 and try again
    Error when compiling the upload program (Message no. RSAR233)
    other similar problem solved by run program(SE38)RS_TRANSTRU_ACTIVATE_ALL and relogon
    A newer version of the data type error when loading
    Flat File Preview error message
    Error when loading from Flat File
    Error message when previewing data in InfoPackage
    hope this helps.

  • Error when publishing to file

    i keep getting "an unknown error" when publishing to file or publishing all to mobileme...
    It still works if i just publish to mobileme.
    Any ideas?
    Im trying to get my site going on go daddy, and kinda really need it in a folder...

    If you are still getting the error then its likely that you have a corrupt domain file.
    To prove this, quit iWeb, create a new folder on your desktop and drag your domain file out of - Home Folder/Library/Application Support/iWeb - into this.
    Relaunch iWeb to force it to create a new domain file, add some content and try publishing to a folder.
    If this works, your original file is corrupt.

  • Technical Error When Extracting Time Data

    Hi SAP Experts,
    I would like to seek your assistance on this case.
    When business warehouse extracts HR data from SAP, they received this error message stating "Technical error when extracting time data in HR: HRMS_TIME_TIM_QUOTA 00321478".
    Do you have any idea on this?
    Thanks.

    We don't have Business Warehouse, but it seems your system has problems with a Quota, perhaps for employee # 00321478.

  • Multiple JavaScript errors when opening aspx file in Dreamweaver

    I get multiple javascript errors when opening aspx file in Dreamweaver similar to... "While executing translateHyperLink in ExternalRenderers.htm, a JavaScript error occurred."

    Hi Steven,
    Not sure if this is related, but can  you try the solutions in Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6
    Thanks,
    Preran

  • Error when creating ZIP file (return value 2 when IGS was called)

    Hello All
    I attempted to Schedule a Query to the Portal folders and executes fine.  However when it's scheduled to and email, I am getting this message
    'Error when creating ZIP file (return value 2 when IGS was called)'
    Any ideas?
    Thanks ...BK

    Hello Kai
    Thanks very much for the info.  how would I know what patch the IGS is?
    Thank you.
    Regards..BK

Maybe you are looking for