tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Korinek <ch...@thekorineks.com>
Subject TomEE 7.0.1 & CXF & xmlsec-1.5.8.jar
Date Fri, 15 Jul 2016 17:43:55 GMT
Hello!

We recently upgraded from TomEE 1.7.4 to TomEE 7.0.1 and from CXF 2.6.16 to
CXF 3.1.6.

After the upgrade I started receiving the following exception upon failed
web service calls:

NoSuchMethodError :
org.apache.xml.security.utils.I18n.init(Ljava/util/ResourceBundle;)V
        at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:420)
        at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:351)

The org.apache.xml.security.utils.I18n.init class is in xmlsec-1.5.8.jar,
but 1.5.8 does not have an init( ) overload that takes a ResourceBundle.

I noticed that CXF 3.1.6 ships with xmlsec-2.0.6.jar, which does have an
init( ResourceBundle ) method, and if I put 2.0.6 in the front of the
CLASSPATH I do not get the exception.

Since TomEE 7.0.1 includes CXF 3.1.6, and CXF 3.1.6 ships with
xmlsec-2.0.6.jar, could the TomEE dependency be updated to match?

Thank you,

chris




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/TomEE-7-0-1-CXF-xmlsec-1-5-8-jar-tp4679332.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message