java - Java7 中的小程序在签署 jar 后无法工作

标签 java jar sign signed-applet

我们曾经在 Alfresco 应用程序中有一个小程序,它是用 Java 6 构建和编译的。由于我们的系统需要更新到 Java7 JVM,小程序启动时开始显示所有这些烦人的安全消息,这对我们来说是相当痛苦的。用户。

我们阅读了Java7的指南,看来我们只需要使用CA证书对小程序中涉及的jar进行签名即可。我们这样做了,现在我们所有的 jar 都按照 Java 7 指南并使用 Keystore 工具正确地使用证书进行了签名。然而,我们现在发现调用这些签名 jar 的所有小程序存在两个问题(在本示例中,我将仅显示我们的小程序之一)

1) 小程序现在需要很长时间才能加载(在签名之前,在 Java6 JVM 中过去需要 15 秒,现在我们正在谈论几分钟!!!)。

2) 我们发现 ClassNotfoundException 问题导致我们的小程序无法正常工作。

对我们来说最重要的问题是第二个问题“ClassNotFoundException”,因为在花了几天时间阅读可能的解决方案后,我们无法让它发挥作用。

我们的小程序位于像这样的代码插入的 jsp 页面中

<applet code="uk.co.mmscomputing.application.imageviewer.MainApp.class" 
        codebase="<%= scan.getUrlAlfrescoApplet() %>" 
        archive="scan-plugin-mmsc_v1.2.jar, alfresco-web-service-client.jar, jai_core.jar, jai_codec.jar, activation.jar, alfresco-core.jar, axis-1.4.jar, bcprov-jdk15-137.jar, commons-discovery-0.2.jar, commons-logging-1.1.jar, jaxrpc.jar, mail.jar, opensaml-1.0.1.jar, saaj.jar, wsdl4j-1.5.1.jar, wsdl4j-1.6.2.jar, wss4j.jar, xalan.jar, xercesImpl-2.8.0.jar, xmlsec-1.4.1.jar" 
        width="100%" height="600" name="Veritas Scan">
        <PARAM name="scanFile" value="<%= scan.getFileName() %>">
        <PARAM name="container" value="<%= scan.getSpaceNodeRef().getId() %>">
        <PARAM name="multipage" value="<%= scan.getFactMultipage() %>">
        <PARAM name="urlAlfrescoWS" value="<%= scan.getUrlAlfrescoWS() %>">
        <PARAM name="ocr" value="<%= scan.getOcr() %>">
        <PARAM name="cif" value="<%= scan.getCIF() %>">
        <PARAM name="user" value="<%= scan.getUserName() %>">
        <PARAM name="ticket" value="<%= scan.getTicket() %>">
        <PARAM name="sessionId" value="<%= scan.getSessionId() %>">
        <PARAM name="java_arguments" value="-Xmx256m">
        <PARAM name="java_version" value="1.6*">
        <PARAM name="separate_jvm" value="true">
        Your browser does not support the <code>applet</code> tag.
     </applet>  

签名的 jar 在

tomcat/alfresco/小程序

但是,当我们最后尝试在其 jsp 页面中启动此小程序时,我们会收到以下错误消息:

类未发现异常

uk.co.mmscomputing.application.imageviewer.MainApp.class

我们在java控制台看到的是这样的:

 Java Plugin 10.55.2.13
