[jboss-jira] [JBoss JIRA] (AS7-4248) AS7 7.1.1.Final: java.lang.ClassCastException: org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory cannot be cast to javax.xml.crypto.dsig.XMLSignatureFactory
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Tue Nov 12 17:25:06 EST 2013
[ https://issues.jboss.org/browse/AS7-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922975#comment-12922975 ]
RH Bugzilla Integration commented on AS7-4248:
----------------------------------------------
kconner at redhat.com made a comment on [bug 979334|https://bugzilla.redhat.com/show_bug.cgi?id=979334]
The workaround is to edit modules/system/layers/base/javax/api/main/module.xml and *comment out* the following lines
<!--
<path name="javax/xml/crypto"/>
<path name="javax/xml/crypto/dom"/>
<path name="javax/xml/crypto/dsig"/>
<path name="javax/xml/crypto/dsig/dom"/>
<path name="javax/xml/crypto/dsig/keyinfo"/>
<path name="javax/xml/crypto/dsig/spec"/>
-->
Once this is done there will be no attempt to load these packages from the JDK.
> AS7 7.1.1.Final: java.lang.ClassCastException: org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory cannot be cast to javax.xml.crypto.dsig.XMLSignatureFactory
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AS7-4248
> URL: https://issues.jboss.org/browse/AS7-4248
> Project: Application Server 7
> Issue Type: Bug
> Components: XML Frameworks
> Affects Versions: 7.1.1.Final
> Environment: jdk 1.6.0_31
> Reporter: Gianluca Mazzaferro
> Assignee: Alessio Soldano
> Priority: Minor
> Fix For: 7.1.2.Final (EAP)
>
>
> impossible to getInstance of a XMLSignatureFactory
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list