Error while updating a jar file

I am trying to update a jar file using teh following command
jar -uf project.jar fileMy.prop
however while doing that i get the following error
java.io.IOException: Error in writing existing jar file
at sun.tools.jar.Main.run(Main.java:179)
at sun.tools.jar.Main.main(Main.java:904)

Perhaps some process (your java program perhaps) is still running that has the file open still? You'll need to shut down the process(es) that have it open. Or you don't have proper rights to the directory/file. Not a java issue.

Similar Messages

  • Error while updating the configuration files (MOB20003)

    hi,
    After installing the BI 4.0 server, i am trying to configure mobile using mobile server configuration tool. When i enter all the information for non Blackberry option as i would like to access through ipad, its giving me the error message" Error while updating the configuration files (MOB20003)" Please advise.

    Hi Somesh,
    If i am not wrong, only a war file deployment is needed to make ipad work.
    This happens with URL hitting directly on the Server.
    If you want to configure VAS and VMS servers, let us know what configuration settings have been done.
    Regards,
    Atul

  • Error while introspecting the JAR file

    I get the following error while introspecting the JAR into BPM
    [Error] Introspection exception : Internal Error:
    java.lang.UnsupportedClassVersionError: Bad version number in .class file.
    Anybdy knows whats the error?

    It means you're using different JDK versions to run OBPM Studio and to compile the classes in your JAR. If you recompile the classes with the same major version of the JDK you use in Studio the introspection should work.

  • Error while deploying a JAR-File into 8i !

    Hello to all Oracle experts,
    At the attempt to deploy a Jar file into the 8i the following
    error message comes onto Shell level:
    initialization complete
    loading : com/sun/xml/tree/XmlDocumentBuilder
    ORA-01536: space quota exceeded for tablespace 'PROCON_DATA'
    Error while loading com/sun/xml/tree/XmlDocumentBuilder
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.DBMS_LOB", line 700
    ORA-06512: at "PROCON.LOADLOBS", line 1
    ORA-06512: at line 1
    creating : com/sun/xml/tree/XmlDocumentBuilder
    Error while creating class com/sun/xml/tree/XmlDocumentBuilder
    ORA-29509: incorrectly formed Java binary class definition
    The command was:
    loadjava -user procon/procon@t2srv1:1521:PROCON -thin -verbose -schema PROCON xml_un.jar
    It would please me if somebody has an idea to this error !
    null

    Hi Olivier,
    you could try the following approach:
    1. Package your JAR files as J2EE Engine libraries and deploy them on it as described here: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm">Working with J2EE Libraries</a>.
    2. Set reference to this library from the application that use them. Depending on your application, refer to the appropriate documentation:
    -- reference from a J2EE app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/15/d5d93fe80fed06e10000000a1550b0/frameset.htm">Referencing Libraries in Applications</a>
    -- reference from a portal app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/02/788540ae1dbb4de10000000a1550b0/frameset.htm">Referencing Elements</a>
    Hope that helps!

  • Error while loading the jar file using loadjava

    Hi,
    I'm trying to load a jar file in to a database through the loadjava utility. First time when i loaded a jar file it created few public synonyms with /'s. like /5b3d7f97_BeanInfoIndexer.
    Now i want to drop these synonyms before i reload the jar file with loadjava.
    If i use DROP PUBLIC SYNONYM /5b3d7f97_BeanInfoIndexer; it gives the following error...
    ERROR at line 1:
    ORA-00933: SQL command not properly ended
    I wonder how to drop these synonyms. I have to drop all these synonyms to freshly load the jar file.
    Thanks
    Shiva

    You can include the synonym names in double quotes in the drop synonym command. But it is not a good idea to drop the synonyms(which have been created by loadjava) using drop synonym command. Instead, you can use dropjava command which will automatically drop all the synonyms created by the loadjava command.

  • Java error while trying download jar file into SYS Schema

    Hi,
    I am trying to use UTL_DBWS package for Consuming Web Services in Oracle 10.2.0.4
    I donwloaded latest copy of the dbwsclient.jar file from the below link.
    http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html
    I chose the below option for downloading the jar file since i use 10.2.0.4 oracle version.
    10.1.3.1 Callout Utility for 10g and 11g RDBMS (ZIP, ~13MB)
    I tried to download the jar file into SYS schema using the below command.
    loadjava -u sys/password -r -v -f -genmissing -s -grant public D:\oracle\Product\10.2.0\DB_1\sqlj\lib\dbwsclientws.jar D:\oracle\Product\10.2.0\DB_1\sqlj\lib\dbwsclientdb102.jar
    But i keep getting the below error.
    class oracle/security/wss/interceptors/ClientSecurityDescriptor: resolution
    existing : Failures occurred during processing
    Can you please advice how do i resolve this error.
    Regards,
    MSP

    I suspect that there is more to the error message than what you are reporting.
    If so please post the entire message.

  • Error while runing the jar file.

    Hi All,
    I am facing one problem.
    I am trying to exeute application jar.
    through command java -jar cleint.jar
    In this jar I am ussing one class ProcessingFailureException this class is in process.jar file. I have set the process.jar in classpath. but when I am running the command
    set classpath=%classpath%;c:\process.jar
    java -jar client.jar
    The foolowing exception is coming
    C:\client>java -jar snmsnbi.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: globaldefs/ProcessingFailureException
    Can any body give the clue ?
    Waiting -
    Vikas Kumar Sahu

    Hello friends.
    I did self study and I got the answer that I forgot to specify specified jar file
    in the MANIFEST.MF file.
    I added te entry and its working filne.
    Regards -
    Vikas Kumar Sahu

  • Error while running ldap40.jar file

    Hi,
    I have cloned an oracle 8i database(which is on windows 2000 sp4 server) to a new server(same configuration i.e windows 2000) to make the new server as a production database. I was not aware that the db server will connect to an LDAP server, so i have missed copyng some configuration files related to ldap. later, after making the new server as production server, development team informed me that some part of application is throwing some ora errors, the errors are
    ora-04088, ora-06512, ora-29532,
    Later i 've copied the configuration files related to ldap server into the db server, and i got some documentation regarding the db server(steps to follow for a new db server). in that we need to loadjava into database by using
    *"call loadjava -username/passwd -resolve %script_path%/ldap40.jar"*
    when i run the above command i got the ora-29552 error
    ORA-29552: verification warning: at offset 66 of netscape.ldap.util.LDIF$Lin
    eReader.readLine resolved FIELD<null> cannot Access netscape.ldap.util.LDIF.COMM
    ENT
    verifier is replacing bytecode at netscape.ldap.util.LDIF$LineReader.readLine:66
    by a throw
    at offset 66 of netscape.ldap.util.LDIF$LineReader.readLine resolved FIELD<null>
    cannot Access netscape.ldap.util.LDIF.COMMENT
    at offset 167 of netscape.ldap.util.LDIF$LineReader.readLine resolved FIELD<null
    cannot Access netscape.ldap.util.LDIF.m_doneverifier is replacing bytecode at netscape.ldap.util.LDIF$LineReader.readLine:16
    7 by a throw
    at offset 167 of netscape.ldap.util.LDIF$LineReader.readLine resolved FIELD<null
    cannot Access netscape.ldap.util.LDIF.m_doneat offset 167 of netscape.ldap.util.LDIF$LineReader.readLine resolved FIELD<null
    cannot Access netscape.ldap.util.LDIF.m_doneplease help me out ,
    Thanks in advance,
    Sai

    Photoshop Scripting Forum http://www.adobeforums.com/webx?13@@.3bbf2765

  • SQLJ: unable to find input file null   (Error while building EJB.jar file)

    Hi,
    I am working on open SQL/SQLJ with the following details
    Name:Employee application(adding an employee to MAXDB through SQLJ connection)
    FRONT-END:JSP/SERVLET
    Middle:Stateless bean with DAO(DB connection) coming from SQLJ
    Back-end:MAXDB
    I have following in abc.sqlj file
    #sql public context Connx with (dataSource = "java:comp/env/jdbc/SAPTSTDB")
    and creating instance and adding to DB in another say xyz.sqlj file
              Connx con = null;
              try{
                   con = new Connx();
                        #sql [con] {insert into TMP_DB1(EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL)
                        values(:(employeeDTO.getEmployeeId()),
                                 :(employeeDTO.getFirstName()),
                                 :(employeeDTO.getLastName()),
                                 :(employeeDTO.getEmail()))};
    My build has no errors..but while building EJB archive with above sqlj files, am getting following error
    "SQLJ: unable to find input file null" for both sqlj files.
    Anybody faced this kind of issue, pls reply back.
    Thanks
    parveen

    Hi,
    I am working on open SQL/SQLJ with the following details
    Name:Employee application(adding an employee to MAXDB through SQLJ connection)
    FRONT-END:JSP/SERVLET
    Middle:Stateless bean with DAO(DB connection) coming from SQLJ
    Back-end:MAXDB
    I have following in abc.sqlj file
    #sql public context Connx with (dataSource = "java:comp/env/jdbc/SAPTSTDB")
    and creating instance and adding to DB in another say xyz.sqlj file
              Connx con = null;
              try{
                   con = new Connx();
                        #sql [con] {insert into TMP_DB1(EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL)
                        values(:(employeeDTO.getEmployeeId()),
                                 :(employeeDTO.getFirstName()),
                                 :(employeeDTO.getLastName()),
                                 :(employeeDTO.getEmail()))};
    My build has no errors..but while building EJB archive with above sqlj files, am getting following error
    "SQLJ: unable to find input file null" for both sqlj files.
    Anybody faced this kind of issue, pls reply back.
    Thanks
    parveen

  • While executing a jar file I am getting an error

    while exec a jar file i am getting an error
    invalid file (bad magic number): Exec format error
    i tried to execute it with the commnad
    java -jar test.jar
    or by directly too
    ./test.jar

    Than tell me how to launch a jar file I tried different ways like
    java -jar MyJar.jar
    and
    MyJar
    and
    ./MyJar
    but its not worked

  • Error while updating EP6.0 from SP09 to SP27

    Hi All,
    I am getting the following error while updating the Enterprise portal 6.0 from SP09 to SP27.
    WARNING    2011-05-19 16:50:09
               CJSlibModule::writeWarning_impl()
    Execution of the command "C:\j2sdk1.4.2_13-x64/bin/java.exe '-classpath' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib/launcher.jar;.' '-Xmx512m' 'com.sap.engine.offline.OfflineToolStart' 'com.sap.engine.configtool.batch.BatchConfig' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/lib;C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib' 'C:\Program Files\sapinst_instdir\PATCH\ORA/getSafeMode.xml'" finished with return code 31415. Output:
    Can not get DB connection. Batchconfig will only be able to execute offline tasks.
    ERROR      2011-05-19 16:50:09
               CJSlibModule::writeError_impl()
    CJS-20076  Error while retrieving the mode of the Java engine. SOLUTION: See output of logfile C:\Program Files\sapinst_instdir\PATCH\ORA/getEngineMode.log: 'Can not get DB connection. Batchconfig will only be able to execute offline tasks.
    TRACE      [iaxxejsbas.hpp:384]
               handleException<ESAPinstJSError>()
    Converting exception into JS Exception EJSException.
    ERROR      2011-05-19 16:50:09
               CJSlibModule::writeError_impl()
    CJS-20076  Error while retrieving the mode of the Java engine. SOLUTION: See output of logfile C:\Program Files\sapinst_instdir\PATCH\ORA/getEngineMode.log: 'Can not get DB connection. Batchconfig will only be able to execute offline tasks.
    Please hel me to resolve this issue.
    Regards
    Karthik Ravoori

    > Execution of the command "C:\j2sdk1.4.2_13-x64/bin/java.exe '-classpath' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib/launcher.jar;.' '-Xmx512m' 'com.sap.engine.offline.OfflineToolStart' 'com.sap.engine.configtool.batch.BatchConfig' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/lib;C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib' 'C:\Program Files\sapinst_instdir\PATCH\ORA/getSafeMode.xml'" finished with return code 31415. Output:
    > Can not get DB connection. Batchconfig will only be able to execute offline tasks.
    You'r JDK is really old, AFAIK the first one officially released for x86_64 on Windows was 1.4.2_17. I suggest you upgrade your JDK ot the latest one (1.4.2_30) and try again.
    Markus

  • Error while updating account dim

    I get the below error while updating the Outline Account Dim.This error occurs only when updating account dim. It does not happen with other dimensions. So it doesn't seem to be the connection being down. If we recycle the analytics server. But we are not able to find out the actual cause for this issue.
    Error message:
    Cannot build dimension. Analytic Server Error(1042017): Network error: The client or server timed out waiting to receive data using TCP/IP. Check network connections. Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server. Restart the client and try again
    Additional information
    Account is defined as dense dimesion with 1800 level 0 members. We are updating this using rules file.
    Potential Number of Data Blocks     :     27762609853440
    Number of Existing Data Blocks     :     2625360
    Index Cache: 40960
    Data cache : 20480
    I appreciate any help in resolving this issue

    There is probably something in your dim build source file that Essbase doesn't like and isn't giving you a good error message. Did this dim build work in the past and you recently added something to it?
    Try excluding certain columns like member properties and data storage just to see if you can get the members to load. Then slowly bring back in the other columns to see if you find the one that has the problem. Similarly try keeping all the columns but just try loading one record and see if it succeeds, this will help you start to narrow down if it is a load rule or source issue. Other option is to create a new load rule, perhaps there is something wrong with the one you are using.
    Unfortunately there is no magic bullet here, you just have to work through small samples to try and isolate what the problem is.

  • ERROR WHILE UPDATING TO INFOCUBE

    Hi All,
    I am using a flat file to load data from datasource into infocubes.The data reaches PSA tables with no errors but after the execution of DTP , the monitors shows up Error Updating to infocube, intitally I thought there could be some problem in the data format of certain fields in the flat file but everything looks to be correct, there are no errors in the transformation rules.
    Here's the ST22 analysis :
    what happened?                                                          
    The current application program detected a situation which really   
    should not occur. Therefore, a termination with a short dump was    
    triggered on purpose by the key word MESSAGE (type X).              
    Termination occurred in the ABAP program "CL_RSAWBN_NAV_TRACE===========CP" -
      in "DUMP".                                                                  
    The main program was "RSAWBN_START ".                                                                               
    In the source code you have the termination point in line 42                 
    of the (Include) program "CL_RSAWBN_NAV_TRACE===========CM004".       
    I have been deleting requests from the infocube , datasources and deleting entries from PSA but always endup getting the "Error while updating to Infocube"
    Have to figure out the solution as the planning team is waiting for me to copy the actual data to the plan cube
    Thanks

    Hi,
    You should have the following format in the flatfile :
    Considering today's date(18 Apr 2008) for example:
    0CALDAY            20080418
    0CALMONTH       200804
    0FISCPER           0042008   
    0FISCPER3         0042008 (I think this can have additional periods as well, not sure though)
    0FISCVARNT       No idea about this.
    Reward with points if helpful.
    Regards
    Hemant Khemani

  • Error while updating budget plan for a user in peoplesoft

    Hi All,
    We are using peopletools 845 and app 8.8 some users are getting this wl error while updating some transactions in PS find the error below,
    Message from the ISAPI plugin:
    Cannot open TEMP file 'C:\WINDOWS\TEMP\_wl_proxy\_post_8500_4' for POST of 7328 bytes: GetLastError() 5
    Build date/time: Oct 25 2004
    Change Number: 452998
    HTTP/1.1 500 Internal Server Error Connection: close Date: Wed, 10 Jun 2009 16:42:27 GMT Server: Microsoft-IIS/6.0 MicrosoftOfficeWebServer: 5.0_Pub X-Powered-By: ASP.NET Content-Type: text/html
    Message from the ISAPI plugin:
    Cannot read -1 bytes of postData from tmp file 'C:\WINDOWS\TEMP\_wl_proxy\_post_8500_4': GetLastError() 0
    Build date/time: Oct 25 2004
    Change Number: 452998
    HTTP/1.1 500 Internal Server Error Connection: close Date: Wed, 10 Jun 2009 16:42:27 GMT Server: Microsoft-IIS/6.0 MicrosoftOfficeWebServer: 5.0_Pub X-Powered-By: ASP.NET Content-Type: text/html
    Thanks in advance!

    Hi,
    Try having a look at this document
    E-WL: Message From the ISAPI Plugin: "Cannot read 8192 bytes of postData from tmp file" [ID 664043.1]
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=664043.1

  • Background job finishes but error Error While Updating Material into Standard SAP5678

    Dear
    we run background job which finishes successfully but when we sqw logs it shows
    Error While Updating Material into Standard SAP5678
    Kindly share the reasons
    Regards

    This is an ERP Upgrade space and you should consider raising threads in the right space for prompt replies. Next time consider using SAP NetWeaver Administrator space for issues like these. Also you should consider closing your previous thread with the correct answer for future reference.
    What I see is a custom job. You should check what the job does and also the trace file of the work process and the consult with the application team or the developer for more information. Unfortunately with that screenshot there is nothing much we can advice you.
    Regards
    RB

Maybe you are looking for