Problem opening .zip files
I often have difficulty opening .zip files. I received one today. I know the content is images, it is 683MB, and when I click 'open with' the only opton is Photoshop CS5. However, I then get an error message saying Photoshop cannot open this type of file. I have stuffit expander, but that also results in an error message. I know sometimes archive utility (I think that's the name?) will open a zip file, but not in this case.
Is there a reliable app to that can be used? Any other suggestions?
JB
If you want to relocate the Archive Utility to its usual location it resides at,
Macintosh HD/System/Library/CoreServices
When moving it you will need to authorise the move with your Admin password. After that, running Repair Permissions would be a worthwhile thing as well.
If don't wnat to move it that's OK too, as it works for you, but if you want to be fussy, that's where it lives.
Similar Messages
-
i'm trying to download a zip file through my java program and extract a .dbf file from the downloaded file.
i'm getting java.util.zip.ZipException: error in opening zip file at:
ZipFile zf=new ZipFile("c:\\tomcat\\webapps\\project\\PR.zip");
can anyone tell me what the problem is?
========================================================================
import java.io.*;
import java.net.*;
import java.sql.*;
import java.util.*;
import java.util.zip.*;
public class BhavMod
public static void main(String arr[])
System.out.println("Downloading file PR.ZIP from location http://nseindia.com/content/equities/PR.zip...");
try
URL u = new URL("http://nseindia.com/content/equities/PR.zip");
InputStream ip = u.openStream();
int af;
byte b[] = new byte[256];
File fp = new File("c:\\tomcat\\webapps\\project\\PR.zip");
FileOutputStream fos = new FileOutputStream(fp);
af=1;
for(int i=0;af>0;i++)
af=ip.read(b);
if(af>0) {
fos.write(b);
System.out.print(".");
ip.close();
fos.close();
System.out.println("\n\nDownloaded file PR.Zip to location c:\\tomcat\\webapps\\project\\PR.zip");
catch(Exception e3)
System.out.println("<b>DOWNLOAD FAILED.</b><BR>");
System.out.println(e3);
try{
System.out.println("entered");
ZipFile zf=new ZipFile("c:\\tomcat\\webapps\\project\\PR.zip");
System.out.println("opened");
Enumeration e=zf.entries();
System.out.println("connected"+zf.size());
ZipEntry a=new ZipEntry("dbasefile");
while(e.hasMoreElements())
a=(ZipEntry)e.nextElement();
if(a.getName().startsWith("pr"))
InputStream is=zf.getInputStream(a);
int nw;
File f=new File("c:\\tomcat\\webapps\\project\\bhav.dbf");
FileOutputStream os=new FileOutputStream(f);
while(is.available()>0)
nw=is.read();
os.write(nw);
System.out.println(a);
zf.close();
}catch(Exception e2)
System.out.println(e2);
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String DBUrl = "jdbc:mysql:///portdb";
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection cn=DriverManager.getConnection("jdbc:odbc:dbf");
Statement st=cn.createStatement();
ResultSet rs=st.executeQuery("select * from bhav WHERE MKT='Y' OR MKT='y' OR MKT='N' or MKT='n'");
String str=new String();
Connection cndb=DriverManager.getConnection(DBUrl);
System.out.println("Connected!!!");
Statement stdb=cndb.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
int rsdb=stdb.executeUpdate("delete from script");
System.out.println("UPDATED RATES...\n\nScript-----------------------------------Price");
while(rs.next())
str=rs.getString("SECURITY");
str=str.replace('\'','_');
str=str.trim();
str=str.replace(' ','_');
// to remove blank spaces from script id
String s1=new String(str);
StringBuffer s2=new StringBuffer(s1);
int f;
while((s1.indexOf(' '))!=-1)
f=s1.indexOf(' ');
s2=new StringBuffer(s1);
s2=s2.deleteCharAt(f);
s1=s2.toString();
// so now insert s1 as script id and str as script name....
float price=rs.getFloat("CLOSE_PRIC");
rsdb=stdb.executeUpdate("insert into script values ('"+s1+"','"+str+"','N',"+price+",now())");
System.out.println(str+"\t\t\t\t\t"+price);
catch(Exception eupd)
System.out.println("UPDATION FAILED."+eupd);
=======================================================================
Output:
Downloading file PR.ZIP from location http://nseindia.com/content/equities/PR.zip...
Downloaded file PR.Zip to location c:\tomcat\webapps\project\PR.zip
entered
java.util.zip.ZipException: error in opening zip file
Connected!!!
UPDATED RATES...
Script-----------------------------------Price
S&P_CNX_Nifty 1017.1
CNX_Nifty_Junior 1336.75
S&P_CNX_Defty 739.9
S&P_CNX_500 729.75
CNX_Midcap_200 708.8
ASEA_BROWN_BOVERI_LTD 302.3
ASSOCIATED_CEMENT_CO_LTD 144.9
BAJAJ_AUTO_LTD 499.0
BHEL 206.55
BHARAT_PETROLEUM_CORP__LT 215.1the file is at its location....... not password protected.... and i've thought of all the "half-a-dozen things" u haven't thought of...
thanks anyway for taking the pain to reply.
u needn't have replied if it was bugging u so.
Maybe the zip file isn't at that location. Maybe it
didn't get completely downloaded. Maybe downloading it
puts permissions on it that don't allow you to open
it. Maybe it's password-protected. Maybe half-a-dozen
things I haven't thought of yet. Did you check any of
those obvious things? Can you open the file yourself
with a zip utility? -
ZipException : error in opening zip file
Hello,
I need to create a zip file using Java. I have to zip content from a directory (sub-folders included). So I'm using a recursive method.
In fact my zip file is well created, when I open it with winrar, winzip, everything is ok, same thing with a bash on linux (unzip).
My problem is that I have to open the created zip file in Java. When I do it, i get an exception:
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.zip.ZipFile.<init>(ZipFile.java:234)
...This is my method:
public void zipContent()
ZipOutputStream zipout;
try
zipout = new ZipOutputStream("destination zip file");
zipDir("main source directory", zipout, "");
zipout.close();
catch (FileNotFoundException e)
e.printStackTrace();
catch (IOException e)
e.printStackTrace();
private void zipDir(String source, ZipOutputStream zipout, String relativeDir) throws IOException
File zipDir = new File(source);
String[] dirList = zipDir.list();
byte[] readBuffer = new byte[2156];
int bytesIn = 0;
// Loop through dirList, and zip the files.
for (int i = 0; i < dirList.length; i++)
File f = new File(zipDir, dirList);
if (f.isDirectory())
// If the File object is a directory, call this
// function again to add its content recursively.
String filePath = f.getPath();
String name = f.getName();
if (!name.endsWith("/")) name += "/";
zipEntries.put(name, name);
if (relativeDir.equals(""))
ZipEntry anEntry;
anEntry = new ZipEntry(name);
zipout.putNextEntry(anEntry);
zipout.closeEntry();
zipDir(filePath, zipout, name);
else
ZipEntry anEntry;
if (!relativeDir.endsWith("/"))
relativeDir += "/";
anEntry = new ZipEntry(relativeDir + name);
zipout.putNextEntry(anEntry);
zipDir(filePath, zipout, relativeDir + name);
// Loop again.s
continue;
// Create a FileInputStream on top of f.
FileInputStream fis = new FileInputStream(f);
ZipEntry anEntry;
if ((!relativeDir.endsWith("/")) && (!relativeDir.equals("")))
relativeDir += "/";
if (!relativeDir.equals(""))
anEntry = new ZipEntry(relativeDir + f.getName());
else
anEntry = new ZipEntry(f.getName());
// Place the zip entry in the ZipOutputStream object.
zipout.putNextEntry(anEntry);
zipEntries.put(anEntry.getName(), anEntry.getName());
// Now write the content of the file to the ZipOutputStream.
while ((bytesIn = fis.read(readBuffer)) != -1)
zipout.write(readBuffer, 0, bytesIn);
// Close the Stream.
zipout.closeEntry();
fis.close();
This the code I use to unzip:
try
ZipFile zip = new ZipFile(zipFile);
Enumeration zipEnum = zip.entries();
zipEnum = zip.entries();
while (zipEnum.hasMoreElements())
ZipEntry item = (ZipEntry) zipEnum.nextElement();
// Directory case.
if (item.isDirectory())
File newdir = new File(unzippedFilesDir + "/" + item.getName());
newdir.mkdir();
// File case.
else
String newfile = unzippedFilesDir + "/" + item.getName();
InputStream is = zip.getInputStream(item);
FileOutputStream fos = new FileOutputStream(newfile);
int ch;
while ((ch = is.read()) != -1)
fos.write(ch);
is.close();
fos.close();
zip.close();
catch (Exception e)
System.out.println(e);
e.printStackTrace();
}The exception is thrown on the line:
ZipFile zip = new ZipFile(zipFile);Do you see something weird in my code..?
I'm working on this problem for several days, and I'm losing hope...
Thanks,
PhilThis looks wierd:
ZipFile zip = new ZipFile(zipFile);
Enumeration zipEnum = zip.entries();
zipEnum = zip.entries(); -
Webb Exception - java.util.zip.ZipException: error in opening zip file
I am tring to run my Servlet with myWAR.war. So I started first installing the CookieCounter example that came with weblogic, I did exactly as the document said but I getting the following exception:
Thu Jan 04 11:26:45 MST 2001:<E> <HTTP> Error reading Web application '/weblogic/myserver/cookieWar.war'
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:69)
at weblogic.utils.jar.JarFile.<init>(JarFile.java:57)
at weblogic.utils.jar.JarFile.<init>(JarFile.java:44)
at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:582)
at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Compiled Code)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
Has anybody encountered the problem before I created the jar using jar cvf cookieWar.war cookie- under the command line
I have seen problems like this in the past. When you create your war file, try using "jar
cv0f" so that the jar file won't be compressed...
mark bouchard wrote:
> I am having this same error... the strange thing is i have two different ear files...
> one of them works, the other doesn't. there are NO differences between them according
> to Araxis Merge... both will deploy, and both show servlets as being registered,
> but i can only call the servlets from one...
>
> what is BEA's suggested way of creating an ear file? on NT and on UNIX please....
>
> use the java.util.zip methods? or use a utility like jar or winzip? Personally,
> i've found this deployment to be HIGHLY flakey at best.... my same ear files
> deploy perfectly with iPlanet's app server.
>
> Mark Spotswood <[email protected]> wrote:
> >I think this is basically the same as a file not found error.
> >The error message says it can't open the file. Its looking
> >for the file under: /weblogic/myserver/cookieWar.war
> >Make sure the file is in that directory/readable, etc.
> >--
> >mark
> >
> >Paul Garduno wrote:
> >
> >> Just to let you know, I am getting the same error message. I haven't
> >worked on it but hope to at some point. I would like to know if the
> >Weblogic people have seen this error.
> >>
> >> Paul Garduno
> >>
> >> bionic99 wrote:
> >>
> >> > I am tring to run my Servlet with myWAR.war. So I started first installing
> >the CookieCounter example that came with weblogic, I did exactly as
> >the document said but I getting the following exception:
> >> > Thu Jan 04 11:26:45 MST 2001:<E> <HTTP> Error reading Web application
> >'/weblogic/myserver/cookieWar.war'
> >> > java.util.zip.ZipException: error in opening zip file
> >> > at java.util.zip.ZipFile.open(Native Method)
> >> > at java.util.zip.ZipFile.<init>(ZipFile.java:69)
> >> > at weblogic.utils.jar.JarFile.<init>(JarFile.java:57)
> >> > at weblogic.utils.jar.JarFile.<init>(JarFile.java:44)
> >> > at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:582)
> >> > at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
> >Compiled Code)
> >> > at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
> >> > at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
> >> > at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
> >> > at java.lang.reflect.Method.invoke(Native Method)
> >> > at weblogic.Server.startServerDynamically(Server.java:99)
> >> > at weblogic.Server.main(Server.java:65)
> >> > at weblogic.Server.main(Server.java:55)
> >> > at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
> >> > at java.lang.Thread.run(Thread.java:479)
> >> >
> >> > Has anybody encountered the problem before I created the jar using
> >jar cvf cookieWar.war cookie- under the command line
> >
-
I can't open zip files.
I can't open zip files. Archive utility flashes and disappears. Archive utility does not seem to be in the utility folder. Tried repairing permissions and verifying disk.
Archive Utility is a System-level component; it doesn't live in the Utilities folder.
Wher did the .zip files come from? There may be a problem with the files themselves.
You can try using the Unarchiver, but I'd expect AU to handle them OK.
When you say it won't open them, are you sure it hasn't? It doesn't open a window with the contents usually - it simply puts the enclosed contents in the same location as the .zip file. Is there a folder or .dmg that looks like it may be related? -
J2ee Log is filled all time with "error in opening zip file"
Hi,
When I check the J2ee log in NWA, there is a lot of messages
" java.util.zip.ZipException: error in opening zip file", all time!.
any idea???
thanks in advance.
Detail:
error 2008-11-11 20:44:12:544 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:111)... [see details]
/System/Server com.sapmarkets.bam.jmxadapter.AbstractLog sap.com/tcwddispwda server-epdesa Server 0 0_36836
error 2008-11-11 20:44:12:404 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:111)... [see details]
/System/Server com.sapmarkets.bam.jmxadapter.AbstractLog sap.com/tcwddispwda server-epdesa Server 0 0_36836
error 2008-11-11 20:44:12:404 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:111)... [see details]
/System/Server com.sapmarkets.bam.jmxadapter.AbstractLog sap.com/tcwddispwda server-epdesa Server 0 0_36836
error 2008-11-11 20:44:12:404 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:111)... [see details]Hi Guys -
I am facing a similar issue while trying to run a VC model. I am using BAPI_SALESORDER_GETLIST with two input fields and some output columns.
The problem here is that when I check the output using this BAPI on the backend system (ABAP), I can see the output. However, with VC it always generated a log in defaultTrace file with the following content;
#1.5 #001E0BC934680032000001D300001A500004633307D8A2D2#1234970732710#com.sapmarkets.bam.jmxadapter.AbstractLog##com.sapmarkets.bam.jmxadapter.AbstractLog#Administrator#57787##n/a##61c79e80fdd011ddcf25001e0bc93468#SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#/System/Server#Plain###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:111)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
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.GeneratedMethodAccessor905.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sapmarkets.bam.jmx.connector.AbstractLVServer.invoke(AbstractLVServer.java:183)
at sun.reflect.GeneratedMethodAccessor470.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:161)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
An error was returned from the back-end system: [V4213] No data found
Do you have a clue as to why this is happening?
Kind Regards,
Raza. -
IOException java.util.zip.ZipException: error in opening zip file
Hi Folks,
In my application one Zip file will be placed in the server. to unzip that zip file i have used java.util.Zip.
It is working fine.but some times it gets the following error.
**IOException java.util.zip.ZipException: error in opening zip file**
why is it so? but very rarely. I couldnt identify the exact scenario, where it causes the problem.
Normally that zip file contains set of images of customer.
Please share your inputs.
Thanks,
Balu.Thanks for ur reply.
EJB is not used in my application.
VC++ application at customer side prepares the zip file, and it will upload that zip to te server using ftp.
After uploading done, at the server end one java program(contains main function) will access that folder to unzip.
Thanks,
Balu. -
JWSC Task "Error in opening zip file"
I'm having a problem with JWSC execution. Within this task I have JWS subtask and implementation java file of web service. I have also added the other java files from other packages that are used in the implementation java file. When JWSC does compilation it try to compile java files from other packages that I have added and I'm getting the following error:
<i>
error: error reading C:\Projects\gctss\universe\src\java\com\db\gct\ss\universe\mercury\session\AssetAdminService.java; error in opening zip file</i>
I don't understand how it is relaetd to zip.
Please help me to resolve this problem.J2se 5.0 dosen't like anything other than archives in the classpath. For example, if you put a file directly in the classpath, you will get that error. Hope it helps.
-
DeploymentException: error in opening zip file
I get an deploymentexception during deploy to a clustered environment:
If I during deploy from the Admin console select the option "I will make the deployment accessible from the following location", then no exception is encountered. But if I use default setting I get an error.
The problem with using the above choice, is that managedServer running on a different server, does not see the jar file.
Stack trace:
<12.mar.2007 kl 19.47 CET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: error in opening zip file with : C:\bea\user_projects\domains\nb_domain\.\serve
rs\ManagedServer_1\stage\siltool\siltool.ear
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:189)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
Truncated. see log file for complete stacktrace
java.io.IOException: error in opening zip file with : C:\bea\user_projects\domains\nb_domain\.\servers\ManagedServer_1\s
tage\siltool\siltool.ear
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:204)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at weblogic.utils.jars.JarFileDelegate.<init>(JarFileDelegate.java:32)
Truncated. see log file for complete stacktrace
>
<12.mar.2007 kl 19.47 CET> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.management.D
eploymentException: error in opening zip file with : C:\bea\user_projects\domains\nb_domain\.\servers\ManagedServer_1\st
age\siltool\siltool.ear
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:189)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.j
ava:72)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:15
7)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(Deploymen
tReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiv
erCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCal
lbackDeliverer.java:45)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.io.IOException: error in opening zip file with : C:\bea\user_projects\domains\nb_domain\.\servers\Manage
dServer_1\stage\siltool\siltool.ear
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:204)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at weblogic.utils.jars.JarFileDelegate.<init>(JarFileDelegate.java:32)
at weblogic.utils.jars.VirtualJarFactory.createVirtualJar(VirtualJarFactory.java:24)
at weblogic.application.ApplicationFileManagerImpl.getVirtualJarFile(ApplicationFileManagerImpl.java:194)
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:162)Even i am getting the same exception. The default staging option for my server is "No Stage". when i deploy the application i keep the default staging option but still it throws me the following exception
weblogic.management.DeploymentException:
at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:69)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:72)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
java.util.zip.ZipException: Error opening file - /opt/app/user_projects/servers/m4/stage/app1/admin.war Message - error in opening zip file
at weblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:65)
at weblogic.servlet.utils.WarUtils.isWar(WarUtils.java:44)
at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:54)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:72)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
This happens on a cluster environment, on Solaris 10 with Weblogic 9.2, whereas it works well on Windows and Weblogic 9.1 and Solaris 9 -
Error opening zip file:ZipException
Hi,
I am getting the Log Error in NWA while running the Web Dynpro Java application..The Error is,
java.util.zip.ZipException: Error opening zip file /usr/sap/EPD/JC00/j2ee/cluster/server0/./log/archive/_log_system_logging.log1233875882599.zip
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:140)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
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.GeneratedMethodAccessor357.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
Can any one explian me why this error occurs.And How to Rectify this error.Please suggests the solution for this problem.
Thanks & Regards,
SatheshKumar RThe archive file is empty that why this exception is coming, Find and remove the empty archive file.
OR
To solve the issue you have to close the previously opened streams in your application, when you don't need anymore
hope it will hlep you.
Thanks -
Deploying DC: warning in opening zip file
Hi,
I got this warning from Dev studio DC build on 04s SP08:
packDeployArchive:
[srcpacker] Creating source archive
[srcpacker] Adding source archive from xxxxxxxx
[srcpacker] WARNING: Could not open ZIP file C:\Documents and Settings\xxxxx\.dtc\LocalDevelopment\t\21FBE3BC3185FEB251FDBE23923FAB55\wda-pp\src\java\src.zip.HASH : error in opening zip file
It's pointing to a HASH file not a zip file. The zip file 'src.zip' opens fine if I open it with explorer. I haven't tried if the hash is actually correct for the file or not.
What does this mean then ? Should I care about it ?
JariJari,
I encounter the same problem. Have you got a solution yet?
Helen -
I'm having a problem opening my files -..
I'm having a problem opening my files …..for example if i want to download something off the internet and run it after it always opens in Textedit which is annoying…..other programs open fine which are dmg but the exe files won't run….i need help
If you are in fact running Mac OS 9 or earlier, which is from 2001 or earlier, .dmg files are disk image files like the .smi files used under Mac OS 9, but they are only Mac OS X compatible. They are frequently used to store Mac OS X only installer disk image files. .exe files are are Windows and MS-DOS executable files which can only run with Windows or DOS virtualization:
https://discussions.apple.com/docs/DOC-2741
Most Mac OS 9 programs you'll be able to download either have a .sea, .sit, or .hqx suffix in their file name and are able to be opened with the old Mac OS 9 copy of Stuffit Expander.
If you are using another operating system, please go to Apple menu -> About this Mac and tell us what you are running. You posted to the Mac OS 9 forum, hence my response. If there is an X in the name, you posted to the wrong forum, and I'll have this post redirected and try to answer if I have time. -
Is there a way to open zip files on iphone5?
Is there a way to open zip files on iphone5?
I'll second robdrage on Readle's Documents. Also check out iZip. Dropbox will also open zip files. Any of the above will mange and allow yo to view image files.
-
Error in opening zip file after Patch 4 HF6 install
Hello,
Just upgraded to EP 6 SP 2 Patch 4 HF 6 on a Windows 2000/MSSQL instance. In the cluster\server\managers\console_logs the error.log now contains the following;
error during parse of jar file D:\usr\sap\XXXA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.admin.LoggingConsole\private\lib\com.sap.portal.runtime.admin.LoggingConsolecore.jar
java.util.zip.ZipException: error in opening zip file.
I also receive this error message for several other .jar files we've deployed.
Any ideas what steps need to be taken to correct this message?
Regards,
JohnHere is a list of our .zip errors we see. Two of these files are not 0-byte in length, they have been identified by a size at the end of the file.
Also, I am checking on the LoggingConsole. I'll post something when I have an answer.
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.LoggingConsole\lib\com.kcc.yy.kc.LoggingConsoleapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.LoggingConsole\private\lib\com.kcc.yy.kc.LoggingConsolecore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmkmconvkc\lib\com.sap.pct.crm.kcdam.crmkmconvkcapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmkmconvkc\private\lib\com.sap.pct.crm.kcdam.crmkmconvkccore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmdamkc\lib\com.sap.pct.crm.kcdam.crmdamkcapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.kcdam.crmdamkc\private\lib\com.sap.pct.crm.kcdam.crmdamkccore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.admin.LoggingConsole\lib\com.sap.portal.runtime.admin.LoggingConsoleapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.admin.LoggingConsole\private\lib\com.sap.portal.runtime.admin.LoggingConsolecore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
Portal initialization done.
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.PortalMonitor\private\lib\com.kcc.yy.kc.PortalMonitorcore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\lib\com.kcc.yy.kc.atKCDesk.MastHeadapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\exlib\com.kcc.yy.kc.atKC.MastHeadapi.jar - 1kb
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\exlib\com.sap.portal.navigation.mastheadapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\private\lib\com.kcc.yy.kc.atKCDesk.MastHeadcore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.MastHead\private\exlib\com.kcc.yy.kc.atKC.MastHeadcore.jar - 5kb
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.ToolArea\lib\com.kcc.yy.kc.atKCDesk.ToolAreaapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKCDesk.ToolArea\private\lib\com.kcc.yy.kc.atKCDesk.ToolAreacore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.pagesensitivity\lib\com.kcc.yy.kc.atKC.pagesensitivityapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.pagesensitivity\private\lib\com.kcc.yy.kc.atKC.pagesensitivitycore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.layouts\lib\com.kcc.yy.kc.atKC.layoutsapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.layouts\private\lib\com.kcc.yy.kc.atKC.layoutscore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.mk.kc.bb\private\lib\com.kcc.mk.kc.bbcore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
[email protected]5c #
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.Logon\lib\com.kcc.yy.kc.atKC.Logonapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.atKC.Logon\private\lib\com.kcc.yy.kc.atKC.Logoncore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.kcc.yy.kc.systemviewer\private\lib\com.kcc.yy.kc.systemviewercore.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
[email protected]3e #
error during parse of jar file D:\usr\sap\DGPA\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.crm.debug.SOAPTest\lib\Jcatestapi.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) -
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>
Maybe you are looking for
-
How do i get two ipods on one computer
Ok How can I share songs with two ipods on one computer!!! Help PLEASE !!!!!!!!!1
-
Downloading one image instead of the enrtire gallery- seems logical?
I want my users to be able to download one or two images per gallery of 30+. Seems like whichever image is largest on the screen you should assume that 1 image will download, got the next 2 or 3 and if you do not want them, pass on those, but if you
-
Install SQL Server Express 2014 on same machine as SQL Server Express 2008 R2
Hello, I have a customer with a CRM application using SQL Server 2008 Express (installed as part of the product installation). They wish to use another database-based application and the CRM company is recommending a separate instance of SQL for the
-
Hi ya'll! I'm still learning how to navigate my way with Lightroom. (Last time I wrote, I did get some responses that work. Thanks so much!) Now, I have another question. When I try to copy pics from my external drive to a CD/DVD, no matter if do it
-
50 Hz noise ECG filtering using FFT and its inverse in LabVIEW
I have to write a LabVIEW Program to put the 50 HZ noise in the ECG spectrum using the FFT and then with the Inverse of the FFT I must take it out,but without using any filter.so if anybody can help me with that, I will be thankful.