cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thierry Beucher (JIRA)" <>
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
             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 :
java.lang.ExceptionInInitializerError: null
	at java.util.ResourceBundle.throwMissingResourceException(
	at java.util.ResourceBundle.getBundleImpl(
	at java.util.ResourceBundle.getBundle(
	at org.apache.wss4j.common.crypto.WSProviderConfig$4.<init>(
	at org.apache.wss4j.common.crypto.WSProviderConfig.initializeResourceBundles(
	at org.apache.wss4j.common.crypto.WSProviderConfig.init(
	at org.apache.wss4j.common.crypto.CryptoFactory.<clinit>(
	at org.apache.cxf.fediz.core.config.FederationContext.getSigningKey(
	at org.apache.cxf.fediz.core.metadata.MetadataWriter.getMetaData(
	at org.apache.cxf.fediz.core.FederationProcessorImpl.getMetaData(
	at org.apache.cxf.fediz.core.FederationMetaDataTest.validateMetaDataNoAlias(
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\*
to *src/test/resources* or *src/main/resources* of each failing tested project of the Fediz

This message was sent by Atlassian JIRA

View raw message