2 Replies Latest reply on Mar 27, 2012 6:37 AM by 922300

    error in opening zip file when deploying ear package in Weblogic10.3.5

    922300
      There are exception when I deploying ear package in Weblogic10.3.5. The Weblogic server was installed in Red Hat 9. I packaged the ear file by using the Export funtion in Eclipse Indigo (it is downloaded from Oracle web site. It includes the Weblogic server plugin). The ear file was deployed successfully in my own pc (Windows XP, installed Weblogic Server 10.3.5). So I think the ear file is right. But it can't be deployed in Weblogic server in Red Hat 9. The java version in Red Hat 9 is same as my own pc. Would you please give me some clue?

      ####<Oct 28, 2011 11:03:34 PM CST> <Warning> <Deployer> <sz3002-17> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <11d1def534ea1be0:-11255d6c:1334b024f1f:-8000-0000000000000019> <1319814214218> <BEA-149004> <Failures were detected while initiating deploy task for application 'scsmartApp'.>
      ####<Oct 28, 2011 11:03:34 PM CST> <Warning> <Deployer> <sz3002-17> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <11d1def534ea1be0:-11255d6c:1334b024f1f:-8000-0000000000000019> <1319814214218> <BEA-149078> <Stack trace for message 149004
      weblogic.application.ModuleException: Failed to load webapp: 'scsmart'
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
           at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
           at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      Caused By: java.util.zip.ZipException: error in opening zip file
           at java.util.zip.ZipFile.open(Native Method)
           at java.util.zip.ZipFile.<init>(ZipFile.java:127)
           at java.util.zip.ZipFile.<init>(ZipFile.java:144)
           at weblogic.utils.classloaders.ZipClassFinder.<init>(ZipClassFinder.java:23)
           at weblogic.servlet.internal.ArchivedWar$WebInfClassesFinder.<init>(ArchivedWar.java:298)
           at weblogic.servlet.internal.ArchivedWar$WebInfClassesFinder.<init>(ArchivedWar.java:293)
           at weblogic.servlet.internal.ArchivedWar.getClassFinder(ArchivedWar.java:73)
           at weblogic.servlet.internal.War.init(War.java:246)
           at weblogic.servlet.internal.War.<init>(War.java:217)
           at weblogic.servlet.internal.WebAppServletContext.processDocroot(WebAppServletContext.java:2789)
           at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:2666)
           at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:413)
           at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:493)
           at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
           at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:382)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
           at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
           at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)