Hi Vamsi- 

Moving this convo to [email protected] <mailto:[email protected]> 
only..

Great, then the only change you need is to add the Import-Package for javax.jws 
to your bundle that uses it. For JWS, JAXB, those Java package namespaces used 
to come in “for free” from the bundle 0 (Java DK provided packages)), so with 
the changes to the JDK your applications now need to explicitly request 
javax.jws, and jaxb related packages. 

If you use more recent Maven Bundle Plugin, it is really good at calculating 
everything you need ‘for free’, so you might check that out. 

Thanks,
Matt

> On Dec 8, 2022, at 9:25 AM, Vamsikrishna Koka 
> <[email protected]> wrote:
> 
> Thank you so much Matt for looking into this.
> 
> Yes, I'm using Apache CXF.
> 
> "The CXF feature has xml-specs feature that it installs by default that 
> covers this for you."
> 
> The CXF feature has Xml-specs feature by default installation, when we expect 
> this.
> 
> From: Vamsikrishna Koka
> Sent: Wednesday, December 7, 2022 1:04 PM
> To: [email protected]; [email protected]; [email protected]
> Subject: Issue with KARAF 4.4.1 And OpenJDK 11 (JAX-WS)
> 
> Hi Team,
> 
> I have tried to migrating from KARAF 4.2.15 to KARAF 4.4.1 version along with 
> OpenJDK also. From OpenJDK 8 to OpenJDK 11 (JAX-WS).
> 
> In OpenJDK 11 removed support of JAX-WS, So I have added explicitly in pom 
> xml.  After adding I'm getting the above wiring issue. which is given below.
> 
> Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to 
> resolve adapter/51.0.0.SNAPSHOT: missing requirement 
> [adapter/51.0.0.SNAPSHOT] osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=javax.jws).
> 
> Please can anyone take look at once.
> 
> Thanks,
> Vamsi Krishna.
> 

Reply via email to