[jboss-jira] [JBoss JIRA] (WFLY-4317) JBoss Module does not add package "org.jcp.xml.dsig.internal" as system package

David Lloyd (JIRA) issues at jboss.org
Wed Feb 4 18:12:49 EST 2015


    [ https://issues.jboss.org/browse/WFLY-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037710#comment-13037710 ] 

David Lloyd commented on WFLY-4317:
-----------------------------------

Would it be possible to get a stack trace of the failure you were seeing?  That might help to figure out what is happening here.

> JBoss Module does not add package "org.jcp.xml.dsig.internal" as system package
> -------------------------------------------------------------------------------
>
>                 Key: WFLY-4317
>                 URL: https://issues.jboss.org/browse/WFLY-4317
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: Class Loading
>    Affects Versions: 8.2.0.Final
>            Reporter: xiaodong xie
>            Assignee: David Lloyd
>
> The package "org.jcp.xml.dsig.internal" was included in both JDK 7 and JDK 8, but it is not added as a system package in jboss-module. 
> So, if we do this: 
>         String providerName = System.getProperty("jsr105Provider", "org.jcp.xml.dsig.internal.dom.XMLDSigRI");
>         XMLSignatureFactory fac =
>             XMLSignatureFactory.getInstance("DOM", (Provider) Class.forName(providerName).newInstance());
> We cannot find this "org.jcp.xml.dsig.internal.dom.XMLDSigRI" at runtime. 
> The current workaround is to hack "standalone.conf" file, added "org.jcp.xml.dsig.internal" package after package "org.jboss.byteman".
> if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
>  JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,org.jcp.xml.dsig.internal"
> fi



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list