You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Chris Korinek <ch...@thekorineks.com> on 2016/07/15 17:43:55 UTC

TomEE 7.0.1 & CXF & xmlsec-1.5.8.jar

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.

Re: TomEE 7.0.1 & CXF & xmlsec-1.5.8.jar

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hello

created https://issues.apache.org/jira/browse/TOMEE-1869


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-07-15 19:43 GMT+02:00 Chris Korinek <ch...@thekorineks.com>:

> 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.
>