Also mind that Karaf exports "javax.xml.ws.soap" system package in
etc/jre.properties, so adding a bundle which exports the same could be
confusing...

In the version of CXF I use, "cxf-specs" features has:

<bundle start-level="10"
dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/2.9.0</bundle>

which means this bundle WON'T be installed if the package is available in
different, already installed bundle. And etc/jre.properties says that
javax.xml.ws.soap package is exported by bundle 0. And it is only
declaratively, but the package is physically not available.

regards
Grzegorz Grzybek

pon., 6 lis 2023 o 08:42 Steven Huypens <steven.huyp...@gmail.com>
napisał(a):

> Hi Mark,
>
> It looks like my bundles import the package "javax.xml.ws.soap" from
>
> 'mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.3/2.3_2'
> which is in the feature "cxf-specs".
>
> Kind regards,
> Steven
>
> On Mon, Nov 6, 2023 at 7:44 AM Mark Derricutt <m...@talios.com> wrote:
>
> > On 6/11/23 7:21 pm, Grzegorz Grzybek wrote:
> > > But "smx3.system" bundle looks like something from you, not from
> Karaf...
> >
> > It is, but there's a wiring dependency on
> > osgi.wiring.package=javax.xml.ws.soap>=0.0.0 there, which is no longer
> > being satisfied.
> >
> > Note I've not currently moved out individual bundles to be built under
> > Java 21 or anything yet, as I'd rather get a distribution working first
> > (if possible).
> >
> > Also, when running a stock Karaf 4.4.4 with the soap sample project jars
> > copied into the ./deploy directory, I got the same issue running the
> > newer (non 8) JDKs.
> >
>

Reply via email to