Java.util.zip.ZIPException in clusters??

Hi,
          am getting this problem.
          Iam working on NT.
          thanks
          vallabh
          Mon Nov 22 04:15:10 GMT+05:30 1999:<I> <WebLogicServer> WebLogic Server
          started
          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 java.util.zip.ZipFile.<init>(ZipFile.java:84)
          at
          weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java:132)
          at
          weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer.java:74)
          at
          weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java,
          Compiled Code)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStreamBase.java,
          Compiled Code)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.java,
          Compiled Code)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.java,
          Compiled Code)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java,
          Compiled Code)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.java,
          Compiled Code)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInputStreamBase.java,
          Compiled Code)
          at weblogic.cluster.StateDump.readObject(StateDump.java:59)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStreamBase.java,
          Compiled Code)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.java,
          Compiled Code)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.java,
          Compiled Code)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java,
          Compiled Code)
          at
          weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.java,
          Compiled Code)
          at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled
          Code)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
          Compiled Code)
          Mon Nov 22 04:15:20 GMT+05:30 1999:<E> <MulticastSocket> Multicast
          socket receive error: java.lang.RuntimeException: I/O error opening JAR
          file from
          file:/C:/weblogic/mycluster/server195/tmp_deployments/ejbjar21587.jar
          java.util.zip.ZipException: error in opening zip fileMon Nov 22 04:15:51
          GMT+05:30 1999:<I> <NT Performance Pack> Allocating: '2' NT reader
          threads
          at java.util.zip.ZipFile.open(Native Method)
          

I think problem may be with ZIP file, try to open with WinZip, if it opens
          try to extract to some folder and once again zip it, then try with new file.
          Raj
          "vallabh Srinivas" <[email protected]> wrote in message
          news:[email protected]...
          > Hi,
          > am getting this problem.
          > Iam working on NT.
          >
          > thanks
          > vallabh
          >
          > Mon Nov 22 04:15:10 GMT+05:30 1999:<I> <WebLogicServer> WebLogic Server
          > started
          > 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 java.util.zip.ZipFile.<init>(ZipFile.java:84)
          > at
          > weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java:132)
          > at
          >
          weblogic.cluster.AnnotatedServiceOffer.expandClassPath(AnnotatedServiceOffer
          .java:74)
          >
          > at
          >
          weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java
          > Compiled Code)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
          jectInputStreamBase.java,
          > Compiled Code)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
          treamBase.java,
          > Compiled Code)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
          tStreamBase.java,
          > Compiled Code)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
          eamBase.java,
          > Compiled Code)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
          treamBase.java,
          > Compiled Code)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInput
          StreamBase.java,
          > Compiled Code)
          > at weblogic.cluster.StateDump.readObject(StateDump.java:59)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLOb
          jectInputStreamBase.java,
          > Compiled Code)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputS
          treamBase.java,
          > Compiled Code)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInpu
          tStreamBase.java,
          > Compiled Code)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStr
          eamBase.java,
          > Compiled Code)
          > at
          >
          weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputS
          treamBase.java,
          > Compiled Code)
          > at weblogic.cluster.TMSocket.execute(TMSocket.java, Compiled
          > Code)
          > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
          > Compiled Code)
          > Mon Nov 22 04:15:20 GMT+05:30 1999:<E> <MulticastSocket> Multicast
          > socket receive error: java.lang.RuntimeException: I/O error opening JAR
          > file from
          > file:/C:/weblogic/mycluster/server195/tmp_deployments/ejbjar21587.jar
          > java.util.zip.ZipException: error in opening zip fileMon Nov 22 04:15:51
          > GMT+05:30 1999:<I> <NT Performance Pack> Allocating: '2' NT reader
          > threads
          >
          > at java.util.zip.ZipFile.open(Native Method)
          >
          

