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

Francesco Chicchiriccò commented on SYNCOPE-251:
------------------------------------------------

Agree with Christian.

Jan, the maven dependency plugin does not cause any trouble: consider that 
neither in the 1_0_X branch nor in the trunk, no CXF dependencies are present 
in the final core WAR file.
The CXF libraries are embedded in the connector bundle JAR file but not present 
anywhere else.

Please take a look to [1] for more information about how the ClassLoader works 
in connector bundles.
My guess is that there could be some issue in the way how Syncope is managing 
the ConnectorFacade via the ConnectorFacadeProxy (in ConnInstanceLoader / 
ConnBundleManager).

Moreover, even though I am not a CXF expert at all, I think that making Syncope 
not using the default bus (as indicated in the mail thread linked to this issue 
[2]) seems a viable option.

[1] https://code.google.com/p/connid/wiki/ConnectorBundles#Class_Loading
[2] 
http://syncope-dev.1063484.n5.nabble.com/Status-CXF-libraries-in-Syncope-tp5711368p5711407.html
                
> Fix Dependency issues with ConnID Bundle deployment 
> ----------------------------------------------------
>
>                 Key: SYNCOPE-251
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-251
>             Project: Syncope
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Jan Bernhardt
>            Assignee: Jan Bernhardt
>             Fix For: 1.2.0
>
>
> SOAP ConnID Bundle contains CXF dependencies, which cause Classloading issues 
> when migrating Syncope to CXF,
> Currently maven-dependency-plugin:copy is used to generate bundle jars, but 
> this plugin does not support to exclude transitive dependencies. Maybe 
> another maven plugin (maven-assembly-plugin ?) can be used to exclude CXF 
> dependencies from SOAP ConnID Bundle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to