Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-624

WAR with signed JAR's slow to deploy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • JWS 3.0.3 GA
    • tomcat7
    • None

      Customer is reporting very slow deployment of WAR file containing signed JAR files. Thread dumps show startstop thread remaining like below for quite a while (at least 6 minutes). Note that the thread hangs centralize around JarFile.initializeVerifier and JarFile.getInputStream:

      "localhost-startStop-1" daemon prio=10 tid=0x00007fc458003000 nid=0x6ddc runnable [0x00007fc48e069000]
           java.lang.Thread.State: RUNNABLE
          	at sun.security.util.ManifestDigester.<init>(ManifestDigester.java:179)
          	at java.util.jar.JarVerifier.processEntry(JarVerifier.java:290)
          	- locked <0x00000005def12df8> (a [B)
          	at java.util.jar.JarVerifier.update(JarVerifier.java:228)
          	at java.util.jar.JarFile.initializeVerifier(JarFile.java:348)
          	at java.util.jar.JarFile.getInputStream(JarFile.java:415)
          	- locked <0x00000005de7136b0> (a sun.net.www.protocol.jar.URLJarFile)
          	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:162)
          	at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:233)
          	at org.apache.catalina.loader.WebappClassLoader.getResourceAsStream(Unknown Source)
          	at org.apache.catalina.startup.ContextConfig.populateJavaClassCache(Unknown Source)
      

            rhn-support-csutherl Coty Sutherland
            rhn-support-rbost Robert Bost
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: