[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
Similar Messages
-
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 -
Error: java.util.zip.ZipException: missing entry name
Does anybody know how to solve the following error? I got this error when I was trying to update files in my CVS.
OracleJSP: oracle.jsp.parse.JspParseException: Line # 2, <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
Error: java.util.zip.ZipException: missing entry name
ThanksHi,
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 -
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!
ShawnHi 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, -
Error: java.util.zip.ZipException: invalid bit length repeat
All my jsp and jspx pages starting having this compile error -- has anyone seen this before?
Any help would be much appreciated!All my jsp and jspx pages starting having this compile error -- has anyone seen this before?
Any help would be much appreciated! -
I am getting the following error. Can someone help me on how to fix this issue?
Thanks
E:\oracle\product\oas\10.1.3.1\j2ee\home>java -jar oc4j.jar
OC4J startup failed
org.xml.sax.SAXException: META-INF/boot.xml in E:\oracle\product\oas\10.1.3.1\j2
ee\home\oc4j.jar, line 466: Could not process 'external-classes' for /E:/oracle/
product/oas/10.1.3.1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META
-INF/boot.xml in E:\oracle\product\oas\10.1.3.1\j2ee\home\oc4j.jar): caught java
.util.zip.ZipException: error in opening zip file.
at oracle.classloader.util.XMLConfiguration.fail(XMLConfiguration.java:1
279)
at oracle.classloader.util.XMLConfiguration.registerExternalsFromPackage
Names(XMLConfiguration.java:833)
at oracle.classloader.util.XMLConfiguration.registerExternalsForPostProc
essing(XMLConfiguration.java:842)
at oracle.classloader.util.XMLConfiguration.endElement(XMLConfiguration.
java:716)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(AbstractSAXParser.java:633)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1242)
at oracle.classloader.util.XMLConfiguration.configureLoaders(XMLConfigur
ation.java:277)
at oracle.classloader.util.InitialLoadersFactory.populateLoaders(Initial
LoadersFactory.java:389)
at oracle.classloader.util.InitialLoadersFactory.initLoaders(InitialLoad
ersFactory.java:230)
at oracle.classloader.util.InitialLoadersFactory.create(InitialLoadersFa
ctory.java:167)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:26)Sorry for the delay, i can't attach it so i'll just post it
User:
Logname: root
Monday February 23 14:29:15 GMT 2009
smpatch settings:
smpatch analyze:
Entitlement:
Sun UC patch revision:
112945-03
Solaris release:
Solaris 9 s9_58shwpl3 SPARC
Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 15 April 2002
Solaris Kernel: Generic_112233-05
Machine Type: sun4u
Platform: SUNW,Sun-Fire
Java -version:
Unrecognized option: -version:1.5+
Could not create the Java virtual machine.
Software Cluster:
CLUSTER=SUNWCXall
All ccr properties:
Sun UC package status:
SUNWbreg not installed
SUNWccccr not installed
SUNWccccrr not installed
SUNWccsign not installed
SUNWcsmauth not installed
SUNWppro-plugin-sunos-base not installed
SUNWppror not installed
SUNWpprou not installed
SUNWupdatemgrr not installed
SUNWupdatemgru not installed -
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 -
Error in dependencyCheck java.util.zip.ZipException: invalid entry CRC
Hi,
While running java/j2ee project in Linux, i got error like dependencyCheck, what is the problem for this error, how to slove??? If i run this project in windows operating system its working fine..
The error is like...
dependencyCheck
java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0x6cdda3aa)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:171)
at java.util.jar.JarInputStream.read(JarInputStream.java:177)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
at java.util.jar.JarInputStream.<init>(JarInputStream.java:65)
at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:373)
at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:184)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4064)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)Hello,
we `re facing a similar or the same problem.
While upgrading our machines from 1.5.0_10 t9 1.5.0_13 (JDK) we got this error:
+19.11.2007 14:24:13 org.apache.catalina.core.StandardContext start+
SCHWERWIEGEND: Error in dependencyCheck
java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0xfc0d5d73)
+ at java.util.zip.ZipInputStream.read(Unknown Source)+
Workaround:
We unzip the war-file and recommpress these files with 7-zip (or else) to bla.war - the new war file is deployable.
But:
Has anyone an idea the changes from *.10 to *.13 which provoke this error OR
has war files to be created in another way as "jar cvf filename.war *" in *.13..? -
Portal errors...java.util.zip.ZipException
Hi all,
I don't have any clue how to solve this problem, anybody knows?
Full Message Text
java.util.zip.ZipException: Error opening zip file /usr/sap/P11/DVEBMGS11/j2ee/cluster/server0/./log/archive/_log_kernel_cluster_default.trc1301094236029.zip
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:141)
at java.util.zip.ZipFile.<init>(ZipFile.java:156)
at com.sapmarkets.bam.jmxadapter.AbstractLog.getArchiveInfo(AbstractLog.java:328)
at com.sapmarkets.bam.jmxadapter.AbstractLog.getArchives(AbstractLog.java:454)
at com.sapmarkets.bam.jmxadapter.AbstractLog.getArchives(AbstractLog.java:477)
at sun.reflect.GeneratedMethodAccessor2304.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.getAttribute(DefaultMBeanInvoker.java:129)
at javax.management.StandardMBean.getAttribute(StandardMBean.java:229)
at com.sap.pj.jmx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1296)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.getAttribute(MBeanServerWrapperInterceptor.java:181)
at com.sap.engine.services.jmx.CompletionInterceptor.getAttribute(CompletionInterceptor.java:309)
at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.getAttribute(BasicMBeanServerInterceptor.java:169)
at com.sap.jmx.provider.ProviderInterceptor.getAttribute(ProviderInterceptor.java:195)
at com.sap.engine.services.jmx.RedirectInterceptor.getAttribute(RedirectInterceptor.java:232)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getAttribute(MBeanServerInterceptorChain.java:124)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.getAttribute(MBeanServerSecurityWrapper.java:234)
at com.sap.engine.services.jmx.ClusterInterceptor.getAttribute(ClusterInterceptor.java:522)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getAttribute(MBeanServerInterceptorChain.java:124)
at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.getLogInfo(LogControllerFacade.java:227)
at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.getLogInfosWithPattern(LogControllerFacade.java:193)
at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.getLogInfos(LogControllerFacade.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.getAttribute(DefaultMBeanInvoker.java:129)
at javax.management.StandardMBean.getAttribute(StandardMBean.java:229)
at com.sap.pj.jmx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1296)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.getAttribute(MBeanServerWrapperInterceptor.java:181)
at com.sap.engine.services.jmx.CompletionInterceptor.getAttribute(CompletionInterceptor.java:309)
at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.getAttribute(BasicMBeanServerInterceptor.java:169)
at com.sap.jmx.provider.ProviderInterceptor.getAttribute(ProviderInterceptor.java:195)
at com.sap.engine.services.jmx.RedirectInterceptor.getAttribute(RedirectInterceptor.java:232)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getAttribute(MBeanServerInterceptorChain.java:124)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.getAttribute(MBeanServerSecurityWrapper.java:234)
at com.sap.engine.services.jmx.ClusterInterceptor.getAttribute(ClusterInterceptor.java:522)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getAttribute(MBeanServerInterceptorChain.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.tc.logviewer.mbean.LocalLVMBeanServer.invoke(LocalLVMBeanServer.java:73)
at $Proxy334.getAttribute(Unknown Source)
at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.getAttribute(AbstractLogDepot.java:236)
at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.getLogDescriptors(AbstractLogDepot.java:84)
at com.sap.tc.logviewer.mbean.ServerModelLogDepot.getLogDescriptors(ServerModelLogDepot.java:79)
at com.sap.tc.logviewer.mbean.ServerModelLogDepotGroup$GetLogDescriptorsTask.run(ServerModelLogDepotGroup.java:60)
at com.sap.tc.logviewer.mbean.ServerModelLogDepotGroup.execute(ServerModelLogDepotGroup.java:173)
at com.sap.tc.logviewer.mbean.ServerModelLogDepotGroup.getLogDescriptors(ServerModelLogDepotGroup.java:119)
at com.sap.tc.logviewer.mbean.LogviewerServer.getLogs(LogviewerServer.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
at javax.management.StandardMBean.invoke(StandardMBean.java:286)
at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)
at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:776)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
at com.sap.tc.logviewer.client.j2ee.J2EELogviewerServerInvoker.invoke(J2EELogviewerServerInvoker.java:111)
at com.sap.tc.logviewer.client.j2ee.J2EELogviewerServerProxy.getLogs(J2EELogviewerServerProxy.java:105)
at com.sap.tc.logviewer.client.base.LogviewerClientImpl$GetLogs.run(LogviewerClientImpl.java:442)
at java.lang.Thread.run(Thread.java:770)I am facing the same problem in portal. Whenever I try to click the (F4) button in record working time it goes to infinite loop and it generates the error messge in log. Can you please inform me what have you done to solve this issue.
-
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.
ThanksHi,
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 -
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.5My 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 -
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,
ppAnd 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 configurationooks 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,
Maybe you are looking for
-
How can I use cutom build icons in labview as a switch ?
I have two questions: I am trying to make a user interface, using custom-build icons. -How can I load/copy my icons into labview? What would be the best sollution for the usibility of the icons: -should I try to use the icon as a new overlay for labv
-
I removed my credit card from my apple ID account, and ever since then whenever i try and download a free app it says my apple ID is disabled yet on the computer and my iphone it seems to be working fine?
-
Want to see whether Part1 and and part2 posted
Hello, i want a report to see particular material document whether part1 or part2 posted or not and also no part1 and part2 postings not done.
-
Hi there, I have got a quick question to ask: Can INNER JOIN be written with just the keyword JOIN? For example, INNER JOIN table_b b ON a.col = b.col OR JOIN table_b b ON a.col = b.col Thanks
-
How to download 6.2.0 to Windows 7 Ultimate
G/Mail has recommended to update to Firefox 6.2.0 free version. This was downloaded to laptop, but to no avail. Please assist