Re: Karaf + SOAP + JDK 21

2023-11-05 Thread Grzegorz Grzybek
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:

mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/2.9.0

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


Re: Karaf + SOAP + JDK 21

2023-11-05 Thread Grzegorz Grzybek
Hmm

I see KARAF_HOME/lib/endorsed/org.apache.karaf.specs.java.xml.ws-4.4.4.jar
library, but it contains only javax.xml.ws.spi package (and javax.xml.soap)

In my work I maintain custom Karaf distro (Fuse Karaf), which in addition
has this library: FUSE_HOME/lib/jdk9plus/jakarta.xml.ws-api-2.3.3.jar - and
this library (Maven Central:
https://repo1.maven.org/maven2/jakarta/xml/ws/jakarta.xml.ws-api/2.3.3/)
and THIS library contains javax.xml.ws.soap (and javax.xml.ws.handler.soap)
packages...

I think you should simply drop jakarta.xml.ws-api-2.3.3.jar

into KARAF_HOME/lib/jdk9plus

regards
Grzegorz Grzybek

pon., 6 lis 2023 o 07:44 Mark Derricutt  napisał(a):

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


Re: Karaf + SOAP + JDK 21

2023-11-05 Thread Steven Huypens
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  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.
>


Re: Karaf + SOAP + JDK 21

2023-11-05 Thread Mark Derricutt

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.


Re: Karaf + SOAP + JDK 21

2023-11-05 Thread Grzegorz Grzybek
Hello

But "smx3.system" bundle looks like something from you, not from Karaf...

regards
Grzegorz Grzybek

pon., 6 lis 2023 o 07:17 Mark Derricutt  napisał(a):

> Hi Jean-Baptiste,
>
> This is what I have in my feature file:
>
> mvn:org.apache.cxf.karaf/apache-cxf/3.5.5/xml/features
>
>  version="${project.version}"> version="3.5.5">cxf-core
>cxf-jaxws
>cxf-databinding-jaxb
> 
>
> This gives me the following outputL
>
> smx3  | org.osgi.framework.BundleException: Unable to resolve smx3.system
> [118](R 118.0):
>   missing requirement[smx3.system [118](R 118.0)] osgi.wiring.package;
> (&(osgi.wiring.package=smx3.mailproducts.api)(version>=21.1.0)(!(version>=22.0.0)))
> [caused by: Unable to resolve smx3.mailproducts [145](R 145.0):
>   missing requirement [smx3.mailproducts [145](R 145.0)]
>   osgi.wiring.package;
> (&(osgi.wiring.package=javax.xml.ws.soap)(version>=0.0.0))] Unresolved
> requirements: [[smx3.system [118](R 118.0)] osgi.wiring.package;
>
> (&(osgi.wiring.package=smx3.mailproducts.api)(version>=21.1.0)(!(version>=22.0.0)))]
>
> Interestingly, I was trying to figure out where I found the version from
> (I may have just been trying any modern version), but I note the
> /examples/pom.xml in the binary zip refers to a parent ../pom.xml which
> doesn't exist (it's there in the -src.zip tho, and at 3.5.5.
>
> Mark
>
>
> On 6/11/23 6:37 pm, Jean-Baptiste Onofré wrote:
> > Hi
> >
> > Which CXF version are you using ?
> > I guess it’s about CXF support.
> >
> > I will check on main.
> >
> > Regards
> > JB
> >
> > Le dim. 5 nov. 2023 à 20:31, Mark Derricutt  a écrit :
> >
> >> Anyone got Karaf 4.4.4 and SOAP working under JDk 21?
> >>
> >> I've been trying to update our project from Java 8, and just getting hit
> >> with the lack of javax.ws.* classes being a part of the JDK from 9
> onward.
> >>
> >> Even the stock Karaf SOAP example doesn't seem to work for me - I'm
> >> guessing I just need to add an extra dependency which provides those
> >> classes, but haven't been able to find a recommended/standard
> >> implementation to use...
> >>
> >> Any pointers?
> >>
> >>
> >>
> >>


Re: Karaf + SOAP + JDK 21

2023-11-05 Thread Mark Derricutt

Hi Jean-Baptiste,

This is what I have in my feature file:

mvn:org.apache.cxf.karaf/apache-cxf/3.5.5/xml/features 
version="${project.version}">cxf-core

  cxf-jaxws
  cxf-databinding-jaxb


This gives me the following outputL

smx3  | org.osgi.framework.BundleException: Unable to resolve smx3.system 
[118](R 118.0):
 missing requirement[smx3.system [118](R 118.0)] osgi.wiring.package; 
(&(osgi.wiring.package=smx3.mailproducts.api)(version>=21.1.0)(!(version>=22.0.0)))
[caused by: Unable to resolve smx3.mailproducts [145](R 145.0):
 missing requirement [smx3.mailproducts [145](R 145.0)]
 osgi.wiring.package; 
(&(osgi.wiring.package=javax.xml.ws.soap)(version>=0.0.0))] Unresolved 
requirements: [[smx3.system [118](R 118.0)] osgi.wiring.package;
(&(osgi.wiring.package=smx3.mailproducts.api)(version>=21.1.0)(!(version>=22.0.0)))]

Interestingly, I was trying to figure out where I found the version from 
(I may have just been trying any modern version), but I note the 
/examples/pom.xml in the binary zip refers to a parent ../pom.xml which 
doesn't exist (it's there in the -src.zip tho, and at 3.5.5.


Mark


On 6/11/23 6:37 pm, Jean-Baptiste Onofré wrote:

Hi

Which CXF version are you using ?
I guess it’s about CXF support.

I will check on main.

Regards
JB

Le dim. 5 nov. 2023 à 20:31, Mark Derricutt  a écrit :


Anyone got Karaf 4.4.4 and SOAP working under JDk 21?

I've been trying to update our project from Java 8, and just getting hit
with the lack of javax.ws.* classes being a part of the JDK from 9 onward.

Even the stock Karaf SOAP example doesn't seem to work for me - I'm
guessing I just need to add an extra dependency which provides those
classes, but haven't been able to find a recommended/standard
implementation to use...

Any pointers?





Re: Karaf + SOAP + JDK 21

2023-11-05 Thread Jean-Baptiste Onofré
Hi

Which CXF version are you using ?
I guess it’s about CXF support.

I will check on main.

Regards
JB

Le dim. 5 nov. 2023 à 20:31, Mark Derricutt  a écrit :

> Anyone got Karaf 4.4.4 and SOAP working under JDk 21?
>
> I've been trying to update our project from Java 8, and just getting hit
> with the lack of javax.ws.* classes being a part of the JDK from 9 onward.
>
> Even the stock Karaf SOAP example doesn't seem to work for me - I'm
> guessing I just need to add an extra dependency which provides those
> classes, but haven't been able to find a recommended/standard
> implementation to use...
>
> Any pointers?
>
>
>
>


Karaf + SOAP + JDK 21

2023-11-05 Thread Mark Derricutt

Anyone got Karaf 4.4.4 and SOAP working under JDk 21?

I've been trying to update our project from Java 8, and just getting hit 
with the lack of javax.ws.* classes being a part of the JDK from 9 onward.


Even the stock Karaf SOAP example doesn't seem to work for me - I'm 
guessing I just need to add an extra dependency which provides those 
classes, but haven't been able to find a recommended/standard 
implementation to use...


Any pointers?





Re: Releases preparation

2023-11-05 Thread Steinar Bang
> Jean-Baptiste Onofré :

> You might have seen I was pretty quiet recently. We have been hit by
> Ciaran storm. I don’t have electricity and Internet connection at
> home. As we have important damages on the house, we decided to rent a
> new house for a few days.

Wow! I've seen the news but not understood how had it was.

> I will be back online tonight and I will resume Karaf releases
> preparation tomorrow.

Don't worry about that. Take care of yourself first!



Re: Releases preparation

2023-11-05 Thread Serge Huber
Wow JB glad you're ok !

I for one fully understand that this work is not your priority and thanks
for sharing this update. Please take the time you need for what is truly
urgent :)

Cheers,
  Serge...

On Sun, Nov 5, 2023 at 7:35 AM Jean-Baptiste Onofré  wrote:

> Hi guys
>
> You might have seen I was pretty quiet recently. We have been hit by Ciaran
> storm. I don’t have electricity and Internet connection at home. As we have
> important damages on the house, we decided to rent a new house for a few
> days.
> I will be back online tonight and I will resume Karaf releases preparation
> tomorrow.
>
> Sorry for the delay.
>
> Regards
>


Releases preparation

2023-11-05 Thread Jean-Baptiste Onofré
Hi guys

You might have seen I was pretty quiet recently. We have been hit by Ciaran
storm. I don’t have electricity and Internet connection at home. As we have
important damages on the house, we decided to rent a new house for a few
days.
I will be back online tonight and I will resume Karaf releases preparation
tomorrow.

Sorry for the delay.

Regards