ORA-20100: ORA-01116: error in opening database file

Hi -
I'm hitting this error for the first time. Anyone encountered this before? Any suggestions will be very appreciated. Thanks!
141 EXCEPTION
142
143 when others then
144 raise_application_error('-20100',SQLERRM);
145 End;
146 /
20080207
20080312
Declare
ERROR at line 1:
ORA-20100: ORA-01116: error in opening database file
ORA-06512: at line 144

Thanks Satish for your reply.
I let the DBA know and he was first suspecting a corrupted data file, but found no errors in the log. So, he was not sure why we got the error.
We just re-ran and it went through fine the next time. strange though...

Similar Messages

  • Oracle Error code: 1116, message: ORA-01116: error in opening database file

    Hi ,
    Please advise on this error message
    Oracle Error code: 1116, message: ORA-01116: error in opening database file 202 ORA-01110: data file 202: '/u02/app/oracle/oradata/ubidev12/dbf/temp02.dbf'
    All these while, the dashboard working well in my local computer application with server database.
    Just discovered this error when I refresh the data.
    Kindly advise.
    Thanks,
    Kim Yoke

    the more detail error is
    Oracle Error code: 1116, message: ORA-01116: error in opening database file 203 ORA-01110: data file 203: '/u02/app/oracle/oradata/ubidev12/dbf/temp03.dbf' ORA-27041: unable to open file SVR4 Error: 2: No such file or directory Additional information

  • ORA-01116: error in opening database

    I am trying to run a query in UNIX via sqlplus and I am getting this error
    sqlplus username/password @querymane.sql
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01116: error in opening database file 1
    ORA-01110: data file 1: '/u01/app/oracle/oradata/PNTR/system01.dbf'
    ORA-27092: size of file exceeds file size limit of the process
    Additional information: 262143
    Additional information: 537089
    I will appreciate any hint!

    Check "ulimit" and set it to "unlimited".

  • ORA-01119: error in creating database file

    Hi,
    I am trying to run scripts adcrtbsp.sql but it is giving following error.
    adcrtbsp.sql script contains:
    CREATE TABLESPACE
    APPS_TS_TX_DATA
    DATAFILE '?/dbf/transaction_table.dbf'
    SIZE 1000 M REUSE
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K
    SEGMENT SPACE MANAGEMENT AUTO ;
    ALTER TABLESPACE
    APPS_TS_TX_DATA
    add DATAFILE
    '?/dbf/transaction_table_2.dbf'
    SIZE 1000 M;
    ALTER TABLESPACE
    APPS_TS_TX_DATA
    add DATAFILE
    '?/dbf/transaction_table_3.dbf'
    SIZE 1000 M;
    CREATE TABLESPACE
    APPS_TS_TX_IDX
    DATAFILE '?/dbf/transaction_index.dbf'
    SIZE 1000 M REUSE
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128 K
    SEGMENT SPACE MANAGEMENT AUTO ;
    ALTER TABLESPACE
    APPS_TS_TX_IDX
    add DATAFILE
    '?/dbf/transaction_index_2.dbf'
    SIZE 1000 M;
    sqlplus system/pwd @adcrtbsp.sql
    CREATE TABLESPACE
    ERROR at line 1:
    ORA-01119: error in creating database file 'f:/oracle/dbf/transaction_table.dbf'
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Anybody can guide ??

    Hi,
    Let me explain..
    You have started you session
    sqlplus system/pwd @adcrtbsp.sql
    Its trying to create here "'f:/oracle/dbf/transaction_table.dbf' "
    Try to check the path with folder whether exists or not "/dbf"
    Aman.. nice reply... !! I am late :-(
    - Pavan Kumar N

  • ORA-20100: ODE-00002: Error in loading Common Language Runtime

    Hi!
    I try to execute .NET stored Procedure (ODE version 11.1.0.6.20)
    But error rmessag appear:
    SQL> select getstring() from dual;
    select getstring() from dual
    ERROR at line 1:
    ORA-20100: ODE-00002: Error in loading Common Language Runtime
    ORA-06512: at "SYS.DBMS_CLR", line 243
    ORA-06512: at "SYSTEM.GETSTRING", line 6
    Can you help me ?
    Regards
    IgorM

    Are you generating the .NET stored procedure using VS 2003 or VS 2005? If you are using VS 2003 then you should have .NET framework v1.1 (or v2.0) installed in your database server. If it is VS 2005, then you must have .NET framework v2.0.50727 installed in your database server?
    Can you please check registry value of ".NETFramework" in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_<HOMENAME>\ODE where <HOMENAME> is the appropriate Oracle home in the database server.
    Please post all your .NET stored procedure queries in the .NET Stored Procedure forum (.NET Stored Procedures

  • Install Lightroom on a new computer - error message 2203.database Cannot open database file system error 2147287037. Can anyone help me with this?

    I am trying to install lightroom on a new computer and am getting error message 2203.database Cannot open database file system error 2147287037. Can anyone help me with this?

    This site has some info
    Error 2203 | Install | Creative Suite 4, 5, or 5.5 products or updates

  • Same message 2 dnld Plugin, (Java), and Adobe Reader: Error 2203.Database: C:\Windows\Installer\ced2e.ipi. Cannot open database file. System error -2147287035.E

    Spent all afternoon downloading Java plugiins and Adobe reader; each with the following "failure message."
    Error 2203.Database: C:\Windows\Installer\ced2e.ipi. Cannot open database file. System error -2147287035.Error 2203.Database: C:\Windows\Installer\ced2e.ipi. Cannot open database file. System error -2147287035.

    This is going to sound lame, but... have you shut down and restarted Windows since this problem began? Sometimes the Windows Installer starts behaving erratically, perhaps due to a backlog of deferred updates, and the only way to get around it is to reboot.

  • Error in opening zip file after Patch 4 HF6 install

    Hello,
    Just upgraded to EP 6 SP 2 Patch 4 HF 6 on a Windows 2000/MSSQL instance.  In the cluster\server\managers\console_logs the error.log now contains the following;
    error during parse of jar file D:\usr\sap\XXXA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.admin.LoggingConsole\private\lib\com.sap.portal.runtime.admin.LoggingConsolecore.jar
    java.util.zip.ZipException: error in opening zip file.
    I also receive this error message for several other .jar files we've deployed.
    Any ideas what steps need to be taken to correct this message?
    Regards,
    John

    Here is a list of our .zip errors we see.  Two of these files are not 0-byte in length, they have been identified by a size at the end of the file.
    Also, I am checking on the LoggingConsole.  I'll post something when I have an answer.
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.LoggingConsole\lib\com.kcc.yy.kc.LoggingConsoleapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.LoggingConsole\private\lib\com.kcc.yy.kc.LoggingConsolecore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmkmconvkc\lib\com.sap.pct.crm.kcdam.crmkmconvkcapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmkmconvkc\private\lib\com.sap.pct.crm.kcdam.crmkmconvkccore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmdamkc\lib\com.sap.pct.crm.kcdam.crmdamkcapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmdamkc\private\lib\com.sap.pct.crm.kcdam.crmdamkccore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.admin.LoggingConsole\lib\com.sap.portal.runtime.admin.LoggingConsoleapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.admin.LoggingConsole\private\lib\com.sap.portal.runtime.admin.LoggingConsolecore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    Portal initialization done.
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.PortalMonitor\private\lib\com.kcc.yy.kc.PortalMonitorcore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\lib\com.kcc.yy.kc.atKCDesk.MastHeadapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\exlib\com.kcc.yy.kc.atKC.MastHeadapi.jar - 1kb
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\exlib\com.sap.portal.navigation.mastheadapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\private\lib\com.kcc.yy.kc.atKCDesk.MastHeadcore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\private\exlib\com.kcc.yy.kc.atKC.MastHeadcore.jar - 5kb
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.ToolArea\lib\com.kcc.yy.kc.atKCDesk.ToolAreaapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.ToolArea\private\lib\com.kcc.yy.kc.atKCDesk.ToolAreacore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.pagesensitivity\lib\com.kcc.yy.kc.atKC.pagesensitivityapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.pagesensitivity\private\lib\com.kcc.yy.kc.atKC.pagesensitivitycore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.layouts\lib\com.kcc.yy.kc.atKC.layoutsapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.layouts\private\lib\com.kcc.yy.kc.atKC.layoutscore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.mk.kc.bb\private\lib\com.kcc.mk.kc.bbcore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    [email protected]5c #
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.Logon\lib\com.kcc.yy.kc.atKC.Logonapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.Logon\private\lib\com.kcc.yy.kc.atKC.Logoncore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.systemviewer\private\lib\com.kcc.yy.kc.systemviewercore.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
    [email protected]3e #
    error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.debug.SOAPTest\lib\Jcatestapi.jar
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)

  • Error in opening zip file

    i'm trying to download a zip file through my java program and extract a .dbf file from the downloaded file.
    i'm getting java.util.zip.ZipException: error in opening zip file at:
    ZipFile zf=new ZipFile("c:\\tomcat\\webapps\\project\\PR.zip");
    can anyone tell me what the problem is?
    ========================================================================
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    import java.util.*;
    import java.util.zip.*;
    public class BhavMod
    public static void main(String arr[])
    System.out.println("Downloading file PR.ZIP from location http://nseindia.com/content/equities/PR.zip...");
         try
              URL u = new URL("http://nseindia.com/content/equities/PR.zip");
              InputStream ip = u.openStream();
              int af;
              byte b[] = new byte[256];
         File fp = new File("c:\\tomcat\\webapps\\project\\PR.zip");
              FileOutputStream fos = new FileOutputStream(fp);
              af=1;
              for(int i=0;af>0;i++)
                   af=ip.read(b);
                   if(af>0) {
                        fos.write(b);     
                        System.out.print(".");
              ip.close();
              fos.close();
    System.out.println("\n\nDownloaded file PR.Zip to location c:\\tomcat\\webapps\\project\\PR.zip");
    catch(Exception e3)
    System.out.println("<b>DOWNLOAD FAILED.</b><BR>");
    System.out.println(e3);
         try{
              System.out.println("entered");
         ZipFile zf=new ZipFile("c:\\tomcat\\webapps\\project\\PR.zip");
              System.out.println("opened");
         Enumeration e=zf.entries();
         System.out.println("connected"+zf.size());
         ZipEntry a=new ZipEntry("dbasefile");
         while(e.hasMoreElements())
              a=(ZipEntry)e.nextElement();
         if(a.getName().startsWith("pr"))
         InputStream is=zf.getInputStream(a);
         int nw;
         File f=new File("c:\\tomcat\\webapps\\project\\bhav.dbf");
         FileOutputStream os=new FileOutputStream(f);
         while(is.available()>0)
         nw=is.read();
         os.write(nw);
    System.out.println(a);
              zf.close();
    }catch(Exception e2)
    System.out.println(e2);
    try{
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              String DBUrl = "jdbc:mysql:///portdb";
              Class.forName("com.mysql.jdbc.Driver").newInstance();
    Connection cn=DriverManager.getConnection("jdbc:odbc:dbf");
    Statement st=cn.createStatement();
    ResultSet rs=st.executeQuery("select * from bhav WHERE MKT='Y' OR MKT='y' OR MKT='N' or MKT='n'");
    String str=new String();
    Connection cndb=DriverManager.getConnection(DBUrl);
              System.out.println("Connected!!!");
    Statement stdb=cndb.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    int rsdb=stdb.executeUpdate("delete from script");
    System.out.println("UPDATED RATES...\n\nScript-----------------------------------Price");
    while(rs.next())
    str=rs.getString("SECURITY");
    str=str.replace('\'','_');
              str=str.trim();
    str=str.replace(' ','_');
              // to remove blank spaces from script id
              String s1=new String(str);
              StringBuffer s2=new StringBuffer(s1);
              int f;
              while((s1.indexOf(' '))!=-1)
                   f=s1.indexOf(' ');
                   s2=new StringBuffer(s1);
                   s2=s2.deleteCharAt(f);
                   s1=s2.toString();                         
    // so now insert s1 as script id and str as script name....
    float price=rs.getFloat("CLOSE_PRIC");
    rsdb=stdb.executeUpdate("insert into script values ('"+s1+"','"+str+"','N',"+price+",now())");
    System.out.println(str+"\t\t\t\t\t"+price);
         catch(Exception eupd)
              System.out.println("UPDATION FAILED."+eupd);
    =======================================================================
    Output:
    Downloading file PR.ZIP from location http://nseindia.com/content/equities/PR.zip...
    Downloaded file PR.Zip to location c:\tomcat\webapps\project\PR.zip
    entered
    java.util.zip.ZipException: error in opening zip file
    Connected!!!
    UPDATED RATES...
    Script-----------------------------------Price
    S&P_CNX_Nifty                         1017.1
    CNX_Nifty_Junior                         1336.75
    S&P_CNX_Defty                         739.9
    S&P_CNX_500                         729.75
    CNX_Midcap_200                         708.8
    ASEA_BROWN_BOVERI_LTD                         302.3
    ASSOCIATED_CEMENT_CO_LTD                         144.9
    BAJAJ_AUTO_LTD                         499.0
    BHEL                         206.55
    BHARAT_PETROLEUM_CORP__LT                         215.1

    the file is at its location....... not password protected.... and i've thought of all the "half-a-dozen things" u haven't thought of...
    thanks anyway for taking the pain to reply.
    u needn't have replied if it was bugging u so.
    Maybe the zip file isn't at that location. Maybe it
    didn't get completely downloaded. Maybe downloading it
    puts permissions on it that don't allow you to open
    it. Maybe it's password-protected. Maybe half-a-dozen
    things I haven't thought of yet. Did you check any of
    those obvious things? Can you open the file yourself
    with a zip utility?

  • Error while opening the file store file "WLS_DIAGNOSTICS000000.DAT".....

    I have a WL 9.2.1 running on Sun solaris o/s .....it is failing to start thowing the following exception
    <Mar 19, 2009 5:21:17 PM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was a
    n error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:44)
    at weblogic.diagnostics.lifecycle.DiagnosticFoundationService.start(DiagnosticFoundationService.java:107)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS0
    00000.DAT"
    at weblogic.store.io.file.Heap.open(Heap.java:166)
    at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:85)
    at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:350)
    at weblogic.store.PersistentStoreManager.createFileStore(PersistentStoreManager.java:202)
    at weblogic.diagnostics.archive.DiagnosticStoreRepository.getStore(DiagnosticStoreRepository.java:61)
    at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:42)
    ... 4 more
    Caused by: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.store.io.file.StoreDir.throwIOException(StoreDir.java:213)
    at weblogic.store.io.file.StoreDir.open(StoreDir.java:103)
    at weblogic.store.io.file.Heap.open(Heap.java:164)
    ... 9 more
    Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11
    at weblogic.store.io.file.direct.DirectIONative.open(Native Method)
    at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:51)
    at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:138)
    at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:112)
    at weblogic.store.io.file.StoreFile.open(StoreFile.java:142)
    at weblogic.store.io.file.StoreDir.open(StoreDir.java:95)
    ... 10 more
    i went ahead and checkd the file and the privs on the file they look correct -rw-r--r-- ...but when i just restart it ..it starts with no errors the next time......What could be the issue.....please help
    Then only reason i could think of is the size of the file is 35MB now...is this the problem....if yes....is there a way to automaticaly rotate this file ....

    The root cause appears to be right in the stack trace:
    Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11I think this indicates that either the file was either locked (because another instance of WebLogic had it opened), or that the file was unavailable for some reason. WebLogic locks files as a safety precaution to prevent misconfigured setups (multiple domains sharing the same directory and store name) from attempting to share the same file.
    I don't think that this message necessarily means there is a file corruption.
    As for rotation, the file store automatically adds new files as needed (I think its 1 file for every 2GB of data). The "diagnostics" file store is generated by the optional diagnostics feature, and I think that this feature has options for controlling the amount of stored data.
    Tom

  • Java.util.zip.ZipException error in opening zip file

    Hello all,
    We are using Sun Java System web server 6.1 SP2. When I tried to deploy an application, I received this message: "Posted content length of --- exceeds limit of --- " the -dashes are the size of the file actually.
    I then added an init-param to the web.xml specifying the maximum size.
    After doing that, I tried to deploy the war file using administration interface, but received a network tcp/ip error. I then deployed it using command line wdeploy command. It worked but the web server won't start up after the deployment. The following error messages are found in the log file. Any thoughts as to whats wrong here? Is there a bug in SP2?
    [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]: URI='/search', ResourcePath='/WEB-INF/sun-web-search.tld' [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]:
    tldConfigJar(/WEB-INF/sun-web-search.tld): java.util.zip.ZipException: error in opening zip file
    [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]: URI='/jstl-fmt', ResourcePath='/WEB-INF/fmt.tld' [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]: tldConfigJar(/WEB-INF/fmt.tld): java.util.zip.ZipException: error in opening zip file
    [22/Sep/2006:17:30:48] failure ( 5668): CORE4007: Internal error: Unexpected Java exception thrown (java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2, org/xml/sax/ext/Attributes2), stack: java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2 at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1717) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:983) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1431) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1301) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at org.apache.xerces.parsers.AbstractSAXParser.<init>(Unknown Source) at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:274) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:882) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1004) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:257) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3752) at com.iplanet.ias.web.WebModule.start(WebModule.java:257) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) at org.apache.catalina.core.StandardHost.start(StandardHost.java:652) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355) at org.apache.catalina.startup.Embedded.start(Embedded.java:995) at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431) at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500) at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161) [22/Sep/2006:17:30:48] failure ( 5668): CORE3186: Failed to set configuration

    ooks like you are running into bug: 4719677
    When you deploy a web application using the Administration Server from a
    remote machine, the maximum upload size by default is 10 MB. This can be
    changed by editing the
    install-root/bin/https/webapps/instance-app/WEB-INF/web.xml file. In the
    servlet webappdeploy, insert an init param named maxUploadSize with a
    value in bytes specifying the maximum upload size. Example:
    <init-param>
    <param-name>maxUploadSize</param-name>
    <param-value>90000000</param-value>
    </init-param>

  • Java.util.zip.ZipException: error in opening zip file Deploment Error

    Hi All,
    I am getting the fallowing Deployment exception while i am trying to deploy my webdynpro DC. Kindly help me if anybody know the solution for it.
    deployment aborted : file:/C:/DOCUME1/291123/LOCALS1/Temp/temp7081pg.comiprscipr~dc_intreg_process.ear
    Aborted: development component 'ipr/scipr/dc_intreg_process'/'pg.com'/'GGD_EPREGDEV_D'/'20101220152524'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error while getting the internal libraries of application pg.com/iprsciprdc_intreg_process in operation update.. Reason: error in opening zip file; nested exception is:      java.util.zip.ZipException: error in opening zip file (message ID: com.sap.sdm.serverext.servertype.i
    Thanks,
    Mahesh Nuli.

    Hello Ram,
    It is saying that the library file is missing. Can you deploy pg.com/iprsciprdc_intreg_process  first and try to deploy this ear temp7081pg.comiprscipr~dc_intreg_process.ear.
    Regards
    Nizamudeen SM

  • ZipException : error in opening zip file

    Hello,
    I need to create a zip file using Java. I have to zip content from a directory (sub-folders included). So I'm using a recursive method.
    In fact my zip file is well created, when I open it with winrar, winzip, everything is ok, same thing with a bash on linux (unzip).
    My problem is that I have to open the created zip file in Java. When I do it, i get an exception:
    java.util.zip.ZipException: error in opening zip file
            at java.util.zip.ZipFile.open(Native Method)
            at java.util.zip.ZipFile.<init>(ZipFile.java:203)
            at java.util.zip.ZipFile.<init>(ZipFile.java:234)
            ...This is my method:
    public void zipContent()
           ZipOutputStream zipout;
            try
                zipout = new ZipOutputStream("destination zip file");
                zipDir("main source directory", zipout, "");
                zipout.close();
            catch (FileNotFoundException e)
                e.printStackTrace();
            catch (IOException e)
                e.printStackTrace();
        private void zipDir(String source, ZipOutputStream zipout, String relativeDir) throws IOException
            File zipDir = new File(source);
            String[] dirList = zipDir.list();
            byte[] readBuffer = new byte[2156];
            int bytesIn = 0;
            // Loop through dirList, and zip the files.
            for (int i = 0; i < dirList.length; i++)
                File f = new File(zipDir, dirList);
    if (f.isDirectory())
    // If the File object is a directory, call this
    // function again to add its content recursively.
    String filePath = f.getPath();
    String name = f.getName();
    if (!name.endsWith("/")) name += "/";
    zipEntries.put(name, name);
    if (relativeDir.equals(""))
    ZipEntry anEntry;
    anEntry = new ZipEntry(name);
    zipout.putNextEntry(anEntry);
    zipout.closeEntry();
    zipDir(filePath, zipout, name);
    else
    ZipEntry anEntry;
    if (!relativeDir.endsWith("/"))
    relativeDir += "/";
    anEntry = new ZipEntry(relativeDir + name);
    zipout.putNextEntry(anEntry);
    zipDir(filePath, zipout, relativeDir + name);
    // Loop again.s
    continue;
    // Create a FileInputStream on top of f.
    FileInputStream fis = new FileInputStream(f);
    ZipEntry anEntry;
    if ((!relativeDir.endsWith("/")) && (!relativeDir.equals("")))
    relativeDir += "/";
    if (!relativeDir.equals(""))
    anEntry = new ZipEntry(relativeDir + f.getName());
    else
    anEntry = new ZipEntry(f.getName());
    // Place the zip entry in the ZipOutputStream object.
    zipout.putNextEntry(anEntry);
    zipEntries.put(anEntry.getName(), anEntry.getName());
    // Now write the content of the file to the ZipOutputStream.
    while ((bytesIn = fis.read(readBuffer)) != -1)
    zipout.write(readBuffer, 0, bytesIn);
    // Close the Stream.
    zipout.closeEntry();
    fis.close();
    This the code I use to unzip:
            try
                ZipFile zip = new ZipFile(zipFile);
                Enumeration zipEnum = zip.entries();
                zipEnum = zip.entries();
                while (zipEnum.hasMoreElements())
                    ZipEntry item = (ZipEntry) zipEnum.nextElement();
                    // Directory case.
                    if (item.isDirectory())
                        File newdir = new File(unzippedFilesDir + "/" + item.getName());
                        newdir.mkdir();
                    // File case.
                    else
                        String newfile = unzippedFilesDir + "/" + item.getName();
                        InputStream is = zip.getInputStream(item);
                        FileOutputStream fos = new FileOutputStream(newfile);
                        int ch;
                        while ((ch = is.read()) != -1)
                            fos.write(ch);
                        is.close();
                        fos.close();
                zip.close();
            catch (Exception e)
                System.out.println(e);
                e.printStackTrace();
            }The exception is thrown on the line:
    ZipFile zip = new ZipFile(zipFile);Do you see something weird in my code..?
    I'm working on this problem for several days, and I'm losing hope...
    Thanks,
    Phil

    This looks wierd:
    ZipFile zip = new ZipFile(zipFile);
    Enumeration zipEnum = zip.entries();
    zipEnum = zip.entries();

  • Weblogic EAR deployment - "error in opening zip file"

    Dear All,
    we build EAR using MAVEN 3.0.4 on Unix and are trying to deploy the application. The weblogic version is 10.3.4.
    We get the following error.
    <Mar 12, 2012 5:31:41 PM CET> <Error> <HTTP> <BEA-101220> <Error occurred while setting document root for "ServletContext@1306153[app:sma-1 module:afis/sma path:/afis/sma spec-version:2.5]" to "/AFIS_DOMAIN/AFIS/servers/production/tmp/_WL_user/sma-1/bmzpi3/sma.web-1.1.0.war".>
    <Mar 12, 2012 5:31:42 PM CET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1331569832008' for task '13'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'afis/sma''
    weblogic.application.ModuleException: Failed to load webapp: 'afis/sma'
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    Truncated. see log file for complete stacktrace
    Caused By: java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:114)
    at java.util.zip.ZipFile.<init>(ZipFile.java:131)
    at weblogic.utils.classloaders.ZipClassFinder.<init>(ZipClassFinder.java:23)
    at weblogic.servlet.internal.ArchivedWar$WebInfClassesFinder.<init>(ArchivedWar.java:298)
    Truncated. see log file for complete stacktrace
    >
    Obviously, the WAR file cannot be opened by Weblogic, but why and how to solve it ... have no clue. We went through almost everything in Internet, regarding this issue, but we couldn't find a solution.
    Every idea or suggestion is more than welcome because I'm running out of ideas :(

    Did you perhaps do something like FTP the EAR file to the RedHat box in text mode or something? Can you check that the file size of the file on RedHat is the same as it was on Windows?

  • Webb Exception - java.util.zip.ZipException: error in opening zip file

              I am tring to run my Servlet with myWAR.war. So I started first installing the CookieCounter example that came with weblogic, I did exactly as the document said but I getting the following exception:
              Thu Jan 04 11:26:45 MST 2001:<E> <HTTP> Error reading Web application '/weblogic/myserver/cookieWar.war'
              java.util.zip.ZipException: error in opening zip file
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:69)
              at weblogic.utils.jar.JarFile.<init>(JarFile.java:57)
              at weblogic.utils.jar.JarFile.<init>(JarFile.java:44)
              at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:582)
              at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Compiled Code)
              at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
              at java.lang.Thread.run(Thread.java:479)
              Has anybody encountered the problem before I created the jar using jar cvf cookieWar.war cookie- under the command line
              

    I have seen problems like this in the past. When you create your war file, try using "jar
              cv0f" so that the jar file won't be compressed...
              mark bouchard wrote:
              > I am having this same error... the strange thing is i have two different ear files...
              > one of them works, the other doesn't. there are NO differences between them according
              > to Araxis Merge... both will deploy, and both show servlets as being registered,
              > but i can only call the servlets from one...
              >
              > what is BEA's suggested way of creating an ear file? on NT and on UNIX please....
              >
              > use the java.util.zip methods? or use a utility like jar or winzip? Personally,
              > i've found this deployment to be HIGHLY flakey at best.... my same ear files
              > deploy perfectly with iPlanet's app server.
              >
              > Mark Spotswood <[email protected]> wrote:
              > >I think this is basically the same as a file not found error.
              > >The error message says it can't open the file. Its looking
              > >for the file under: /weblogic/myserver/cookieWar.war
              > >Make sure the file is in that directory/readable, etc.
              > >--
              > >mark
              > >
              > >Paul Garduno wrote:
              > >
              > >> Just to let you know, I am getting the same error message. I haven't
              > >worked on it but hope to at some point. I would like to know if the
              > >Weblogic people have seen this error.
              > >>
              > >> Paul Garduno
              > >>
              > >> bionic99 wrote:
              > >>
              > >> > I am tring to run my Servlet with myWAR.war. So I started first installing
              > >the CookieCounter example that came with weblogic, I did exactly as
              > >the document said but I getting the following exception:
              > >> > Thu Jan 04 11:26:45 MST 2001:<E> <HTTP> Error reading Web application
              > >'/weblogic/myserver/cookieWar.war'
              > >> > java.util.zip.ZipException: error in opening zip file
              > >> > at java.util.zip.ZipFile.open(Native Method)
              > >> > at java.util.zip.ZipFile.<init>(ZipFile.java:69)
              > >> > at weblogic.utils.jar.JarFile.<init>(JarFile.java:57)
              > >> > at weblogic.utils.jar.JarFile.<init>(JarFile.java:44)
              > >> > at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:582)
              > >> > at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
              > >Compiled Code)
              > >> > at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
              > >> > at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
              > >> > at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              > >> > at java.lang.reflect.Method.invoke(Native Method)
              > >> > at weblogic.Server.startServerDynamically(Server.java:99)
              > >> > at weblogic.Server.main(Server.java:65)
              > >> > at weblogic.Server.main(Server.java:55)
              > >> > at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
              > >> > at java.lang.Thread.run(Thread.java:479)
              > >> >
              > >> > Has anybody encountered the problem before I created the jar using
              > >jar cvf cookieWar.war cookie- under the command line
              > >
              

Maybe you are looking for