Replies: 4 comments
-
The reason is xmlsec, I have created a PR recently, but I was asked to split it to parts (it is a bigger step for next major version). I will get to that this week -> result will be removal of the whole dependency, so you can use any logging framework you want. |
Beta Was this translation helpful? Give feedback.
-
the are more reasons but it is true that xmlsec is the main one. Possible workaround depends on the exact use-case. If no advanced features are used/required, consider using jax-ws ri directly ( |
Beta Was this translation helpful? Give feedback.
-
Thanks for prompt response. Looks like that using the wsit-impl alone (with its numerous transitive dependencies) works for us ans solves the problem. Our app both consumes and exposes web services, but I don't think we use anything advanced. I checked that at least consuming web services works fine with this setup. |
Beta Was this translation helpful? Give feedback.
-
We are still struggling with the slf4j-api included in webservices-extra-xmlsec. As of today, is it still necessary for xmlsec to use the dependencies bundled in webservices-extra-xmlsec? We also tried to swap webservices-rt:4.0.1by org.glassfish.metro:webservices-osgi resp. org.glassfish.metro:wsit-impl. But as expected just this didn't solve the problem. How exactly could we avoid the slf4j-api conflict by using these other dependencies? Thank you for helping us. |
Beta Was this translation helpful? Give feedback.
-
The webservices-rt.jar bundle contains a copy of slf4j api jar, or more precisely some version of that api.
May I ask, what is the point of such bundling, instead of declaring it as a depednecy?
The unfortunate consequences of having a copy of the jar, include:
Is there any workaround to this problem? Or is there an unbundled version of webservices-rt, not having slf4j included?
Beta Was this translation helpful? Give feedback.
All reactions