ivan-ra commented on issue #595:
URL: https://github.com/apache/camel-karaf/issues/595#issuecomment-2678751991
for me works this solution:
- exclude unused packages from camel-blueprint manifest ( com.sun.xml.* ,
org.jvnet.* )
- change both jaxb-runtime features like this
```
<feature name="jaxb-runtime" version="3.0.2">
<feature version="[3,4)">jakarta-xml-bind</feature>
<bundle
dependency="false">mvn:com.sun.xml.bind/jaxb-core/3.0.2</bundle>
<bundle
dependency="false">mvn:com.sun.xml.bind/jaxb-impl/3.0.2</bundle>
<bundle
dependency="false">mvn:com.sun.xml.bind/jaxb-osgi/3.0.2</bundle>
</feature>
<feature name="jaxb-runtime" version="4.0.5">
<feature version="[4,5)">jakarta-xml-bind</feature>
<bundle
dependency="true">mvn:com.sun.istack/istack-commons-runtime/4.1.2</bundle>
<bundle
dependency="false">mvn:org.glassfish.jaxb/jaxb-core/4.0.5</bundle>
<bundle
dependency="false">mvn:org.glassfish.jaxb/jaxb-runtime/4.0.5</bundle>
<bundle>mvn:org.glassfish.hk2/osgi-resource-locator/2.5.0-b42</bundle>
</feature>
```
after this route works well and camel-cxf starts too
```
karaf@root()> feature:list|grep jaxb-runtime
jaxb-runtime | 3.0.2 | |
Started | camel-4.8.2 |
jaxb-runtime | 4.0.5 | |
Started | camel-4.8.2 |
karaf@root()> list|grep JAXB
110 | Active | 50 | 4.8.2 | Apache Camel :: Karaf :: Core ::
XML JAXB
128 | Active | 80 | 3.0.2 | Old JAXB Core
129 | Active | 80 | 3.0.2 | Old JAXB Runtime
130 | Active | 80 | 3.0.2 | JAXB OSGI
308 | Active | 80 | 4.0.5 | JAXB Core
309 | Active | 80 | 4.0.5 | JAXB Runtime
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]