Hi Jan,

> > Another possibility would be to remove the libs from the connector and
> > rely on people adding the libs in another way.
> This seems to me like the best way to go. I'm not sure but maybe an
> "|<exclusions>" tag inside the maven pom file could help?

I don't think that maven exclusion is significant in this case, because cxf 
libs are packed inside connector jar and aren't under maven control.
Potentially the same problem can occur with the other connectors: csvdir, 
db.table and ldap.
>From my perspective the best solution is fix the connectors google projects. 
>As quick and dirty solution we can remove jars from connector lib folder.
Alternative classloading mechanism will very probably cause problems in OSGi 
environment, therefore I see redesign of connectors not avoidable in the future.

Cheers,
Andrei.

> -----Original Message-----
> From: Jan Bernhardt [mailto:[email protected]]
> Sent: Dienstag, 11. Dezember 2012 09:09
> To: [email protected]
> Subject: Re: Status CXF libraries in Syncope
> 
> Hallo Christian,
> 
> Am 10.12.2012 19:05, schrieb Christian Schneider:
> > So assumed I get this last test working the problem with the soap
> > connector still remains. The way I simply removed the libs is of
> > course just a test to see if it works. We still have to find a proper
> > solution for this.
> > One possibility is to update the soap connector to the current cxf
> > version. This will probably work until we upgrade the cxf version again.
> I don't expect this to work any better, the issue here is not just different
> versions of the same class but also different classloaders. So even if you use
> the same version you still could not cast one object to the other since
> different classloaders are involved.
> > Another possibility would be to remove the libs from the connector and
> > rely on people adding the libs in another way.
> This seems to me like the best way to go. I'm not sure but maybe an
> "|<exclusions>" tag inside the maven pom file could help?
> |
> > As far as I understood
> > the idea of the connectors is that they simply work without additional
> > libs so I am not sure if this is an option. I also do not yet
> > understand how the classloading in the connectors works. Can someone
> explain this?
> No sorry, I don't understand this part yet. Anyone else?
> 
> Best regards.
> Jan

Reply via email to