javax.servlet.ServletException: java.lang.InternalError: jzentry == 0, jzfile = 1075555720, total = 13265, name = /usr/local/jdk1.5.0/jre/lib/rt.jar, i = 11444, message = invalid LOC header (bad signature)

chinaunix.net | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [CONF-6023] Error starting up Confluence 2.2 - Atlassian JIRA

    atlassian.com | 2 years ago
    javax.servlet.ServletException: java.lang.NullPointerException
  2. 0

    OKKY - java.util.zip.ZipException: error in opening zip file 에러

    okky.kr | 7 months ago
    java.util.zip.ZipException: error in opening zip file
  3. 0

    Struts Validation framework error

    Coderanch | 8 years ago | Ashok Sharma
    javax.servlet.UnavailableException: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Recently I have upgraded from Struts 1.1 to Struts 1.3.8. I get the following exception during server-startup.( when I run Resin 3.1.3 -with out internet access). My Server starts successfully without any Struts issues if I've internet access. I checked for all the DTDs/XSDs & TLD files which have 'java.sun.com' as part of the URI. Currently I have the following TLD/DTD files presentunder \resin-pro-3.1.3\webapps\<my-app>\WEB-INF\tld permittedTaglibs.tld fn.tld validator-rules_1_1.dtd x-1_0-rt.tld struts-bean.tld yoshida.tld web-app_2_3.dtd c.tld SUN_MICR.SF x-1_0.tld fmt.tld struts-nested.tld struts-config_1_0.dtd tiles-config_1_1.dtd c-1_0.tld sql-1_0-rt.tld fmt-1_0-rt.tld struts-html.tld struts-logic.tld taglibs-session.tld struts-html-el.tld x.tld tiles-config.dtd web-app_2_2.dtd struts-template.tld SUN_MICR.RSA sql.tld struts-form.tld taglibs-request.tld struts.tld scriptfree.tld validation_1_1.dtd struts-bean-el.tld c-1_0-rt.tld taglibs-log.tld struts-logic-el.tld pack.properties x-rt.tld struts-tiles.tld fmt-1_0.tld struts-config_1_1.dtd sql-1_0.tld MANIFEST.MF web-jsptaglibrary_2_0.xsd web-jsptaglibrary_1_1.dtd web-jsptaglibrary_1_2.dtd I would like to know, which DTD/TLD/XSD file is causing ActionServlet-init to throw the following error. Recently while googling... I read somewhere that the following <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> has to be replaced with SYSTEM etc?? I Appreciate your help in getting rid of this exception. Error Logs: [06:00:12.609] javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com [06:00:12.609] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408) [06:00:12.609] at javax.servlet.GenericServlet.init(GenericServlet.java:70) [06:00:12.609] at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:789) [06:00:12.609] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716) [06:00:12.609] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150) [06:00:12.609] at com.caucho.server.webapp.WebApp.start(WebApp.java:1800) [06:00:12.609] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646) [06:00:12.609] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) [06:00:12.609] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528) [06:00:12.609] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163) [06:00:12.609] at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675) [06:00:12.609] at com.caucho.server.host.Host.start(Host.java:437) [06:00:12.609] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646) [06:00:12.609] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) [06:00:12.609] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528) [06:00:12.609] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163) [06:00:12.609] at com.caucho.server.host.HostContainer.start(HostContainer.java:479) [06:00:12.609] at com.caucho.server.cluster.Server.start(Server.java:1151) [06:00:12.609] at com.caucho.server.cluster.Cluster.startServer(Cluster.java:719) [06:00:12.609] at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:455) [06:00:12.609] at com.caucho.server.resin.Resin.start(Resin.java:694) [06:00:12.609] at com.caucho.server.resin.Resin.initMain(Resin.java:1114) [06:00:12.609] at com.caucho.server.resin.Resin.main(Resin.java:1316) Thanks!

    Apache's JIRA Issue Tracker | 9 years ago | HR
    javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.InternalError

      jzentry == 0, jzfile = 1075555720, total = 13265, name = /usr/local/jdk1.5.0/jre/lib/rt.jar, i = 11444, message = invalid LOC header (bad signature)

      at java.util.zip.ZipFile$3.nextElement()
    2. Java RT
      JarFile$1.nextElement
      1. java.util.zip.ZipFile$3.nextElement(ZipFile.java:427)
      2. java.util.zip.ZipFile$3.nextElement(ZipFile.java:413)
      3. java.util.jar.JarFile$1.nextElement(JarFile.java:214)
      4. java.util.jar.JarFile$1.nextElement(JarFile.java:213)
      4 frames
    3. com.caucho.jsp
      TldManager.create
      1. com.caucho.jsp.TldManager.loadJarTlds(TldManager.java:381)
      2. com.caucho.jsp.TldManager.init(TldManager.java:258)
      3. com.caucho.jsp.TldManager.create(TldManager.java:125)
      3 frames