You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2014/03/10 17:06:44 UTC

[jira] [Assigned] (FEDIZ-80) some default locale make Fediz tests failing

     [ https://issues.apache.org/jira/browse/FEDIZ-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh reassigned FEDIZ-80:
----------------------------------------

    Assignee: Colm O hEigeartaigh

> some default locale make Fediz tests failing
> --------------------------------------------
>
>                 Key: FEDIZ-80
>                 URL: https://issues.apache.org/jira/browse/FEDIZ-80
>             Project: CXF-Fediz
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>         Environment: locale=fr
>            Reporter: Thierry Beucher
>            Assignee: Colm O hEigeartaigh
>            Priority: Trivial
>              Labels: crypto, wss4j, xmlsec
>
> With locale != "en" CXF-Fediz tests fails with :
> {code}
> java.lang.ExceptionInInitializerError: null
> 	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
> 	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
> 	at java.util.ResourceBundle.getBundle(ResourceBundle.java:721)
> 	at org.apache.wss4j.common.crypto.WSProviderConfig$4.<init>(WSProviderConfig.java:140)
> 	at org.apache.wss4j.common.crypto.WSProviderConfig.initializeResourceBundles(WSProviderConfig.java:137)
> 	at org.apache.wss4j.common.crypto.WSProviderConfig.init(WSProviderConfig.java:69)
> 	at org.apache.wss4j.common.crypto.CryptoFactory.<clinit>(CryptoFactory.java:39)
> 	at org.apache.cxf.fediz.core.config.FederationContext.getSigningKey(FederationContext.java:176)
> 	at org.apache.cxf.fediz.core.metadata.MetadataWriter.getMetaData(MetadataWriter.java:200)
> 	at org.apache.cxf.fediz.core.FederationProcessorImpl.getMetaData(FederationProcessorImpl.java:105)
> 	at org.apache.cxf.fediz.core.FederationMetaDataTest.validateMetaDataNoAlias(FederationMetaDataTest.java:90)
> {code}
> This is not a CXF-Fediz direct issue.
> This appears as a consequence of upgrade of *wss4j* from *1.6.12* (in CXF-Fediz 1.1.0) to *2.0.0-SNAPSHOT* (in CXF-Fediz 1.2.0-SNAPSHOT)
> With *2.0.0-SNAPSHOT* the resource bundle org\apache\xml\security\resource\xmlsecurity_*xx*.properties is missing. ("xx" standing for locale)
> (I not investigated why CXF-Fediz 1.1.0 runs with wss4J 1.6.12 without this resource bundle ? ...)
> A workaround (probably not the best) may be to add file *\org\apache\xml\security\resource\xmlsecurity_xx.properties* to *src/test/resources* or *src/main/resources* of each failing tested project of the Fediz suite.



--
This message was sent by Atlassian JIRA
(v6.2#6252)