cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thierry Beucher (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FEDIZ-80) some default locale make Fediz tests failing
Date Mon, 10 Mar 2014 15:18:42 GMT
Thierry Beucher created FEDIZ-80:
------------------------------------

             Summary: 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
            Priority: Trivial


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)

Mime
View raw message