Hola, os cuento el problema que nos ha surgido:
Después de realizar el desarrollo para firmar pdf´s, hemos detectado que
tenemos un error, ya que en el navegador iexplorer no funciona. El error es el
siguiente:
java.lang.UnsatisfiedLinkError: Native Library C:\Documents and
Settings\epardo\Configuración local\Temp\MicrosoftCryptoApi_0_3.dll already
loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at es.uji.dsign.applet2.AppHandler.install(AppHandler.java:547)
at es.uji.dsign.applet2.AppHandler.<init>(AppHandler.java:162)
at es.uji.dsign.applet2.AppHandler.getInstance(AppHandler.java:180)
at es.uji.dsign.applet2.SignatureApplet.init(SignatureApplet.java:54)
at
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
navigator: IEXPLORER
El mismo error ocurre cuando intentamos ejecutar vuestro ejemplo de firma pdf.
De todos modos, el código donde descargamos el applet es:
function firmar(){
CryptoApplet= document.getElementById('CryptoApplet');
CryptoApplet.setLanguage("ES_es");
CryptoApplet.setInputDataEncoding("PLAIN");
CryptoApplet.setSignatureOutputFormat("PDF");
var urlIn = url_static + "/ResolucionPdf.jsp";
var urlOut = url_static + "/FirmarResolucionPdf.jsp";
CryptoApplet.signDataUrlToUrl(urlIn, urlOut);
}
<applet id="CryptoApplet" name="CryptoApplet"
code="es.uji.dsign.applet2.SignatureApplet" width="0"
height="0"
codebase="firma"
archive="ujiApplet-2.0.5.jar, ujiConfig-2.0.5.jar,
ujiCrypto-2.0.5.jar, ujiUtils-2.0.5.jar,
jakarta-log4j-1.2.6.jar,itext-1.4.8.jar, bctsp-jdk15-138.jar,
bcmail-jdk15-138.jar, bcprov-jdk15-138.jar"
mayscript>
</applet>
¿Nos podéis ayudar?.
Muchas gracias. Saludos.
Eduardo Pardo Guillén
Responsable Técnico de Producto
email: [email protected]
Teléfono: 963939916
TISSAT S.A.
Av. Leonardo da Vinci 5
46980 Paterna
------------------------------------------------------------------------------------------------------------------------------------
Nota Legal: Este correo electrónico puede contener información estrictamente
confidencial y es de uso exclusivo del destinatario, quedando prohibida a
cualquier otra persona su revelación, copia, distribución, o el ejercicio de
cualquier acción relativa a su contenido. Si ha recibido este correo
electrónico por error, por favor, conteste al remitente, y posteriormente
proceda a borrarlo de su sistema. Gracias por su colaboración.
Confidentiality notice: This e-mail message may contain confidential and/or
legally privileged information and is solely for the attention and use of the
intended recipient. Any disclosure, copying, distribution or the taking of any
action with relation to the contents of this e-mail by any other person is
strictly prohibited. If you believe that this e-mail has been mistakenly sent
to you, please reply to the sender from whom you received the message in error
and then delete the original e-mail from your system. Thank you for your
co-operation.
------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
CryptoApplet mailing list
[email protected]
http://llistes.uji.es/mailman/listinfo/cryptoapplet