[
https://issues.apache.org/jira/browse/CXF-8814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681644#comment-17681644
]
Andriy Redko commented on CXF-8814:
-----------------------------------
This is rather surprising, the workaround I could suggest right now is to
include missing bundles into deployment, the list below seems to be the
sufficient one:
{noformat}
javax.xml.soap:javax.xml.soap-api:1.4.0
javax.activation:javax.activation-api:1.2.0
com.sun.activation:jakarta.activation:1.2.2
javax.xml.bind:jaxb-api:2.3.1
jakarta.jws:jakarta.jws-api:1.1.1
org.apache.servicemix.bundles:org.apache.servicemix.bundles.wsdl4j:1.6.3_1
javax.annotation:javax.annotation-api:1.3.2
javax.xml.ws:jaxws-api:2.3.1 {noformat}
> Could not start bundle: file:custo/cxf-rt-bindings-soap-3.3.8.jar because of
> missing requirement javax.xml.soap
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CXF-8814
> URL: https://issues.apache.org/jira/browse/CXF-8814
> Project: CXF
> Issue Type: Bug
> Components: Integration
> Reporter: XIAOMING ZHAO
> Priority: Major
>
> Hello,
> We are upgrading cxf 3.2.13 to 3.3.8 or 3.3.11, we always got the following
> error in osgi felix.log, we didn't add a javax.xml.soap dependencies in
> gradle file, so it's from jdk.
> Would you please let me know how to resolve this error?
> {code:java}
> WARN - 2023-01-13 07:33:32,85 - FelixDispatchQueue - Could not start bundle:
> file:custo/cxf-rt-bindings-soap-3.3.8.jar
> org.osgi.framework.BundleException: Unable to resolve
> org.apache.cxf.cxf-rt-bindings-soap [88](R 88.0): missing requirement
> [org.apache.cxf.cxf-rt-bindings-soap [88](R 88.0)] osgi.wiring.package;
> (&(osgi.wiring.package=javax.xml.soap)(version>=1.3.0)(!(version>=2.0.0)))
> Unresolved requirements: [[org.apache.cxf.cxf-rt-bindings-soap [88](R 88.0)]
> osgi.wiring.package;
> (&(osgi.wiring.package=javax.xml.soap)(version>=1.3.0)(!(version>=2.0.0)))]
> at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006)
> at
> com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl$DeployedBundle.start(BundleInstallerImpl.java:935)
> at
> com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.startBundles(BundleInstallerImpl.java:624)
> at
> com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.finishInitialisation(BundleInstallerImpl.java:260)
> at
> com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.frameworkEvent(BundleInstallerImpl.java:244)
> at
> org.apache.felix.framework.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:881)
> at
> org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:830)
> at
> org.apache.felix.framework.EventDispatcher.run(EventDispatcher.java:1147)
> at
> org.apache.felix.framework.EventDispatcher.access$000(EventDispatcher.java:54)
> at
> org.apache.felix.framework.EventDispatcher$1.run(EventDispatcher.java:102)
> at java.lang.Thread.run(Thread.java:750)
> WARN - 2023-01-13 07:33:32,152 - FelixDispatchQueue - Could not start bundle:
> file:custo/cxf-rt-frontend-jaxws-3.3.8.jar
> org.osgi.framework.BundleException: Unable to resolve
> org.apache.cxf.cxf-rt-frontend-jaxws [102](R 102.0): missing requirement
> [org.apache.cxf.cxf-rt-frontend-jaxws [102](R 102.0)] osgi.wiring.package;
> (&(osgi.wiring.package=javax.xml.soap)(version>=1.3.0)(!(version>=2.0.0)))
> Unresolved requirements: [[org.apache.cxf.cxf-rt-frontend-jaxws [102](R
> 102.0)] osgi.wiring.package;
> (&(osgi.wiring.package=javax.xml.soap)(version>=1.3.0)(!(version>=2.0.0)))]
> at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006)
> at
> com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl$DeployedBundle.start(BundleInstallerImpl.java:935)
> at
> com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.startBundles(BundleInstallerImpl.java:624)
> at
> com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.finishInitialisation(BundleInstallerImpl.java:260)
> at
> com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.frameworkEvent(BundleInstallerImpl.java:244)
> at
> org.apache.felix.framework.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:881)
> at
> org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:830)
> at
> org.apache.felix.framework.EventDispatcher.run(EventDispatcher.java:1147)
> at
> org.apache.felix.framework.EventDispatcher.access$000(EventDispatcher.java:54)
> at
> org.apache.felix.framework.EventDispatcher$1.run(EventDispatcher.java:102)
> at java.lang.Thread.run(Thread.java:750){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)