Gianluca Mazzaferro [
https://community.jboss.org/people/giama] created the discussion
"Re: AS7 7.1.1.Final: java.lang.ClassCastException:
org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory cannot be cast to
javax.xml.crypto.dsig.XMLSignatureFactory"
To view the discussion, visit:
https://community.jboss.org/message/725321#725321
--------------------------------------------------------------
What application details do you need Stuart?
This is the stack trace
13:30:24,333 ERROR [stderr] (DefaultQuartzScheduler_Worker-6)
java.lang.ClassCastException: org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory cannot
be cast to javax.xml.crypto.dsig.XMLSignatureFactory
13:30:24,349 ERROR [stderr] (DefaultQuartzScheduler_Worker-6) at
javax.xml.crypto.dsig.XMLSignatureFactory.findInstance(XMLSignatureFactory.java:202)
13:30:24,349 ERROR [stderr] (DefaultQuartzScheduler_Worker-6) at
javax.xml.crypto.dsig.XMLSignatureFactory.getInstance(XMLSignatureFactory.java:186)
13:30:24,349 ERROR [stderr] (DefaultQuartzScheduler_Worker-6) at
com.gpi.hbook.util.DetachedDigitalSignature.validate(DetachedDigitalSignature.java:326)
I saw that XMLSignatureFactory.java:202 doesn't correspond to correct line to
XMLSignatureFactory contained into running JVM rt.jar. Seems to me that jboss runtime use
the one contained into module org\apache\santuario\xmlsec. This module contains
xmlsec-1.5.1.jar: is this outofdate or newer version?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/725321#725321]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]