Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Cannot unzip eclipse-platform-3.2.1-win32.zip(ZipException when extrating inside java)
Cannot unzip eclipse-platform-3.2.1-win32.zip [message #492551] Tue, 20 October 2009 17:49 Go to next message
Ted Lyons is currently offline Ted LyonsFriend
Messages: 14
Registered: July 2009
Junior Member
I have a java servlet that programatically unzips the above file. Works fine on WinXP and can unzip the unix versions of this file on unix systems. But a user is trying to run it on a 32 bit version of Win2003 and its throwing a ZipException.

Any ideas why? Has anyone seen this?

Here is the 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:204)
at java.util.zip.ZipFile.<init>(ZipFile.java:235)
at psdi.servlet.EclipseStartupServlet.extractZipFile(Unknown Source)
at psdi.servlet.EclipseStartupServlet.init(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitActi on.run(StubSecurityHelper.java:276)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Aut henticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityMana ger.java:121)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(S tubSecurityHelper.java:68)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInsta nce(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(Ser vletStubImpl.java:504)
at weblogic.servlet.internal.WebAppServletContext.preloadServle t(WebAppServletContext.java:1698)
at weblogic.servlet.internal.WebAppServletContext.loadServletsO nStartup(WebAppServletContext.java:1675)
at weblogic.servlet.internal.WebAppServletContext.preloadResour ces(WebAppServletContext.java:1595)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppS ervletContext.java:2734)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppM odule.java:892)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.ja va:336)
at weblogic.application.internal.flow.ModuleStateDriver$3.next( ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(Stat eMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(M oduleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start( ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.sta rt(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next( ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(Stat eMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(M oduleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate (StartModulesFlow.java:26)
at weblogic.application.internal.BaseDeployment$2.next(BaseDepl oyment.java:641)
at weblogic.application.utils.StateMachineDriver.nextState(Stat eMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDe ployment.java:229)
at weblogic.application.internal.DeploymentStateChecker.activat e(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.ac tivate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOpe ration.activate(AbstractOperation.java:565)
at weblogic.deploy.internal.targetserver.operations.ActivateOpe ration.activateDeployment(ActivateOperation.java:
136)
at weblogic.deploy.internal.targetserver.operations.ActivateOpe ration.doCommit(ActivateOperation.java:104)
at weblogic.deploy.internal.targetserver.operations.StartOperat ion.doCommit(StartOperation.java:128)
at weblogic.deploy.internal.targetserver.operations.AbstractOpe ration.commit(AbstractOperation.java:320)
at weblogic.deploy.internal.targetserver.DeploymentManager.hand leDeploymentCommit(DeploymentManager.java:815)
at weblogic.deploy.internal.targetserver.DeploymentManager.acti vateDeploymentList(DeploymentManager.java:1222)
at weblogic.deploy.internal.targetserver.DeploymentManager.hand leCommit(DeploymentManager.java:433)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispa tcher.commit(DeploymentServiceDispatcher.java:161
)
at weblogic.deploy.service.internal.targetserver.DeploymentRece iverCallbackDeliverer.doCommitCallback(Deployment
ReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentRece iverCallbackDeliverer.access$100(DeploymentReceiv
erCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentRece iverCallbackDeliverer$2.run(DeploymentReceiverCal
lbackDeliverer.java:67)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(Serv erWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Re: Cannot unzip eclipse-platform-3.2.1-win32.zip [message #493268 is a reply to message #492551] Sat, 24 October 2009 02:56 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
You may want to search the net for "unzip problems", I'm not sure exactly why you are seeing it, it's not a common problem but neither is it unheard of, sometimes extra bytes at the end of a zip file confuse the unzip utility.
Previous Topic:Sorting order for index entries
Next Topic:behavior of external links in help view, <a href=... target= ...>
Goto Forum:
  


Current Time: Mon Nov 04 02:36:27 GMT 2024

Powered by FUDForum. Page generated in 0.02690 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top