We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Get an Unsigned Jar

Hi,


all the aspose jars are signed. This is causing issues in production. The reason is everytime a class is loaded via the ClassLoader it locks all other threads trying to load classes. Because the jars are signed the JVM has to do a lot more work to load the class and it take much much longer. We are finding in production that many threads are waiting on the class loader becuase of this signed class content. Can you provide unsigned jars?

A typical stack trace is:

“http-nio-8080-exec-2” daemon prio=3 tid=0x0000000001d04800 nid=0x5e runnable [0xfffffd7fea0c4000]
java.lang.Thread.State: RUNNABLE
at sun.security.provider.DigestBase.engineUpdate(DigestBase.java:139)
at java.security.MessageDigest$Delegate.engineUpdate(MessageDigest.java:568)
at java.security.MessageDigest.update(MessageDigest.java:313)
at sun.security.util.ManifestDigester.manifestDigest(ManifestDigester.java:265)
at sun.security.util.SignatureFileVerifier.verifyManifestHash(SignatureFileVerifier.java:299)
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:236)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:307)
at java.util.jar.JarVerifier.update(JarVerifier.java:218)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:345)
at java.util.jar.JarFile.getInputStream(JarFile.java:412)
- locked <0x00000007b34d94b0> (a java.util.jar.JarFile)
at org.apache.catalina.webresources.JarResource.getJarInputStreamWrapper(JarResource.java:50)
at org.apache.catalina.webresources.AbstractArchiveResource.getContent(AbstractArchiveResource.java:175)
at org.apache.catalina.loader.WebappClassLoaderBase.findResourceInternal(WebappClassLoaderBase.java:2579)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2405)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:854)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1274)
- locked <0x00000007b34ceae8> (a java.lang.Object)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.ac.(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.b.(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.b.(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.b.(Unknown Source)
at com.aspose.slides.ms.core.System.Drawing.a.try(Unknown Source)
at com.aspose.slides.ms.core.System.Drawing.a.do(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.o.do(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.o.do(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.p.for(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.p.(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.pa5e0ff62.a.do(Unknown Source)
at com.aspose.slides.FontsLoader.do(Unknown Source)

Hi Wayne,


Thank you for posting.

I have observed your comments and like to share with you that you can remove META-INF folder inside the jar and it will become the same as an unsigned jar file.

I hope this will be helpful. Please share if I may help you further in this regard.

Best Regards,