zoukankan      html  css  js  c++  java
  • invalid END header (bad central directory offset) 异常解决方法

    今天版本升级时,一个ear包在传到aix下,weblogic后启动出现 

    invalid END header (bad central directory offset)

    后来才发下是文件传输中出现了问题,ssh默认使用ASCII ,改成Binary(二进制)就好了(我是改成total Commander上传的)

    再详细一点,一下附上我的报错信息:

    <Apr 25, 2014 10:58:58 AM CST> <Error> <Deployer> <BEA-149605> <Failed to create App/Comp mbeans for AppDeploymentMBean BPWeb. Error - weblogic.management.DeploymentException: invalid END header (bad central directory offset) with : /usr/local/Oracle/Middleware/user_projects/domains/xstest_domain/servers/AdminServer/upload/BPWeb.ear.
    weblogic.management.DeploymentException: invalid END header (bad central directory offset) with : /usr/local/Oracle/Middleware/user_projects/domains/xstest_domain/servers/AdminServer/upload/BPWeb.ear
    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
    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:89)
    Truncated. see log file for complete stacktrace

    Caused By: java.io.IOException: invalid END header (bad central directory offset) with : /usr/local/Oracle/Middleware/user_projects/domains/xstest_domain/servers/AdminServer/upload/BPWeb.ear
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:137)
    at java.util.jar.JarFile.<init>(JarFile.java:149)
    at java.util.jar.JarFile.<init>(JarFile.java:113)
    at weblogic.utils.jars.JarFileDelegate.<init>(JarFileDelegate.java:32)
    Truncated. see log file for complete stacktrace
    >
    <Apr 25, 2014 10:58:58 AM CST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'BPWeb' due to error weblogic.management.DeploymentException: invalid END header (bad central directory offset) with : /usr/local/Oracle/Middleware/user_projects/domains/xstest_domain/servers/AdminServer/upload/BPWeb.ear.
    weblogic.management.DeploymentException: invalid END header (bad central directory offset) with : /usr/local/Oracle/Middleware/user_projects/domains/xstest_domain/servers/AdminServer/upload/BPWeb.ear
    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
    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:89)
    Truncated. see log file for complete stacktrace

    Caused By: java.io.IOException: invalid END header (bad central directory offset) with : /usr/local/Oracle/Middleware/user_projects/domains/xstest_domain/servers/AdminServer/upload/BPWeb.ear
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:137)
    at java.util.jar.JarFile.<init>(JarFile.java:149)
    at java.util.jar.JarFile.<init>(JarFile.java:113)
    at weblogic.utils.jars.JarFileDelegate.<init>(JarFileDelegate.java:32)
    Truncated. see log file for complete stacktrace

  • 相关阅读:
    类例程_java战斗程序
    "类"的讲稿
    象棋中“车”的攻击范围_C#
    面向对象_方法_例题
    入门例子
    MyBatis
    MyBatis
    MyBatis
    Spring
    Hibernate学习
  • 原文地址:https://www.cnblogs.com/xiyuanbaiyun/p/3688308.html
Copyright © 2011-2022 走看看