Usando versión de JRE 1.7.0_55-b13 Java HotSpot(TM) Client VM
Directorio de inicio del usuario = C:\Documents and Settings\Dolores Sanguinetti
----------------------------------------------------
c:   borrar ventana de consola
f:   finalizar objetos en la cola de finalización
g:   recopilación de basura
h:   mostrar este mensaje de ayuda
l:   volcar lista de classloader
m:   imprimir uso de memoria
o:   disparar registro
q:   ocultar consola
r:   recargar configuración de política
s:   volcar propiedades del sistema y de despliegue
t:   volcar lista de threads
v:   volcar pila de threads
x:   borrar caché de classloader
0-5: definir nivel de rastreo en <n>
----------------------------------------------------
CacheEntry[http://IP_SERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar]: updateAvailable=true,lastModified=Thu Jun 16 11:51:52 CEST 2011,length=6280199
CacheEntry[http://IP_SERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar]: updateAvailable=true,lastModified=Thu Jun 16 11:51:52 CEST 2011,length=6280199
CacheEntry[http://IP_SERVER:8080/alfresco/applets/alfresco-web-service-client.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:51:54 CET 2013,length=418382
CacheEntry[http://IP_SERVER:8080/alfresco/applets/alfresco-web-service-client.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:51:54 CET 2013,length=418382
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jai_core.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:30 CEST 2010,length=1966212
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jai_core.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:30 CEST 2010,length=1966212
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jai_codec.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:30 CEST 2010,length=267173
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jai_codec.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:30 CEST 2010,length=267173
CacheEntry[http://IP_SERVER:8080/alfresco/applets/activation.jar]: updateAvailable=true,lastModified=Mon May 05 23:35:34 CEST 2014,length=59420
CacheEntry[http://IP_SERVER:8080/alfresco/applets/activation.jar]: updateAvailable=true,lastModified=Mon May 05 23:35:34 CEST 2014,length=59420
CacheEntry[http://IP_SERVER:8080/alfresco/applets/alfresco-core.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:51:39 CET 2013,length=173167
CacheEntry[http://IP_SERVER:8080/alfresco/applets/alfresco-core.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:51:39 CET 2013,length=173167
CacheEntry[http://IP_SERVER:8080/alfresco/applets/axis-1.4.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:52:13 CET 2013,length=1689344
CacheEntry[http://IP_SERVER:8080/alfresco/applets/axis-1.4.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:52:13 CET 2013,length=1689344
CacheEntry[http://IP_SERVER:8080/alfresco/applets/bcprov-jdk15-137.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:26 CEST 2010,length=1528841
CacheEntry[http://IP_SERVER:8080/alfresco/applets/bcprov-jdk15-137.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:26 CEST 2010,length=1528841
CacheEntry[http://IP_SERVER:8080/alfresco/applets/commons-discovery-0.2.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:01 CET 2013,length=79805
CacheEntry[http://IP_SERVER:8080/alfresco/applets/commons-discovery-0.2.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:01 CET 2013,length=79805
CacheEntry[http://IP_SERVER:8080/alfresco/applets/commons-logging-1.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:15 CET 2013,length=58414
CacheEntry[http://IP_SERVER:8080/alfresco/applets/commons-logging-1.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:15 CET 2013,length=58414
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jaxrpc.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:40 CET 2013,length=39674
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jaxrpc.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:40 CET 2013,length=39674
CacheEntry[http://IP_SERVER:8080/alfresco/applets/mail.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:43 CET 2013,length=364719
CacheEntry[http://IP_SERVER:8080/alfresco/applets/mail.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:43 CET 2013,length=364719
CacheEntry[http://IP_SERVER:8080/alfresco/applets/opensaml-1.0.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:02 CET 2013,length=112773
CacheEntry[http://IP_SERVER:8080/alfresco/applets/opensaml-1.0.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:02 CET 2013,length=112773
CacheEntry[http://IP_SERVER:8080/alfresco/applets/saaj.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=22324
CacheEntry[http://IP_SERVER:8080/alfresco/applets/saaj.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=22324
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wsdl4j-1.5.1.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=136990
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wsdl4j-1.5.1.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=136990
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wsdl4j-1.6.2.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:54:19 CET 2013,length=165762
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wsdl4j-1.6.2.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:54:19 CET 2013,length=165762
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wss4j.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:54:41 CET 2013,length=323332
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wss4j.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:54:41 CET 2013,length=323332
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xalan.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=3175437
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xalan.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=3175437
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xercesImpl-2.8.0.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=1280498
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xercesImpl-2.8.0.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=1280498
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xmlsec-1.4.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:23 CET 2013,length=455842
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xmlsec-1.4.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:23 CET 2013,length=455842
CacheEntry[http://IP_SERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar]: updateAvailable=true,lastModified=Thu Jun 16 11:51:52 CEST 2011,length=6280199
CacheEntry[http://IP_SERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar]: updateAvailable=true,lastModified=Thu Jun 16 11:51:52 CEST 2011,length=6280199
CacheEntry[http://IP_SERVER:8080/alfresco/applets/alfresco-web-service-client.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:51:54 CET 2013,length=418382
CacheEntry[http://IP_SERVER:8080/alfresco/applets/alfresco-web-service-client.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:51:54 CET 2013,length=418382
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jai_core.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:30 CEST 2010,length=1966212
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jai_core.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:30 CEST 2010,length=1966212
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jai_codec.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:30 CEST 2010,length=267173
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jai_codec.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:30 CEST 2010,length=267173
CacheEntry[http://IP_SERVER:8080/alfresco/applets/activation.jar]: updateAvailable=true,lastModified=Mon May 05 23:35:34 CEST 2014,length=59420
CacheEntry[http://IP_SERVER:8080/alfresco/applets/activation.jar]: updateAvailable=true,lastModified=Mon May 05 23:35:34 CEST 2014,length=59420
CacheEntry[http://IP_SERVER:8080/alfresco/applets/alfresco-core.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:51:39 CET 2013,length=173167
CacheEntry[http://IP_SERVER:8080/alfresco/applets/alfresco-core.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:51:39 CET 2013,length=173167
CacheEntry[http://IP_SERVER:8080/alfresco/applets/axis-1.4.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:52:13 CET 2013,length=1689344
CacheEntry[http://IP_SERVER:8080/alfresco/applets/axis-1.4.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:52:13 CET 2013,length=1689344
CacheEntry[http://IP_SERVER:8080/alfresco/applets/bcprov-jdk15-137.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:26 CEST 2010,length=1528841
CacheEntry[http://IP_SERVER:8080/alfresco/applets/bcprov-jdk15-137.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:26 CEST 2010,length=1528841
CacheEntry[http://IP_SERVER:8080/alfresco/applets/commons-discovery-0.2.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:01 CET 2013,length=79805
CacheEntry[http://IP_SERVER:8080/alfresco/applets/commons-discovery-0.2.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:01 CET 2013,length=79805
CacheEntry[http://IP_SERVER:8080/alfresco/applets/commons-logging-1.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:15 CET 2013,length=58414
CacheEntry[http://IP_SERVER:8080/alfresco/applets/commons-logging-1.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:15 CET 2013,length=58414
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jaxrpc.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:40 CET 2013,length=39674
CacheEntry[http://IP_SERVER:8080/alfresco/applets/jaxrpc.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:53:40 CET 2013,length=39674
CacheEntry[http://IP_SERVER:8080/alfresco/applets/mail.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:43 CET 2013,length=364719
CacheEntry[http://IP_SERVER:8080/alfresco/applets/mail.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:43 CET 2013,length=364719
CacheEntry[http://IP_SERVER:8080/alfresco/applets/opensaml-1.0.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:02 CET 2013,length=112773
CacheEntry[http://IP_SERVER:8080/alfresco/applets/opensaml-1.0.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:02 CET 2013,length=112773
CacheEntry[http://IP_SERVER:8080/alfresco/applets/saaj.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=22324
CacheEntry[http://IP_SERVER:8080/alfresco/applets/saaj.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=22324
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wsdl4j-1.5.1.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=136990
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wsdl4j-1.5.1.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=136990
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wsdl4j-1.6.2.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:54:19 CET 2013,length=165762
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wsdl4j-1.6.2.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:54:19 CET 2013,length=165762
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wss4j.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:54:41 CET 2013,length=323332
CacheEntry[http://IP_SERVER:8080/alfresco/applets/wss4j.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:54:41 CET 2013,length=323332
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xalan.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=3175437
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xalan.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=3175437
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xercesImpl-2.8.0.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=1280498
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xercesImpl-2.8.0.jar]: updateAvailable=true,lastModified=Fri Oct 01 12:17:28 CEST 2010,length=1280498
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xmlsec-1.4.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:23 CET 2013,length=455842
CacheEntry[http://IP_SERVER:8080/alfresco/applets/xmlsec-1.4.1.jar]: updateAvailable=true,lastModified=Fri Nov 29 12:55:23 CET 2013,length=455842

关于如何让我们的小程序恢复并在 Java7 中顺利运行有什么想法吗??? 我们非常需要这个:-(。

非常感谢。

最佳答案

非常感谢您给我们这个建议,我们已经在java控制台中设置了跟踪模式,这就是我们得到的结果。仍然不知道为什么找不到该类。

请您看到我们必须解决的任何问题。也不知道为什么我们收到 jar 的消息说

network: URL http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar escrita en archivo C:\Documents and Settings\Dolores Sanguinetti\Configuración local\Datos de programa\Sun\Java\Deployment\cache\6.0\43\e97acab-2f09d0d9-temp
java.lang.SecurityException: invalid SHA1 signature file digest for uk/co/mmscomputing/imageio/tiff/TIFFBaselineFactory.class

非常感谢

Java Plugin 10.55.2.13
Usando versión de JRE 1.7.0_55-b13 Java HotSpot(TM) Client VM
Directorio de inicio del usuario = C:\Documents and Settings\Dolores Sanguinetti
----------------------------------------------------
c:   borrar ventana de consola
f:   finalizar objetos en la cola de finalización
g:   recopilación de basura
h:   mostrar este mensaje de ayuda
l:   volcar lista de classloader
m:   imprimir uso de memoria
o:   disparar registro
q:   ocultar consola
r:   recargar configuración de política
s:   volcar propiedades del sistema y de despliegue
t:   volcar lista de threads
v:   volcar pila de threads
x:   borrar caché de classloader
0-5: definir nivel de rastreo en <n>
----------------------------------------------------
cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@52d654
security:  --- parseCommandLine converted : -Xmx256m
into:
[-Xmx256m]
basic: Listener de progreso agregado: sun.plugin.util.ProgressMonitorAdapter@157e563
security: Expected Main URL: http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/alfresco-web-service-client.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/jai_core.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/jai_codec.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/activation.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/alfresco-core.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/axis-1.4.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/bcprov-jdk15-137.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/commons-discovery-0.2.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/commons-logging-1.1.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/jaxrpc.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/mail.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/opensaml-1.0.1.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/saaj.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/wsdl4j-1.5.1.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/wsdl4j-1.6.2.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/wss4j.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/xalan.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/xercesImpl-2.8.0.jar
basic: Plugin2ClassLoader.addURL parent called for http://IPSERVER:8080/alfresco/applets/xmlsec-1.4.1.jar
security: Se ha activado la comprobación de revocación de la lista negra
security: blacklist: created: NEED_LOAD, lastModified: 1399304647198
security: blacklist: hasBeenModifiedSince 1399304764792 (we have 1399304647198)
security: Está activada la comprobación de lista de bibliotecas de confianza
network: Se ha encontrado la entrada de caché [URL: http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar, versión: null] prevalidated=false/0
cache: Adding MemoryCache entry: http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar
cache: Resource http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar has expired.
network: Conectando http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar con proxy=DIRECT
network: Conectando http://54.217.234.34:8080/ con proxy=DIRECT
network: ResponseCode de http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar: 200
network: Codificación de http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar: null
network: Desconectar conexión con http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar
CacheEntry[http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar]: updateAvailable=true,lastModified=Thu Jun 16 11:51:52 CEST 2011,length=6280199
network: Conectando http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar con proxy=DIRECT
network: Conectando http://54.217.234.34:8080/ con proxy=DIRECT
network: Descargando recurso: http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar
    Content-Lenght: 6.318.795
    Content-Encoding: null
security: blacklist: hasBeenModifiedSince 1399304999901 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305004823 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305002104 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305009260 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305007979 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399304990823 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399304995401 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399304988463 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305011088 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399326351562 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399304764792 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305006260 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399304647307 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399304967057 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305002823 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399304982979 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305022260 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305024401 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305001026 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305006807 (we have 1399304647198)
security: blacklist: hasBeenModifiedSince 1399305017995 (we have 1399304647198)
network: CleanupThread utilizado 120363 us
network: URL http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar escrita en archivo C:\Documents and Settings\Dolores Sanguinetti\Configuración local\Datos de programa\Sun\Java\Deployment\cache\6.0\43\e97acab-2f09d0d9-temp
java.lang.SecurityException: invalid SHA1 signature file digest for uk/co/mmscomputing/imageio/tiff/TIFFBaselineFactory.class
    at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source)
    at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
    at sun.security.util.SignatureFileVerifier.process(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarFile.initializeVerifier(Unknown Source)
    at java.util.jar.JarFile.ensureInitialization(Unknown Source)
    at java.util.jar.JarFile.getCodeSources(Unknown Source)
    at java.util.jar.JavaUtilJarAccessImpl.getCodeSources(Unknown Source)
    at com.sun.deploy.security.EnhancedJarVerifier.validate(Unknown Source)
    at com.sun.deploy.cache.CacheEntry.processJar(Unknown Source)
    at com.sun.deploy.cache.CacheEntry.access$2200(Unknown Source)
    at com.sun.deploy.cache.CacheEntry$10.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
    at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
    at com.sun.deploy.cache.Cache$6.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
    at com.sun.deploy.cache.DeployFileOutputStream.close(Unknown Source)
    at java.io.FilterOutputStream.close(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(Unknown Source)
    at java.io.BufferedInputStream.close(Unknown Source)
    at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
    at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
    at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
    at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
    at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
network: Eliminar entrada de caché: http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar
cache: MemoryCache: removed entry http://IPSERVER:8080/alfresco/applets/scan-plugin-mmsc_v1.2.jar
network: CleanupThread utilizado 2 us


......
......
.....
......
......
......
......
......
......
......



network: No se ha encontrado la entrada de caché [URL: http://IPSERVER:8080/alfresco/applets/uk/co/mmscomputing/application/imageviewer/MainApp.class, versión: null]
network: Conectando http://IPSERVER:8080/alfresco/applets/uk/co/mmscomputing/application/imageviewer/MainApp.class con proxy=DIRECT
network: No se ha encontrado la entrada de caché [URL: http://IPSERVER:8080/alfresco/applets/uk/co/mmscomputing/application/imageviewer/MainApp/class.class, versión: null]
network: Conectando http://IPSERVER:8080/alfresco/applets/uk/co/mmscomputing/application/imageviewer/MainApp/class.class con proxy=DIRECT
java.lang.ClassNotFoundException: uk.co.mmscomputing.application.imageviewer.MainApp.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
basic: cargar: clase uk.co.mmscomputing.application.imageviewer.MainApp.class no encontrada.
java.lang.ClassNotFoundException: uk.co.mmscomputing.application.imageviewer.MainApp.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Ignored exception: java.lang.ClassNotFoundException: uk.co.mmscomputing.application.imageviewer.MainApp.class
basic: Dialog type is not candidate for embedding
basic: Listener de progreso eliminado: sun.plugin.util.ProgressMonitorAdapter@157e563
security: Accediendo a las claves y el certificado del perfil de usuario de Mozilla: null
security: Restablecer el almacén de certificados de sesión denegados

关于java - Java7 中的小程序在签署 jar 后无法工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23826009/

相关文章:

java - 不能从静态上下文中引用非静态方法 execute()

java - 如何从jar中添加和读取资源文件

java - 可执行jar并双击

git - 多人如何签署现有的 git 标签?

encryption - 从命令行使用 gpg 创建 pgp 文件

android - play protect 无法识别此应用的开发者

java - 定时器服务 : Bean does not have timers in EJB3. 1

java - 如何使用 Java 流比较多个嵌套对象中的值来删除重复项

java - Guava 服务在状态为 STARTING 时停止

Java - 找不到主类?