[jira] [Commented] (SYNCOPE-251) Fix Dependency issues with ConnID Bundle deployment
[ https://issues.apache.org/jira/browse/SYNCOPE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13539565#comment-13539565 ] Francesco Chicchiriccò commented on SYNCOPE-251: I had to backtrack a bit since my last comment. The good news is that now the build runs smoothly even with the patch provided by Andrei; details about what I have changed [1]. At the end, the core problem was generated by Spring on the ConnId SOAP connector; I've just released a new version of it (1.2.4). [1] http://svn.apache.org/viewvc?rev=1425956view=rev 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 Environment: Linked issue on ConnId: http://code.google.com/p/connid/issues/detail?id=55 Reporter: Jan Bernhardt Assignee: Jan Bernhardt Fix For: 1.2.0 Attachments: cxf-deps.patch 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
[jira] [Commented] (SYNCOPE-251) Fix Dependency issues with ConnID Bundle deployment
[ https://issues.apache.org/jira/browse/SYNCOPE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13539598#comment-13539598 ] Hudson commented on SYNCOPE-251: Integrated in Syncope-trunk #394 (See [https://builds.apache.org/job/Syncope-trunk/394/]) [SYNCOPE-251] Various fixes and improvements: now adding CXF deps doesn't generate test failures (Revision 1425956) Result = SUCCESS ilgrosso : Files : * /syncope/trunk/client/pom.xml * /syncope/trunk/client/src/main/java/org/apache/syncope/client/util/XMLSerializer.java * /syncope/trunk/client/src/main/java/org/apache/syncope/client/validation/SyncopeClientErrorHandler.java * /syncope/trunk/client/src/main/java/org/apache/syncope/types/AuditLoggerName.java * /syncope/trunk/console/src/test/java/org/apache/syncope/console/ConnInstanceTestITCase.java * /syncope/trunk/core/pom.xml * /syncope/trunk/core/src/main/java/org/apache/syncope/core/init/SpringContextInitializer.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/ConnInstance.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/ExternalResource.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/Notification.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/Policy.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/PropagationTask.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/ReportletConfInstance.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/SyncTask.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/UserRequest.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/propagation/ConnectorFacadeProxy.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/util/ConnBundleManager.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/util/GuardedStringConverter.java * /syncope/trunk/core/src/main/java/org/apache/syncope/core/util/XMLSerializer.java * /syncope/trunk/core/src/test/java/org/apache/syncope/core/AbstractTest.java * /syncope/trunk/core/src/test/java/org/apache/syncope/core/persistence/dao/ConnInstanceTest.java * /syncope/trunk/core/src/test/java/org/apache/syncope/core/persistence/dao/ResourceTest.java * /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/ConnInstanceTestITCase.java * /syncope/trunk/core/src/test/resources/content.xml * /syncope/trunk/pom.xml 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 Environment: Linked issue on ConnId: http://code.google.com/p/connid/issues/detail?id=55 Reporter: Jan Bernhardt Assignee: Jan Bernhardt Fix For: 1.2.0 Attachments: cxf-deps.patch 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
[jira] [Commented] (SYNCOPE-251) Fix Dependency issues with ConnID Bundle deployment
[ https://issues.apache.org/jira/browse/SYNCOPE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13539299#comment-13539299 ] Francesco Chicchiriccò commented on SYNCOPE-251: FYI, I reproduced the problems with IT into the trunk by applying the patch provided by Andrei. After playing for a while with classloading on Syncope side, I was finally able to find an acceptable solution by empowering a connector server [1], instead of letting Syncope manage directly the bundles directory. With this configuration, I am able to successfully run the whole test suite. Unfortunately, I am not yet able to commit this fix because: 1. I need to find a manageable way to start / stop the connector server alongside with the Syncope core webapp but *without* messing with Syncope core class loading 2. I have some minor issues with GuardedString serialized instances (used in test content.xml) I'll continue on this on a couple of days. [1] https://code.google.com/p/connid/wiki/ConnectorServers#Running_your_Java_connector_server 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 Environment: Linked issue on ConnId: http://code.google.com/p/connid/issues/detail?id=55 Reporter: Jan Bernhardt Assignee: Jan Bernhardt Fix For: 1.2.0 Attachments: cxf-deps.patch 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
[jira] [Commented] (SYNCOPE-251) Fix Dependency issues with ConnID Bundle deployment
[ https://issues.apache.org/jira/browse/SYNCOPE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13535808#comment-13535808 ] Andrei Shakirin commented on SYNCOPE-251: - Hi Francesco, Jan is in vacation until new year, I try the answer your question. The easiest way to reproduce the issue is just to add cxf dependencies in pom file (I attach patch for the trunk with cxf deps). You will see that some tests (depending on soap connector) will be failed. If you manually remove cxf jars from ConnId soap bundle in local maven repository and run tests again - they will be green. CXF branch still has some failures in integration tests, we are working on it (basically we successfully migrated UserController and RoleController, but as far as other tests still using old rest interface to access Users and Roles, there are some failures). Regarding the ConnId problem, I see 3 alternatives: 1) Produce two versions of ConnId bundles: with and without dependencies 2) Make classloading in ConnId configurable: provide a possibility to switch off lib/ jars from class loader 3) Experiment with non-default CXF bus (although Dan Kulp expects problem with this approach) Andrei. 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 Environment: Linked issue on ConnId: http://code.google.com/p/connid/issues/detail?id=55 Reporter: Jan Bernhardt Assignee: Jan Bernhardt Fix For: 1.2.0 Attachments: cxf-deps.patch 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
[jira] [Commented] (SYNCOPE-251) Fix Dependency issues with ConnID Bundle deployment
[ https://issues.apache.org/jira/browse/SYNCOPE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13535827#comment-13535827 ] Christian Schneider commented on SYNCOPE-251: - I also thought about switching off the special classloading. This may be the simplest solution. Should I provide a patch for ConnId with this? 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 Environment: Linked issue on ConnId: http://code.google.com/p/connid/issues/detail?id=55 Reporter: Jan Bernhardt Assignee: Jan Bernhardt Fix For: 1.2.0 Attachments: cxf-deps.patch 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
[jira] [Commented] (SYNCOPE-251) Fix Dependency issues with ConnID Bundle deployment
[ https://issues.apache.org/jira/browse/SYNCOPE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13535841#comment-13535841 ] Francesco Chicchiriccò commented on SYNCOPE-251: Andrei, thanks for your suggestion: I will make some tests as per your suggestion and let you know. 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 Environment: Linked issue on ConnId: http://code.google.com/p/connid/issues/detail?id=55 Reporter: Jan Bernhardt Assignee: Jan Bernhardt Fix For: 1.2.0 Attachments: cxf-deps.patch 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
[jira] [Commented] (SYNCOPE-251) Fix Dependency issues with ConnID Bundle deployment
[ https://issues.apache.org/jira/browse/SYNCOPE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13535051#comment-13535051 ] Francesco Chicchiriccò commented on SYNCOPE-251: Could you please provide a simple way to reproduce this issue? What if I just build the CXF branch from scratch, cd into the console dir, launch 'mvn -Pdev' and try to create an user via the admin console (assigning ws-target-resource-2)? 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 Environment: Linked issue on ConnId: http://code.google.com/p/connid/issues/detail?id=55 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