tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Gallimore <jonathan.gallim...@gmail.com>
Subject Re: Tomee 8 incompatibility
Date Thu, 13 Sep 2018 16:16:01 GMT
Thanks for the note. I'll look out for the PR and get that merged for you.

Cheers

Jon

On Thu, Sep 13, 2018 at 3:59 PM cocorossello <cocorossello@gmail.com> wrote:

> Hi,
>
> I noticed in latest tomee 8 an incompatibility between versions used in
> wss4j and xmlsec (2.0.6)
>
> The stacktrace is:
> java.lang.NoSuchMethodError:
> org.apache.xml.security.utils.XMLUtils.encodeToString([B)Ljava/lang/String;
>        at
>
> org.apache.wss4j.dom.message.token.UsernameToken.addNonce(UsernameToken.java:303)
>        at
>
> org.apache.wss4j.dom.message.token.UsernameToken.<init>(UsernameToken.java:264)
>        at
>
> org.apache.wss4j.dom.message.WSSecUsernameToken.prepare(WSSecUsernameToken.java:168)
>        at
>
> org.apache.wss4j.dom.message.WSSecUsernameToken.build(WSSecUsernameToken.java:225)
>        at
>
> org.apache.wss4j.dom.action.UsernameTokenAction.execute(UsernameTokenAction.java:69)
>        at
> org.apache.wss4j.dom.handler.WSHandler.doSenderAction(WSHandler.java:238)
>        at
>
> org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.access$100(WSS4JOutInterceptor.java:57)
>        at
>
> org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor$WSS4JOutInterceptorInternal.handleMessageInternal(WSS4JOutInterceptor.java:275)
>        at
>
> org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor$WSS4JOutInterceptorInternal.handleMessage(WSS4JOutInterceptor.java:147)
>        at
>
> org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor$WSS4JOutInterceptorInternal.handleMessage(WSS4JOutInterceptor.java:132)
>        at
>
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
>        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:537)
>        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:446)
>        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:361)
>        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
>        at
> org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
>        at
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
>
> The problem is solved upgrading xmlsec to 2.1.2. I will try to open a PR
> with this fix
>
>
>
> --
> Sent from:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message