Hi,

did you check that you don't have dual bundle version ?

Can you check with package:exports the bundles providing javax.xml.soap
package ?

FYI, we are using Karaf 4.2.5 with CXF 3.3.2 without problem. Anyway,
let me test on the Karaf SOAP example.

Regards
JB

On 05/06/2019 11:47, lechlukasz wrote:
> Hello,
> 
> I'm getting LinkageError when processing SOAPFault:
> 
> java.lang.LinkageError: loader constraint violation: loader (instance of
> <bootloader>) previously initiated loading for a different type with name
> "javax/xml/soap/SOAPFault"
> 
> I've found out the very old issue about this:
> https://issues.apache.org/jira/browse/KARAF-1840
> 
> Is it possible that it came back? Or this is my configuration error?
> 
> I'm using karaf 4.2.4 with apache-cxf 3.3.1, on JDK8.
> I've configured everything with karaf 4.1.3 and definitely my code wasn't
> running without providing apache-cxf. After updating to 4.2.4 I've got only
> to upgrade cxf version.
> 
> I've got 'luck' with not getting SAOPFaults from remote server, at least
> nobody noticed that problem after upgrade...
> 
> Can it be some issue between karaf and cxf?
> 
> And general question: how to debug such issues in first line? The class is
> allegedly loaded twice, but which bundles have loaded it using which
> classloaders?
> 
> 
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to