Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6199749

A need to document in our API that it is necessary for explict exclusion control when using ZipFile

XMLWordPrintable

      This is related to bug 4369396.

      Questions
      ===========
      Can you ask the customer if the problem can be reproduced everytime ? What is the pattern ? Did the customer modified the war/ear file ( dynamic reloading, deployment etc ) ?

      Answer
      ======
      When the servlet was reloding (weblogic.servlet.internal.ServletStubImpl.checkForReload), the zip class was read, the java process crashes ....


      ---hs_err_pid.log---
      Current Java thread:
          at java.util.zip.ZipFile.getEntry(Native Method)
          at java.util.zip.ZipFile.getEntry(ZipFile.java:146)
          - locked <dd5abaa8> (a weblogic.utils.classloaders.ClasspathClassFinder$Z
      ipFileWrapper) at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:236)
          at weblogic.servlet.internal.WebAppServletContext.getSource(WebAppServletContex
      t.java:4402) at weblogic.servlet.internal.WebAppServletContext.getResourceAsSource(WebAppSer
      vletContext.java:5986) at weblogic.servlet.internal.WebAppServletContext.getResourceAsStream(WebAppSer
      vletContext.java:996) at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1429)
          at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
          at javax.servlet.GenericServlet.init(GenericServlet.java:258)
          at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
      mpl.java:993) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
      t.java:317) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
          at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
      :869) - locked <dd5ca0a0> (a weblogic.servlet.internal.ServletStubImpl)
          at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
      va:848) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
      a:787) - locked <dd5ca0a0> (a weblogic.servlet.internal.ServletStubImpl)
          at weblogic.servlet.internal.ServletStubImpl.reloadServlet(ServletStubImpl.java
      :705) at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.jav
      a:685) - locked <dd5ca0a0> (a weblogic.servlet.internal.ServletStubImpl)
      ---

            Unassigned Unassigned
            cphua Choon-Hong Phua (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: