[ 
https://issues.apache.org/jira/browse/CXF-8814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682343#comment-17682343
 ] 

XIAOMING ZHAO commented on CXF-8814:
------------------------------------

If I remove javax.xml.soap-api bundle, then I still got the original problem:

WARN - 2023-01-30 20:56:47,603 - FelixDispatchQueue - Could not start bundle: 
file:custo/cxf-rt-ws-security-3.3.11.jar
org.osgi.framework.BundleException: Unable to resolve 
org.apache.cxf.cxf-rt-ws-security [5](R 5.0): missing requirement 
[org.apache.cxf.cxf-rt-ws-security [5](R 5.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-ws-security [5](R 5.0)] 
osgi.wiring.package; 
(&(osgi.wiring.package=javax.xml.soap)(version>=1.3.0)(!(version>=2.0.0)))]

 

WARN - 2023-01-30 20:56:47,820 - FelixDispatchQueue - Could not start bundle: 
file:custo/cxf-bundle-compatible-3.3.11.jar
org.osgi.framework.BundleException: Unable to resolve org.apache.cxf.bundle 
[25](R 25.0): missing requirement [org.apache.cxf.bundle [25](R 25.0)] 
osgi.wiring.bundle; (osgi.wiring.bundle=org.apache.cxf.cxf-rt-bindings-soap) 
[caused by: Unable to resolve org.apache.cxf.cxf-rt-bindings-soap [117](R 
117.0): missing requirement [org.apache.cxf.cxf-rt-bindings-soap [117](R 
117.0)] osgi.wiring.package; 
(&(osgi.wiring.package=javax.xml.soap)(version>=1.3.0)(!(version>=2.0.0)))] 
Unresolved requirements: [[org.apache.cxf.bundle [25](R 25.0)] 
osgi.wiring.bundle; (osgi.wiring.bundle=org.apache.cxf.cxf-rt-bindings-soap)]

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

Reply via email to