Similar Messages

  • Java.util.zip.ZipException while ejb clustering

              Hi,
              Trying to do some Clustering with 2 weblogic servers version 5.1
              (sp8)
              No Problem when the servers individually started up, but when one is started whilst
              the other is already running, I get the following error.
              any clues what is going on? Seems to be something wrong with
              the (generated) jar files under clusterName/ServerName/tmp-
              deployments on the other machine. I tried already deleting
              them, but still no hope!
              Is there anyone to help me???
              Thanx in advance,
              Kishore
              Tue Jul 10 17:45:32 BST 2001:<I> <WebLogicServer> WebLogic Server started
              java.util.zip.ZipException: No such file or directory
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:110)
              at java.util.zip.ZipFile.<init>(ZipFile.java:125)
              at weblogic.boot.ServerClassLoader.deploy
              (ServerClassLoader.java:142) at
              weblogic.cluster.AnnotatedServiceOffer.expandClassPath
              (AnnotatedServiceOffer.java:74)
              at weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java:62
              at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStreamBase.java:265)
              at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.java:254)
              at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.java:195)
              at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java:949)
              at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.java:308)
              at weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInputStreamBase.java:480)
              at weblogic.cluster.Announcement.readObject(Announcement.java:73)
              at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStreamBase.java:265)
              at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.java:254)
              at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.java:195)
              at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java:949)
              at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.java:308)
              at weblogic.cluster.TMSocket.execute(TMSocket.java:235)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Tue Jul 10 17:45:33 BST 2001:<E> <MulticastSocket> Multicast socket receive error:
              java.lang.RuntimeException: I/O error opening JAR file from file:/opt/weblogic/mycluster/server1/
              tmp_deployments/ejbjar29814.jar
              

              Make sure that the directory paths are identical for the different instances in
              the cluster.
              Mike
              "kishore kumar" <[email protected]> wrote:
              >
              >Hi,
              >Trying to do some Clustering with 2 weblogic servers version 5.1
              >(sp8)
              >
              >No Problem when the servers individually started up, but when one is
              >started whilst
              >the other is already running, I get the following error.
              >
              >any clues what is going on? Seems to be something wrong with
              >the (generated) jar files under clusterName/ServerName/tmp-
              >deployments on the other machine. I tried already deleting
              >them, but still no hope!
              >
              >Is there anyone to help me???
              >
              >Thanx in advance,
              >Kishore
              >
              >Tue Jul 10 17:45:32 BST 2001:<I> <WebLogicServer> WebLogic Server started
              >java.util.zip.ZipException: No such file or directory
              > at java.util.zip.ZipFile.open(Native Method)
              > at java.util.zip.ZipFile.<init>(ZipFile.java:110)
              > at java.util.zip.ZipFile.<init>(ZipFile.java:125)
              > at weblogic.boot.ServerClassLoader.deploy
              >(ServerClassLoader.java:142) at
              >weblogic.cluster.AnnotatedServiceOffer.expandClassPath
              >(AnnotatedServiceOffer.java:74)
              > at weblogic.cluster.AnnotatedServiceOffer.readObject(AnnotatedServiceOffer.java:62
              >)
              > at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStreamBase.java:265)
              > at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.java:254)
              > at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.java:195)
              > at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java:949)
              > at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.java:308)
              > at weblogic.common.internal.WLObjectInputStreamBase.readArrayList(WLObjectInputStreamBase.java:480)
              > at weblogic.cluster.Announcement.readObject(Announcement.java:73)
              > at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(WLObjectInputStreamBase.java:265)
              > at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.java:254)
              > at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.java:195)
              > at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java:949)
              > at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.java:308)
              > at weblogic.cluster.TMSocket.execute(TMSocket.java:235)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >Tue Jul 10 17:45:33 BST 2001:<E> <MulticastSocket> Multicast socket receive
              >error:
              >java.lang.RuntimeException: I/O error opening JAR file from file:/opt/weblogic/mycluster/server1/
              >tmp_deployments/ejbjar29814.jar
              >
              >
              

  • Problem in clustering in Weblogic 5.1 (java.util.zip.ZipException)

    Hi All,
    We are using WLS 5.1 clustering. 2 WLS are running in 2 different unix box in same subnet. But we are getting the following exception ( Though all the Beans have been deployed successfully).
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.open(Compiled Code)
    at java.util.zip.ZipFile.<init>(Compiled Code)
    at java.util.zip.ZipFile.<init>(Compiled Code)
    at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java:132)
    at weblogic.cluster.AnnotatedServiceOffer.expandClassPath(Compiled Code)
    at weblogic.cluster.AnnotatedServiceOffer.readObject(Compiled Code)
    at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(Compiled Code)
    Fri Jan 25 16:57:22 MST 2002:<E> <MulticastSocket> Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/opt/wlogic/weblogic/obscluster/server113/tmp_deployments/ejbjar-4247.jar
    (cluster name we have changed to obscluster )
    This Exception is coming in both the servers The difference is that the server whose ip ends with 112 is trying to open the file from server113 dir and the server whose ip ends with 113 is trying to open the file from server112 dir.
    In web I have found that if the directory structure of 2 servers doesn't match then this porblem can arise. But for both of my servers the directory structure is same , at least until /opt/wlogic/weblogic/obscluster/ and then the directory server113 or server112 is created by Weblogic automatically when I have started the Server.
    Any help regarding this will be very helpful.
    Thanks & Regards
    Srijeeb.

    Hi everyone,
    I think I have got the solution. Using sp11. added sp11 related jar in PRE_CLASSPATH . Problem Solved....
    Thanks
    Srijeeb

  • Java.util.zip.ZipException: a device attached to the system is not function

    getting a java.util.zip.zipexception : a device attached to the system is not functioning error - what could cause such an error?
    My program finds all zip files in an archive and then searches through them for xls files, which it extracts and re-locates.
    I havent even a clue where to look for the cause of this exception but Ill attach at the bottom the code in the general vicitiny of the trigger so that you can get kind of an idea what Im trying to do, and if im lucky, even spot my problem. :) Thanks!!
    //zips is an array of zip files
    int found = 0;
    File[] haveXLs = new File[zips.length];
    for (int i = 0; i < zips.length; i++){
    String fileName = new String("L:/Vision/Archive/" + zips.getName());
    ZipFile archive = new ZipFile(fileName);
    String name = zips[i].getName().substring(0,8);
    for(Enumeration e = archive.entries(); e.hasMoreElements();){
    ZipEntry entry = (ZipEntry) e.nextElement();
    if(entry.getName().substring(0,8) == name){
    haveXLs[found] = zips[i];
    found++;

    Hey there a few things.
    Make sure that you dont use fileseparators like you do. ("/")
    Use the separator generated for your system.
    Something like:
    String sep = System.getProperty("file.separator");
    You mentioned it work local, but not network.
    Either you have plenty of harddrives or L: is a mapped drive.
    Is it working at the mapped drive?
    When you say on the network, how are you accessing the files?
    Could it be possible for another user to lock a file, so you wont have access to it over the network?
    BR.
    MagDy

  • Java.util.zip.ZIPException

    We are using Oracle Application Server 10g (10.1.2) with AIX OS version 5.3 release 6.
    We are getting error while deploying a "*.war" file. Below is the full error we have got during the installation.
    Error starting from below.
    Failed to deploy web application. File /tmp/dir1341.tmp/abc.war is not a jar file.
    Resolution :
    Base Exception:
    java.util.zip.ZIPException
    Error opening zip file /tmp/dir1341.tmp/abc.war
    Error opening zip file /tmp/dir1341.tmp/abc.war
    Kindly suggest the best provided solution for the same.
    Also let us know about the error belongs Oracle AS application?
    OR
    AIX OS Level error?

    Well as the error suggests, it is neither related to OracleAS nor AIX OS. It is complaining about the WAR file you are trying to deploy. Make sure your abc.war is a well formed WAR file. You can search google for tool to validate a war file.
    Thanks
    Shail

  • Java.util.zip.ZipException: invalid entry size error --  help required

    Hi all
    I am sure this error would have been posted many number of times, but I would really appreciate if someone could help me with my problem. I am working on reading data from a .zip file, which in it has ~5GB data. All I am performing is a read operation through the piece of code specified below. This code worked well for .zip files handling till ~2.5GB
    FileInputStream fis = new FileInputStream(filename);
    BufferedInputStream bis = new BufferedInputStream(fis);
    ZipInputStream zis = new ZipInputStream(bis);
    StreamTokenizer tok = new StreamTokenizer( zis );
    ZipEntry entry;
    while((entry = zis.getNextEntry()) != null)
    \\read from the zip file through the streamTokenizer
    I just print what I read through the program, on the console.
    But the error I get is
    java.util.zip.ZipException: invalid entry size (expected 4294967295 but got 2117536490 bytes)
    at java.util.zip.ZipInputStream.readEnd(Unknown Source)
    at java.util.zip.ZipInputStream.read(Unknown Source)
    at java.util.zip.InflaterInputStream.read(Unknown Source)
    at java.io.StreamTokenizer.read(Unknown Source)
    at java.io.StreamTokenizer.nextToken(Unknown Source)
    at ZipFileStreams.getMessages(ZipFileStreams.java:677)
    at ZipFileStreams.main(ZipFileStreams.java:814)
    Could anybody give me hints as to what am I missing and where am i going wrong. Any help would be appreciated.
    Thanks

    Hi,
    I get the same exception while reading a ZIP file. The size if the ZIP file is just 82KB but I am reading it over FTP not sure if it makes any difference. I am using JDK 1.4.2_05. Here is the code I am trying to execute.
    public class TestFTP {
    public static void main( String[] argv ) throws Exception {
    String inboundPath = "/transfer/inbound/";
    FTPClient ftp = new FTPClient();
    ftp.connect("123");
    ftp.login( "123", "123" );
    ftp.changeWorkingDirectory(inboundPath);
    FTPFile[] zipFiles = ftp.listFiles("*.zip");
    TelnetClient telnetClient;
    for(int i=0;i<zipFiles.length;i++){   
    System.out.println(zipFiles.getName());
    ZipInputStream zis = new ZipInputStream(ftp.retrieveFileStream(zipFiles[i].getName()));
    for (ZipEntry entry = zis.getNextEntry(); entry != null; entry = zis.getNextEntry()){           
    System.out.println(entry.getName());
    The error message is
    java.util.zip.ZipException: invalid entry size (expected 10291 but got 10233 bytes)
         at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:367)
         at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
         at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
         at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:69)
         at test.TestFTP.main(TestFTP.java:41)
    Exception in thread "main"
    Please let me know if you were able to fix the problem.
    Thanks

  • Error(5): java.util.zip.ZipException: invalid entry size (expected 2875 but

    Hi all!
    I'm getting this error when I try to execute my application in JDeveloper: Error(5): java.util.zip.ZipException: invalid entry size (expected 2875 but got 2845 bytes)
    This started to happen after I had checkout my application to CVSNT.
    Any help?
    P.S. I'm using JDeveloper 10.1.3 with CVSNT 2.5

    My cvswrappers file (CVSNT):
    *.cab -kb
    *.class -kb
    *.doc -kb
    *.dll -kb
    *.ear -kb
    *.exe -kb
    *.exp -kb
    *.fla -kb
    *.gif -kb
    *.gz -kb
    *.jar -kb
    *.jpg -kb
    *.jpeg -kb
    *.lib -kb
    *.msi -kb
    *.mso -kb
    *.pdf -kb
    *.pfw -kb
    *.png -kb
    *.ppt -kb
    *.sit -kb
    *.swf -kb
    *.tar -kb
    *.tlb -kb
    *.vsd -kb
    *.xls -kb
    *.war -kb
    *.wmz -kb
    *.zip -kb Via Tortoise client I can add and commit zip (jar) files in binary format and everything is OK.
    If I do that via Jdev, anybody who checkout that module from cvs have zip exception, because JDev didnt sent in binary format. How to setup that?
    Thanx
    Message was edited by:
    vpetreski

  • Error(7): java.util.zip.ZipException: invalid entry size (expected 813 but

    Hi All,
    Error(7): java.util.zip.ZipException: invalid entry size (expected 813 but got 817 bytes)
    Today I opened my working project in Jdeveloper 10.1.3 version and as I compile the project, it gives me this error in all Jsf - Jsp pages.
    The line that it shows the above error in my pages is follows.
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    Any idea ? Till yesterday, I never got this error and all of sudden it started showing up.
    Your help appreciated.
    thanks,
    pp

    And just to add, nothing got checked out from repository (I mean CVS etc).
    I have this project and Jdev on my windows laptop. I just opened it and started getting this strange error. any idea ?

  • Java.util.zip.ZipException Error

    I created a jar file, and put in C:\tools
    C:\tools>java -jar myjar.jar is working fine
    However, if I try to run myjar.jar in other directories, then I have problems.
    I already set the classpath:
    SET CLASSPATH=.;%CLASSPATH%;C:\tools\myjar.jar;
    Here's the error. Any ideas???
    C:\>java -jar myjar.jar
    Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e file specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:117)
    at java.util.jar.JarFile.<init>(JarFile.java:55)

    You always need to specify a proper file name when you use the -jar switch. If you are not in c:\tools you have to run with "java -jar c:\tools\myjar.jar".
    Setting the classpath in particular doesn't help becuase the file name given to the -jar switch will override all settings for classpath. http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.html#userclass
    But since you now have myjar.jar in your classpath, you can run the application from any directory with "java your.main.ClassName" :)

  • 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 when building

    Good Day All,
    I am a newbie and this is my first JWS deployment. I have an app that I am writing in Netbeans 6.1 that I want to deploy via JWS. The app accesses five different JAR libraries and that is where my troubles started. I thought that I needed to figure a way to configure Netbeans so the libraries would be deployed with my app JAR so it would run correctly using JWS.
    I was trying to get things working and now my problem is that when I build I am getting the following error:
    init:
    deps-jar:
    compile:
    Copy libraries to C:\Java\DataMed\dist\lib.
    To run this application from the command line without Ant, try:
    java -jar "C:\Java\DataMed\dist\DataMed.jar"
    jnlp:
    jnlp-init-generate-master:
    C:\Java\DataMed\nbproject\jnlp-impl.xml:61:  The following error occurred while executing this line:
    C:Java\DataMed\nbproject\jnlp-impl.xml:386:  java.util.zip.ZipException:  error in opening zip file
    BUILD FAILED (total time: 0seconds)Scrolling to line 386 in the jnlp-impl.xml file it says:
    componentsprop="jnlp.components">I futzed with my options so much I can't seem to figure out how to get everything reset so I can get a clean build ! As a newbie to Netbeans I sometimes have difficulty figuring out where all the different things are hidden ... I **think** it all went bad when I was working on the Properties > Libraries > Compile > Compile-time Libraries but I can't remember.
    So I have two questions really:
    1) How can I resolve the ZipException error? I suspect it is one of the JAR libraries but how can I tell ?
    2) How do I get JWS to find my five libraries ? I now suspect that I am supposed to upload the five libraries to the webserver and then in my JNLP it will have links to the libraries in the <resources> part of the code. Is that correct ?
    Edited by: DBirdManAR on Aug 10, 2008 7:22 AM
    Rather than spend to much time figuring this out, I just used my revert modifications through my SVN to go back to a previous version that builds correctly.

    Hi,
    I have the same problem but I cannot solve it.
    Help much appreciated.
    Regards,

  • 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

  • [J2EE:160029] I/O error... java.util.zip.ZipException

    Hi,
    I'm using BEA WLS8.1 SP4 on HPUX Itanium2 with JDK 1.4.2.05.
    When I'm trying to deploy my app's ear file it's throwing
    out the error shown below (far below).
    I've placed the ear file in /opt/bea_wls/weblogic81/server/bin/myserver/upload directory with all the permissions set.
    Please could someone help me resolve this.
    Thanks
    Mouli
    [J2EE:160029]I/O error while reading deployment - java.util.zip.ZipException: Could not find End Of Central Directory. java.util.zip.ZipException: Could not find End Of Central Directory at java.util.zip.ZipFile.open(Ljava.lang.String;I)I(Unknown Source) at java.util.zip.ZipFile.<init>(Ljava.io.File;I)V(Unknown Source) at java.util.jar.JarFile.<init>(Ljava.io.File;ZI)V(JarFile.java:127) at java.util.jar.JarFile.<init>(Ljava.io.File;)V(JarFile.java:92) at weblogic.j2ee.J2EEUtils.getArchiveEarInfo(Ljava.io.File;)Lweblogic.j2ee.DeploymentInfo;(J2EEUtils.java:294) at weblogic.j2ee.J2EEUtils.getDeploymentInfo(Ljava.io.File;)[Lweblogic.j2ee.DeploymentInfo;(J2EEUtils.java:206) at weblogic.j2ee.J2EEUtils.getDeploymentInfo(Lweblogic.application.ApplicationFileManager;)[Lweblogic.j2ee.DeploymentInfo;(J2EEUtils.java:158) at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(Ljava.io.File;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Lweblogic.management.configuration.ApplicationMBean;(J2EEApplicationContainerFactory.java:464) at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Lweblogic.management.deploy.DeploymentData;Ljava.lang.String;Z)Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;(DeployerRuntime.java:854) at weblogic.management.deploy.DeployerRuntime.access$000(Lweblogic.management.deploy.DeployerRuntime;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Lweblogic.management.deploy.DeploymentData;Ljava.lang.String;Z)Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;(DeployerRuntime.java:69) at weblogic.management.deploy.DeployerRuntime$1.run()Ljava.lang.Object;(DeployerRuntime.java:1532) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121) at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Lweblogic.management.deploy.DeploymentData;Ljava.lang.String;ZI)Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;(DeployerRuntime.java:1523) at weblogic.management.deploy.DeployerRuntime.activate(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Lweblogic.management.deploy.DeploymentData;Ljava.lang.String;Z)Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;(DeployerRuntime.java:192) at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(DynamicMBeanImpl.java:754) at weblogic.management.internal.DynamicMBeanImpl.invoke(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(DynamicMBeanImpl.java:733) at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava.lang.Object;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1560) at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1528) at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:988) at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:946) at weblogic.management.internal.MBeanProxy.invoke(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(MBeanProxy.java:954) at weblogic.management.internal.MBeanProxy.invokeForCachingStub(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(MBeanProxy.java:481) at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Lweblogic.management.deploy.DeploymentData;Ljava.lang.String;Z)Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;(DeployerRuntimeMBean_Stub.java:1139) at weblogic.management.console.actions.mbean.ApplicationDeployAction.prePerform(Lweblogic.management.console.actions.ActionContext;Lweblogic.management.console.actions.RequestableAction;)Lweblogic.management.console.actions.RequestableAction;(ApplicationDeployAction.java:179) at weblogic.management.console.actions.mbean.DoMBeanWizardAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoMBeanWizardAction.java:215) at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi
    THis may be due to the file was FTP to the directory as ASCII mode ...
    Or the file is corrupt.
    Try to pacgake again (with jar command)
    Jin

  • What cause this error: java.util.zip.ZipException: invalid literal/lengths?

    Hi all,
    Our application produces this error in the logs: (our JDEV is 11.1.1.4.0, WLS 10.3)
    org.apache.myfaces.trinidadinternal.renderkit.core.CoreResponseStateManager _restoreSerializedView
    SEVERE:
    java.util.zip.ZipException: invalid literal/lengths set
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
    at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
    at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2266)
    at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2279)
    at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
    at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
    at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
    I have googled this error for hours and search the forum here, but no luck. Can someone please shed some light on this error? Thanks in advance!
    Shawn

    Hi Shawn,
    Please refer the below thing i found. Hope this may help you in moving forward in resolving. I hope this issue has occured when you are deploying your application WAR.
    ======================================================================================
    Method: read()
    Class: at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
    The above class comes in your exception hierarchy above.
    Reads uncompressed data into an array of bytes. This method will block until some input can be decompressed.
    Throws:
    ZipException - if a ZIP format error has occurred
    ====================================
    This also points that your WAR file is corrupt.
    Class: GZIPInputStream
    IOException - if an I/O error has occurred or the compressed input data is corrupt
    Thanks,

  • Java.lang.Error: java.util.zip.ZipException: The system cannot find the fil

    I got maven 221 installed
    i got jdk 1.6 and 1.5 installed (have tested both)
    I have a strange error. All my co-workers can build but I cant. The only thing I can find is that I dont have installed BEA Weblogic but I dont want to have that installed. It should be able to run anyway.
    Could someone tell me what is wrong? If you need pom.xml I got that one as well.
    process-classes:
    [copy] Copying 4 files to C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content
    [mkdir] Created dir: C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-jar
    [java] Creating an MJF from the contents of directory C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content...
    [java] Compiling the files...
    [java] Creating the list.
    [java] Doing the compile.
    [java] WLMaker-SubProcess: : Exception in thread "main" java.lang.Error: java.util.zip.ZipException: The system cannot find the file specified
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:93)
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.main(BeanGenDriver.java:117)
    [java] WLMaker-SubProcess: : Caused by: java.util.zip.ZipException: The system cannot find the file specified
    [java] WLMaker-SubProcess: :      at java.util.zip.ZipFile.open(Native Method)
    [java] WLMaker-SubProcess: :      at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    [java] WLMaker-SubProcess: :      at java.util.jar.JarFile.<init>(JarFile.java:132)
    [java] WLMaker-SubProcess: :      at java.util.jar.JarFile.<init>(JarFile.java:97)
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:90)
    [java] WLMaker-SubProcess: :      ... 1 more
    [java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
    [java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
    [java] BeanGen code generation failed
    [HUDSON] Archiving C:\hudson\jobs\albpm_ip-identity-asserter_-Build\workspace\pom.xml to C:\hudson\jobs\albpmip-identity-asserter_-Build\modules\dk.skat.ip.integration.albpm$ip-identity-asserter\builds\2010-11-2213-41-28\archive\dk.skat.ip.integration.albpm\ip-identity-asserter\1.2\pom.xml
    [INFO] ------------------------------------------------------------------------

    from my experience, using weblogic jars can be a pain if the full install is not on the local box.
    Note that you dont have to 'install' it. Just copy the directory.
    Reason is that the jar files have manifests with relative classpaths.
    For an example of horror take a look at the weblogic.jar MANIFEST's classpath entry.
    -Fred

Maybe you are looking for

  • Multiple users on one itunes account

    Hi. I have 3 separate users on my Windows 7 machine with each having a unique library but all sharing the same itunes account. I want to split them up and give 2 of them new itunes accounts but obviously I want them to keep their library and if possi

  • Tomcat Crashes for JNI ?

    Hello everyone, I am facing a serious problem. This is as follows: 1. I have wrote some audio/video conversion fuctions using C and make the shared library (*.so files) in linux. 2. I have wrote the JNI code (making it shared library also, *.so file)

  • HT204291 Apple TV help?

    I'm having problems with my Apple TV in my classroom mirroring what I need up on it for my students from my iPad mini. My mini is new, bought this school year.  I have internet but the TV doesn't send out airstream anymore. Help please.

  • Correct LDAP property definition in JAZN config ?

    I specified LDAP in the orion-application.xml file for my app and also specified that in the jazn config file. But it seems to create only GenericProvider object. Also, when I try to get realms from the realm manager object, I get an exception - orac

  • Remediation Script does not work for Compliance Settings Configuration Item / Baseline

    Hello Everyone, I've created a script to check NetBios over TCP/IP state on the NICs and if it is Enabled (Non-compliant) it should run the remediation script to Disable it (Compliant). The script identifies correctly if it is compliant or not but it